Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CreateLab authored Oct 27, 2023
1 parent 118f85c commit 6de318a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ Little control for big links
For using

Add control in View
Now hyperlink works as a button and you may set any option for it command.
If you need to continue open url in browser -> check the example MainViewModel in src.


```xml
<controls:Hyperlink Alias="{Binding Alias}" Url="{Binding Url}" />
<controls:Hyperlink Alias="{Binding Alias}" Url="{Binding Url}" Command="{Binding $parent[Window].DataContext.OpenUrl}" />
```

Add style in App.xaml
Expand Down

0 comments on commit 6de318a

Please sign in to comment.