Shape
is typically used as the line, perhaps curved or with multiple segments, representing a Link.
Visual Basic (Declaration) | |
---|---|
Public Class LinkShape Inherits System.Windows.Shapes.Shape Implements ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAnimatable |
C# | |
---|---|
public class LinkShape : System.Windows.Shapes.Shape, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAnimatable |
This shape must be either the only element of a LinkDataTemplate
or a child element of a LinkPanel which is itself the root element of a Link.
In WPF, you must use the <go:LinkShape>
element instead of a <Path>
element. In Silverlight, you may use either the <go:LinkShape>
element or a <Path>
element.
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.LinkShape