AffectsGeometry<TShape> Method
Marks a property as affecting the shape's geometry.
Definition
Namespace: Avalonia.Controls.Shapes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
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
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.