Commit 9e16edda by liulongfei

样式调整

parent 739806e9
......@@ -9,10 +9,10 @@
<Grid Background="{TemplateBinding Background}">
<Image Source="{Binding Path=IconSource,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type local:ResizeImageControl}},Mode=OneWay}"
Visibility="{Binding Path=IconVisibility,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type local:ResizeImageControl}},Mode=OneWay}"
VerticalAlignment="Center" HorizontalAlignment="Center" Margin="3"></Image>
VerticalAlignment="Center" HorizontalAlignment="Center" Width="20" Height="20" Margin="3"></Image>
<Image Source="{Binding Path=ImageSource,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type local:ResizeImageControl}},Mode=OneWay}"
Visibility="{Binding Path=ImageVisibility,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type local:ResizeImageControl}},Mode=OneWay}"
VerticalAlignment="Center" HorizontalAlignment="Center" Width="20" Height="20"></Image>
VerticalAlignment="Center" HorizontalAlignment="Center"></Image>
</Grid>
</ControlTemplate>
</Setter.Value>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment