File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed
Material.Avalonia.Demo/Pages
Material.Styles/Resources/Themes Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change 193193 </StackPanel >
194194
195195 <TextBlock Classes =" Headline6 Subheadline2" Text =" Hyperlink buttons" />
196- <StackPanel Orientation =" Horizontal" >
197- <StackPanel .Styles>
198- <Style Selector =" showMeTheXaml|XamlDisplay" >
199- <Setter Property =" Margin" Value =" 8" />
200- </Style >
201- </StackPanel .Styles>
196+ <StackPanel Orientation =" Horizontal" Spacing =" 8" >
197+ <!-- TODO: Emit notifications or something like that -->
198+ <!-- Probably add one with link to docs? -->
202199 <showMeTheXaml : XamlDisplay UniqueId =" HyperlinkButtons0" >
203200 <HyperlinkButton Theme =" {StaticResource MaterialHyperlinkButton}"
204201 Content =" A hyperlink!"
214211 Command =" {Binding #ButtonsDemoPageControl.OnHyperlink2Clicked}" />
215212 </showMeTheXaml : XamlDisplay >
216213
217- <!-- add assists:ButtonAssist.IsClicked="{x:Null}" to ignore memorise visited feature -->
218214 <showMeTheXaml : XamlDisplay UniqueId =" HyperlinkButtons2" >
219- <HyperlinkButton assists:ButtonAssist.IsClicked=" {x:Null}"
220- Theme =" {StaticResource MaterialHyperlinkButton}"
221- Content =" Another hyperlink, but not to memorise visited!"
222- ToolTip.Tip=' I dont remember visited or not lol'
223- Command =" {Binding #ButtonsDemoPageControl.OnHyperlink2Clicked}" />
224- </showMeTheXaml : XamlDisplay >
225-
226- <showMeTheXaml : XamlDisplay UniqueId =" HyperlinkButtons3" >
227215 <HyperlinkButton IsVisited =" False"
228216 IsEnabled =" False"
229217 Theme =" {StaticResource MaterialHyperlinkButton}"
Original file line number Diff line number Diff line change 1414 <ControlTheme x : Key =" MaterialHyperlinkButton" TargetType =" HyperlinkButton" >
1515 <Setter Property =" Cursor" Value =" Hand" />
1616 <Setter Property =" TextBlock.TextDecorations" Value =" Underline" />
17- <Setter Property =" assists:ButtonAssist.IsClicked" Value =" False" />
1817 <Setter Property =" Template" >
1918 <ControlTemplate >
2019 <ContentPresenter x : Name =" PART_ContentPresenter"
You can’t perform that action at this time.
0 commit comments