Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 712 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 712 Bytes

HyperText.Avalonia

Little control for big links

dotnet add package HyperText.Avalonia

nuget or download this repo.

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.

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

Add style in App.xaml

   <avalonia:HyperLinkStyle/>

Special thanks for Tako