Class Path
Draws a series of connected lines and curves. The line and curve dimensions are declared through the Data property, and can be specified either with a Path-specific mini-language, or with an object model.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Shapes
Assembly: OpenSilver.dll
Syntax
public class Path : Shape, IFrameworkElement, IUIElement, IDependencyObject
Constructors
| Improve this Doc View SourcePath()
Initializes a new instance of the Path class.
Declaration
public Path()
Fields
| Improve this Doc View SourceDataProperty
Identifies the Data dependency property.
Declaration
public static readonly DependencyProperty DataProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceData
Gets or sets a Geometry that specifies the shape to be drawn.
Declaration
public Geometry Data { get; set; }
Property Value
Type | Description |
---|---|
Geometry | A description of the shape to be drawn. |
Methods
| Improve this Doc View SourceMeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
Size | constraint |
Returns
Type | Description |
---|---|
Size |