Northwoods.GoXam Namespace : SelectionHandle Class |
Shape
can be used only in the DataTemplate
for an Adornment indicating that another part is selected.<DesignTimeVisibleAttribute()> Public Class SelectionHandle Inherits System.Windows.Shapes.Shape Implements System.ComponentModel.ISupportInitialize, System.Windows.IFrameworkInputElement, System.Windows.IInputElement, System.Windows.Markup.IQueryAmbient, System.Windows.Media.Animation.IAnimatable
A SelectionHandle takes the shape of the Adornment.AdornedElement that it adorns, but its Stroke
, StrokeThickness
, Fill
, et al. must still be set. You should not set its Width
or Height
, because those will be determined by the size and shape of the adorned element.
A simple example definition: <DataTemplate> <go:SelectionHandle Stroke="Red" StrokeThickness="2" /> </DataTemplate>
If a SelectionHandle
is not the only element of the selection adornment template, it should be named as the LocationElementName for the whole adornment.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Shapes.Shape
Northwoods.GoXam.SelectionHandle