mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-26 03:07:54 +08:00
@@ -14,6 +14,7 @@
|
|||||||
<Style Selector="TextBlock">
|
<Style Selector="TextBlock">
|
||||||
<Setter Property="HorizontalAlignment" Value="Center" />
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||||
<Setter Property="VerticalAlignment" Value="Center" />
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="Foreground" Value="#1C1F23" />
|
||||||
</Style>
|
</Style>
|
||||||
</UserControl.Styles>
|
</UserControl.Styles>
|
||||||
<StackPanel Spacing="20">
|
<StackPanel Spacing="20">
|
||||||
|
|||||||
@@ -11,7 +11,8 @@
|
|||||||
<Border
|
<Border
|
||||||
Margin="5"
|
Margin="5"
|
||||||
Padding="50,10"
|
Padding="50,10"
|
||||||
Background="Yellow"
|
Classes="Hover"
|
||||||
|
Theme="{StaticResource CardBorder}"
|
||||||
ToolTip.Tip="This is a ToolTip">
|
ToolTip.Tip="This is a ToolTip">
|
||||||
<TextBlock>Hover Here</TextBlock>
|
<TextBlock>Hover Here</TextBlock>
|
||||||
</Border>
|
</Border>
|
||||||
@@ -23,7 +24,8 @@
|
|||||||
Name="Border"
|
Name="Border"
|
||||||
Margin="5"
|
Margin="5"
|
||||||
Padding="50,10"
|
Padding="50,10"
|
||||||
Background="Yellow"
|
Classes="Hover"
|
||||||
|
Theme="{StaticResource CardBorder}"
|
||||||
ToolTip.Placement="Bottom">
|
ToolTip.Placement="Bottom">
|
||||||
<ToolTip.Tip>
|
<ToolTip.Tip>
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
@@ -36,7 +38,8 @@
|
|||||||
<Border
|
<Border
|
||||||
Margin="5"
|
Margin="5"
|
||||||
Padding="50,10"
|
Padding="50,10"
|
||||||
Background="Yellow"
|
Classes="Hover"
|
||||||
|
Theme="{StaticResource CardBorder}"
|
||||||
ToolTip.Placement="Top"
|
ToolTip.Placement="Top"
|
||||||
ToolTip.Tip="Hello">
|
ToolTip.Tip="Hello">
|
||||||
<Border.Styles>
|
<Border.Styles>
|
||||||
@@ -60,7 +63,8 @@
|
|||||||
<Border
|
<Border
|
||||||
Margin="5"
|
Margin="5"
|
||||||
Padding="50,10"
|
Padding="50,10"
|
||||||
Background="Yellow"
|
Classes="Hover"
|
||||||
|
Theme="{StaticResource CardBorder}"
|
||||||
ToolTip.Placement="Top"
|
ToolTip.Placement="Top"
|
||||||
ToolTip.Tip="Hello">
|
ToolTip.Tip="Hello">
|
||||||
<TextBlock>Top</TextBlock>
|
<TextBlock>Top</TextBlock>
|
||||||
@@ -68,7 +72,8 @@
|
|||||||
<Border
|
<Border
|
||||||
Margin="5"
|
Margin="5"
|
||||||
Padding="50,10"
|
Padding="50,10"
|
||||||
Background="Yellow"
|
Classes="Hover"
|
||||||
|
Theme="{StaticResource CardBorder}"
|
||||||
ToolTip.Placement="Left"
|
ToolTip.Placement="Left"
|
||||||
ToolTip.Tip="Hello">
|
ToolTip.Tip="Hello">
|
||||||
<TextBlock>Left</TextBlock>
|
<TextBlock>Left</TextBlock>
|
||||||
@@ -76,7 +81,8 @@
|
|||||||
<Border
|
<Border
|
||||||
Margin="5"
|
Margin="5"
|
||||||
Padding="50,10"
|
Padding="50,10"
|
||||||
Background="Yellow"
|
Classes="Hover"
|
||||||
|
Theme="{StaticResource CardBorder}"
|
||||||
ToolTip.Placement="Right"
|
ToolTip.Placement="Right"
|
||||||
ToolTip.Tip="Hello">
|
ToolTip.Tip="Hello">
|
||||||
<TextBlock>Right</TextBlock>
|
<TextBlock>Right</TextBlock>
|
||||||
@@ -84,7 +90,8 @@
|
|||||||
<Border
|
<Border
|
||||||
Margin="5"
|
Margin="5"
|
||||||
Padding="50,10"
|
Padding="50,10"
|
||||||
Background="Yellow"
|
Classes="Hover"
|
||||||
|
Theme="{StaticResource CardBorder}"
|
||||||
ToolTip.Placement="Bottom"
|
ToolTip.Placement="Bottom"
|
||||||
ToolTip.Tip="Hello">
|
ToolTip.Tip="Hello">
|
||||||
<TextBlock>Bottom</TextBlock>
|
<TextBlock>Bottom</TextBlock>
|
||||||
|
|||||||
Reference in New Issue
Block a user