摘要:
TreeView展开所有节点 <TreeView.ItemContainerStyle> <Style TargetType="{x:Type TreeViewItem}"> <Setter Property="IsExpanded" Value="True"></Setter> </Style> 阅读全文
摘要:
ContextMenu样式 对应的xaml代码: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
摘要:
好看的boder 阴影 <Border BorderThickness="1" Grid.Column="2" Grid.Row="1"> <Border BorderThickness="1" Grid.Column="2" Grid.Row="1" Margin="5" BorderBrush= 阅读全文