Skip to main content

AffectsGeometry<TShape> Method

Marks a property as affecting the shape's geometry.

Definition​

Namespace: Avalonia.Controls.Shapes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected static void AffectsGeometry<TShape>(
params AvaloniaProperty[] properties
)
where TShape : Shape

Parameters​

  AvaloniaProperty[]
The properties.

Type Parameters​

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​

Shape Class
Avalonia.Controls.Shapes Namespace