File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 655
655
</StackPanel >
656
656
657
657
<StackPanel >
658
- <Border Background =" White" Padding =" 14 14 14 14 "
658
+ <Border Background =" White" Padding =" 14 0 14 0 "
659
659
BorderThickness =" 0 1 0 0" BorderBrush =" #e6e6e6"
660
660
VerticalAlignment =" Center" HorizontalAlignment =" Stretch"
661
661
MaxHeight =" 480" >
662
- <ContentControl
662
+ <Border .Style>
663
+ <Style TargetType =" {x:Type Border}" >
664
+ <Setter Property =" Visibility" Value =" Visible" />
665
+ <Style .Triggers>
666
+ <DataTrigger Binding =" {Binding ElementName=SettingControl, Path=ActualHeight}" Value =" 0" >
667
+ <Setter Property =" Visibility" Value =" Collapsed" />
668
+ </DataTrigger >
669
+ </Style .Triggers>
670
+ </Style >
671
+ </Border .Style>
672
+ <ContentControl x : Name =" SettingControl"
663
673
Content =" {Binding SettingControl}"
664
- Padding =" 0" Margin =" 0" VerticalAlignment =" Stretch"
674
+ Padding =" 0" Margin =" 0 14 0 14 " VerticalAlignment =" Stretch"
665
675
MaxWidth =" 750" />
666
676
</Border >
667
677
</StackPanel >
You can’t perform that action at this time.
0 commit comments