Skip to main content

AffectsGeometry Method

Marks a property as affecting the geometry's PlatformImpl.

Definition​

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

protected static void AffectsGeometry(
params AvaloniaProperty[] properties
)

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.

See Also​

Reference​

Geometry Class
Avalonia.Media Namespace