<EgtFloating:EgtFloatingPanel x:Class="FreeContourManagerV"
                              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                              xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5"
                              IsTopDockable="True" IsBottomDockable="False" IsLeftDockable="False"
                              IsRightDockable="False" Style="{StaticResource ToolBar_EgtFloatingPanel}">

   <ComboBox ItemsSource="{Binding TypeList}"
             SelectedIndex="{Binding SelType, Delay=1}"
             Height="22" Width="160"
             Margin="0,0,5,0"/>
   <ComboBox ItemsSource="{Binding PathList}"
             SelectedIndex="{Binding SelPath}"
             Height="22" Width="100"
             Margin="0,0,5,0"
             Visibility="{Binding PathList_Visibility}"/>
   <Button Command="{Binding Line2P_Command}"
           ToolTip="{Binding Line2P_ToolTip}"
           IsEnabled="{Binding Line2P_IsEnabled}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/Line2P.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding Delete_Command}"
           ToolTip="{Binding Delete_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/Delete.png" Stretch="Uniform"/>
   </Button>
   <!--<Button Command="{Binding ArcFlip_Command}"
           ToolTip="{Binding ArcFlip_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/ArcFlip.png" Stretch="Uniform"/>
   </Button>-->
   <Button Command="{Binding ModifyCurve_Command}"
           ToolTip="{Binding ModifyCurve_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/ModifyCurve.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding AddPointCurve_Command}"
           ToolTip="{Binding AddPointCurve_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/AddPointCurve.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding RemovePointCurve_Command}"
           ToolTip="{Binding RemovePointCurve_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/RemovePointCurve.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding ChangeStart_Command}"
           ToolTip="{Binding ChangeStart_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/ChangeStart.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding InvertCurve_Command}"
           ToolTip="{Binding InvertCurve_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/InvertCurve.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding Move_Command}"
           ToolTip="{Binding Move_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/Move.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding Rotate_Command}"
           ToolTip="{Binding Rotate_ToolTip}"
           Style="{StaticResource ToolBar_Button}">
      <Image Source="/Resources/DrawPanel/Rotate.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding TextAngle_Command}"
           ToolTip="{Binding TextAngle_ToolTip}" 
           Style="{StaticResource ToolBar_Button}"
           Visibility="{Binding TextAngle_Visibility}">
      <Image Source="/Resources/DrawPanel/Text.png" Stretch="Uniform"/>
   </Button>

</EgtFloating:EgtFloatingPanel>
