ShapeAffectsGeometryTShape Method

Marks a property as affecting the shape's geometry.

Definition

Namespace: Avalonia.Controls.Shapes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected static void AffectsGeometry<TShape>(
	params AvaloniaProperty[] properties
)
where TShape : Shape

Parameters

properties  AvaloniaProperty
The properties.

Type Parameters

TShape

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