PathFigure Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a subsection of a geometry, containing a collection of path segments.
public ref class PathFigure sealed : Microsoft::Maui::Controls::BindableObject, Microsoft::Maui::Controls::IAnimatable
[Microsoft.Maui.Controls.ContentProperty("Segments")]
public sealed class PathFigure : Microsoft.Maui.Controls.BindableObject, Microsoft.Maui.Controls.IAnimatable
[<Microsoft.Maui.Controls.ContentProperty("Segments")>]
type PathFigure = class
inherit BindableObject
interface IAnimatable
Public NotInheritable Class PathFigure
Inherits BindableObject
Implements IAnimatable
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| PathFigure() |
Initializes a new instance of the PathFigure class. |
Fields
| Name | Description |
|---|---|
| IsClosedProperty |
Bindable property for IsClosed. |
| IsFilledProperty |
Bindable property for IsFilled. |
| SegmentsProperty |
Bindable property for Segments. |
| StartPointProperty |
Bindable property for StartPoint. |
Properties
| Name | Description |
|---|---|
| BindingContext |
Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property. (Inherited from BindableObject) |
| Dispatcher |
Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window's/app's). (Inherited from BindableObject) |
| IsClosed |
Gets or sets a value indicating whether to connect the last segment to the start point. This is a bindable property. |
| IsFilled |
Gets or sets a value indicating whether to fill the interior of this figure. This is a bindable property. |
| Segments |
Gets or sets the collection of path segments that define this figure. This is a bindable property. |
| StartPoint |
Gets or sets the point where this figure starts. This is a bindable property. |
Methods
| Name | Description |
|---|---|
| ApplyBindings() |
Applies all the current bindings to BindingContext. (Inherited from BindableObject) |
| BatchBegin() | |
| BatchCommit() | |
| ClearValue(BindableProperty) |
Clears any value that is previously set for a bindable property. (Inherited from BindableObject) |
| ClearValue(BindablePropertyKey) |
Clears any value that is previously set for a bindable property, identified by its key. (Inherited from BindableObject) |
| CoerceValue(BindableProperty) |
Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property. (Inherited from BindableObject) |
| CoerceValue(BindablePropertyKey) |
Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property. (Inherited from BindableObject) |
| GetValue(BindableProperty) |
Returns the value that is contained in the given bindable property. (Inherited from BindableObject) |
| IsSet(BindableProperty) |
Determines whether or not a bindable property exists and has a value set. (Inherited from BindableObject) |
| OnBindingContextChanged() |
Raises the BindingContextChanged event. (Inherited from BindableObject) |
| OnPropertyChanged(String) |
Raises the PropertyChanged event. (Inherited from BindableObject) |
| OnPropertyChanging(String) |
Raises the PropertyChanging event. (Inherited from BindableObject) |
| RemoveBinding(BindableProperty) |
Removes a previously set binding from a bindable property. (Inherited from BindableObject) |
| SetBinding(BindableProperty, BindingBase) |
Assigns a binding to a bindable property. (Inherited from BindableObject) |
| SetValue(BindableProperty, Object) |
Sets the value of the specified bindable property. (Inherited from BindableObject) |
| SetValue(BindablePropertyKey, Object) |
Sets the value of the specified bindable property. (Inherited from BindableObject) |
| UnapplyBindings() |
Removes all current bindings from the current context. (Inherited from BindableObject) |
Events
| Name | Description |
|---|---|
| BindingContextChanged |
Occurs when the value of the BindingContext property changes. (Inherited from BindableObject) |
| PropertyChanged |
Occurs when a property value changes. (Inherited from BindableObject) |
| PropertyChanging |
Occurs when a property value is changing. (Inherited from BindableObject) |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) | (Inherited from BindableObject) |