Skip to content

Commit

Permalink
Remove duplicated border of CodeExample
Browse files Browse the repository at this point in the history
  • Loading branch information
NotYoojun committed Aug 31, 2024
1 parent a6a4b39 commit 3e4b61d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion source/iNKORE.UI.WPF.Modern.Gallery/Controls/ControlExample.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
x:Name="ExampleContainer"
Background="{DynamicResource ControlExampleDisplayBrush}"
BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}"
BorderThickness="1"
BorderThickness="1,1,1,0"
CornerRadius="8,8,0,0">
<Grid>
<Grid.RowDefinitions>
Expand Down Expand Up @@ -239,6 +239,16 @@
Duration="0:0:0">
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Collapsed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="ExampleContainer"
Storyboard.TargetProperty="BorderThickness"
Duration="0:0:0">
<DiscreteObjectKeyFrame KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Thickness>1</Thickness>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
Expand Down

0 comments on commit 3e4b61d

Please sign in to comment.