75d05a8b31
- gestiti panel con Visibility - gestiti elementi grafici in ProjectV con ItemsControl - eliminato pannello Printing3d - aggiunta gestione Plugin - verifica bit per Plugin
358 lines
23 KiB
XML
358 lines
23 KiB
XML
<EgtFloating:EgtFloatingPanel x:Class="DrawPanelV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:Interactivity="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
|
xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5"
|
|
xmlns:EgtCAM5="clr-namespace:EgtCAM5"
|
|
TitleBarOrientation="Vertical"
|
|
Visibility="{Binding DrawPanel_Visibility}">
|
|
|
|
<StackPanel Background="Transparent" MaxHeight="{Binding MaxHeight,RelativeSource={RelativeSource AncestorType={x:Type EgtFloating:EgtFloatingPanel}}}">
|
|
<Expander Name="Draw2D" Style="{StaticResource ExpanderStyle}" Grid.Row="0"
|
|
IsExpanded="{Binding Draw2DIsExpanded}">
|
|
<Expander.Header>
|
|
<TextBlock Text="{Binding Draw2DMsg}"/>
|
|
</Expander.Header>
|
|
<UniformGrid Columns="3">
|
|
<Button ToolTip="{Binding PointToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding PointCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/Point.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Line2PToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding Line2PCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/Line2P.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding LinePDLToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding LinePDLCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/LinePDL.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ArcCSEToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ArcCSECommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/ArcCSE.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Arc3PToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding Arc3PCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/Arc3P.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ArcPDPToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ArcPDPCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/ArcPDP.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding CirclePDToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding CircleCPCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/CircleCP.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Circle3PToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding Circle3PCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/Circle3P.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding CircleCDToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding CircleCDCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/CircleCD.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Rectangle2PToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding Rectangle2PCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/Rectangle2P.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding PolygonToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding PolygonCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/Polygon.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding PolygonSideToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding PolygonSideCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/PolygonSide.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding TextToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding TextCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/Text.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding LinearDimensionToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding LinearDimensionCommand}" IsEnabled="{Binding bLayerOk}">
|
|
<Image Source="/Resources/DrawPanel/LinearDimension.png" Stretch="Uniform"/>
|
|
</Button>
|
|
</UniformGrid>
|
|
</Expander>
|
|
<Expander Name="Draw3D" Style="{StaticResource ExpanderStyle}" Grid.Row="1"
|
|
Visibility="{Binding Draw3DVisibility}" IsExpanded="{Binding Draw3DIsExpanded}">
|
|
<Expander.Header>
|
|
<TextBlock Text="{Binding Draw3DMsg}"/>
|
|
</Expander.Header>
|
|
<UniformGrid Columns="3">
|
|
<Button ToolTip="{Binding PlaneToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding PlaneCommand}" IsEnabled="{Binding bLayerOkAndSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Plane.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ExtrudeToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ExtrudeCommand}" IsEnabled="{Binding bLayerOkAndSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Extrude.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding RevolveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding RevolveCommand}" IsEnabled="{Binding bLayerOkAndSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Revolve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ScrewToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ScrewCommand}" IsEnabled="{Binding bLayerOkAndSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Screw.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding SweptToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding SweptCommand}" IsEnabled="{Binding bLayerOkAndSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Swept.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding RuledToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding RuledCommand}" IsEnabled="{Binding bLayerOkAndSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Ruled.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding SolidAddSurfToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding SolidAddSurfCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/SolidAddSurf.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding SolidSubtractSurfToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding SolidSubtractSurfCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/SolidSubtractSurf.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding SolidIntersectSurfToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding SolidIntersectSurfCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/SolidIntersectSurf.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding IntersectSurfSurfToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding IntersectSurfSurfCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/IntersectSurfSurf.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ExtractLoopsToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ExtractLoopsCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ExtractLoops.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ExtractFacetLoopsToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ExtractFacetLoopsCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ExtractFacetLoops.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ExplodeSurfToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ExplodeSurfCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ExplodeSurf.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ExtractSurfFacetToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ExtractSurfFacetCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ExtractSurfFacet.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding MergeSurfToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding MergeSurfCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/MergeSurf.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding InvertSurfToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding InvertSurfCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/InvertSurf.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ApproxSurfToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ApproxSurfCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ApproxSurf.png" Stretch="Uniform"/>
|
|
</Button>
|
|
</UniformGrid>
|
|
</Expander>
|
|
<Expander Name="Modify" Style="{StaticResource ExpanderStyle}" Grid.Row="2" IsExpanded="{Binding ModifyIsExpanded}">
|
|
<Expander.Header>
|
|
<TextBlock Text="{Binding ModifyMsg}"/>
|
|
</Expander.Header>
|
|
<UniformGrid Columns="3">
|
|
<Button ToolTip="{Binding DeleteToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding DeleteCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Delete.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ChangeLayerToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ChangeLayerCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ChangeLayer.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Style="{StaticResource DrawPanelButton}"
|
|
Visibility="Hidden"/>
|
|
<Button ToolTip="{Binding ChangeColorToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ChangeColorCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ChangeColor.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ChangeAlphaToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ChangeAlphaCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ChangeColorAlpha.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ResetColorToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ResetColorCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/RemoveColor.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding InvertCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding InvertCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/InvertCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ChangeStartToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ChangeStartCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ChangeStart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ThickCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding SetCurveThCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ThickCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ExtendCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ExtendCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ExtendCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding BreakCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding BreakCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/BreakCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding SplitCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding SplitCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/SplitCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ExplodeCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ExplodeCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ExplodeCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding JoinCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding JoinCurveCommand}" IsEnabled="{Binding bLayerOkAndSelOk}">
|
|
<Image Source="/Resources/DrawPanel/JoinCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding OffsetToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding OffsetCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Offset.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding FilletToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding FilletCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Fillet.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ChamferToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ChamferCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Chamfer.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ArcFlipToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ArcFlipCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ArcFlip.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ModifyCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ModifyCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ModifyCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding AddPointCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding AddPointCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/AddPointCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding RemovePointCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding RemovePointCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/RemovePointCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ApproxCurveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ApproxCurveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ApproxCurve.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ModifyArcRadiusToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ModifyArcRadiusCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ModifyArcRadius.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ModifyTextToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ModifyTextCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/ModifyText.png" Stretch="Uniform"/>
|
|
</Button>
|
|
</UniformGrid>
|
|
</Expander>
|
|
<Expander Name="Transform" Style="{StaticResource ExpanderStyle}" Grid.Row="3" IsExpanded="{Binding TransformIsExpanded}">
|
|
<Expander.Header>
|
|
<TextBlock Text="{Binding TransformMsg}"/>
|
|
</Expander.Header>
|
|
<UniformGrid Columns="3">
|
|
<Button ToolTip="{Binding MoveToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding MoveCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Move.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Style="{StaticResource DrawPanelButton}"
|
|
Visibility="Hidden"/>
|
|
<Button Style="{StaticResource DrawPanelButton}"
|
|
Visibility="Hidden"/>
|
|
<Button ToolTip="{Binding RotateToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding RotateCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Rotate.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding MirrorToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding MirrorCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Mirror.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding ScaleToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding ScaleCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Scale.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Rotate3DToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding Rotate3DCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Rotate3D.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Mirror3DToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding Mirror3DCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Mirror3D.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button ToolTip="{Binding Scale3DToolTip}" Style="{StaticResource DrawPanelButton}"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
Command="{Binding Scale3DCommand}" IsEnabled="{Binding bSelOk}">
|
|
<Image Source="/Resources/DrawPanel/Scale3D.png" Stretch="Uniform"/>
|
|
</Button>
|
|
</UniformGrid>
|
|
</Expander>
|
|
<Interactivity:Interaction.Behaviors>
|
|
<EgtCAM5:AutomaticCloseExpander/>
|
|
</Interactivity:Interaction.Behaviors>
|
|
</StackPanel>
|
|
|
|
</EgtFloating:EgtFloatingPanel>
|