mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-02 15:50:51 +08:00
小优化
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
</DataTemplate.Triggers>
|
||||
</DataTemplate>
|
||||
<DataTemplate DataType="{x:Type model:MultipleDesignerItemToolBoxData}">
|
||||
<Grid ToolTip="{Binding Description}">
|
||||
<Grid Width="{Binding Width}" Height="{Binding Height}" ToolTip="{Binding Description}">
|
||||
<Grid.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Header="删除" Command="{StaticResource DeleteItemCommandReference}" CommandParameter="{Binding .}"/>
|
||||
@@ -173,7 +173,7 @@
|
||||
StrokeDashArray="2"
|
||||
Fill="Transparent"
|
||||
SnapsToDevicePixels="true"/>
|
||||
<Viewbox Stretch="Uniform" Width="{Binding Width}" Height="{Binding Height}">
|
||||
<Viewbox Stretch="Uniform" Margin="2">
|
||||
<ItemsControl ItemsSource="{Binding SelectableDesignerItemViewModels}"
|
||||
Width="{Binding CanvasWidth}"
|
||||
Height="{Binding CanvasHeight}">
|
||||
|
||||
Reference in New Issue
Block a user