ShapeAffectsGeometryTShape Method
Marks a property as affecting the shape's geometry.
Namespace: Avalonia.Controls.ShapesAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected static void AffectsGeometry<TShape>(
params AvaloniaProperty[] properties
)
where TShape : Shape
Protected Shared Sub AffectsGeometry(Of TShape As Shape) (
ParamArray properties As AvaloniaProperty()
)
static member AffectsGeometry :
properties : AvaloniaProperty[] -> unit when 'TShape : Shape
- properties AvaloniaProperty
- The properties.
- TShape
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.