feat: add option to make it selectable.

This commit is contained in:
rabbitism
2024-02-18 18:21:49 +08:00
parent a4c214cfc2
commit 728185bdf7
3 changed files with 33 additions and 2 deletions

View File

@@ -19,5 +19,13 @@
FontSize="30"
StringFormat="yyyy-MM-dd"
Value="{Binding DateValue}" />
<TextBlock Text="Selectable: "></TextBlock>
<u:Int32Displayer Value="{Binding Value}" IsSelectable="True" />
<u:DoubleDisplayer StringFormat="N2" Value="{Binding DoubleValue}" IsSelectable="True" />
<u:DateDisplay
FontSize="30"
StringFormat="yyyy-MM-dd"
IsSelectable="True"
Value="{Binding DateValue}" />
</StackPanel>
</UserControl>