Summary
Marks a property as affecting the shape's geometry.
- Namespace
- Avalonia
.Controls .Shapes - Containing Type
- Shape
Syntax
protected static void AffectsGeometry<TShape>(params AvaloniaProperty[] properties)
where TShape : Shape
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.
Type Parameters
Name | Description |
---|---|
TShape |
Parameters
Name | Type | Description |
---|---|---|
properties | AvaloniaProperty[] | The properties. |
Return Value
Type | Description |
---|---|
void |