AffectsGeometry Method
Marks a property as affecting the geometry's PlatformImpl.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
protected static void AffectsGeometry(
params AvaloniaProperty[] properties
)
Protected Shared Sub AffectsGeometry (
ParamArray properties As AvaloniaProperty()
)
static member AffectsGeometry :
properties : AvaloniaProperty[] -> unit
Parameters
- AvaloniaProperty[]
- The properties.
Remarks
After a call to this method in a control's static constructor, any change to the property will cause InvalidateGeometry() to be called on the element.