1234567891011121314151617181920212223 |
- <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <!--快捷工具展开收缩-->
- <ContextMenu x:Key="ExpendToolsContextMenu" FontSize="14">
- <ContextMenu.ItemContainerStyle>
- <Style TargetType="MenuItem">
- <Setter Property="Padding" Value="0,7,0,7"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- </Style>
- </ContextMenu.ItemContainerStyle>
- <MenuItem Name="ExpendMenuItem" Header="展开" IsEnabled="True">
- <MenuItem.Icon>
- <Path Fill="Black"
- Data="M5.24031 1.5H0.5V14.5H15.5V4H7.24031L5.24031 1.5ZM1.5 13.5V2.5H4.75969L6.75969 5H14.5V13.5H1.5ZM4 7.5H12V6.5H4V7.5Z">
- <Path.RenderTransform>
- <TranslateTransform X="3.0000" Y="0"/>
- </Path.RenderTransform>
- </Path>
- </MenuItem.Icon>
- </MenuItem>
- </ContextMenu>
- </ResourceDictionary>
|