Browse Source

Outline Panel ToolTip Preview of the Control

-> like http://community.sharpdevelop.net/photos/kumardevvrat/picture30728.aspx
pull/52/head
jkuehner 12 years ago
parent
commit
04c2654b9c
  1. 9
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/OutlineView/OutlineView.xaml

9
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/OutlineView/OutlineView.xaml

@ -122,6 +122,15 @@
<MenuItem Command="ApplicationCommands.Delete" /> <MenuItem Command="ApplicationCommands.Delete" />
</ContextMenu> </ContextMenu>
</DockPanel.ContextMenu> </DockPanel.ContextMenu>
<DockPanel.ToolTip>
<ToolTip Background="White">
<Rectangle Width="50" Height="50">
<Rectangle.Fill>
<VisualBrush Stretch="Uniform" Visual="{Binding DesignItem.View}" />
</Rectangle.Fill>
</Rectangle>
</ToolTip>
</DockPanel.ToolTip>
</DockPanel> </DockPanel>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>

Loading…
Cancel
Save