AffectsArrange<T> Method
Marks a property as affecting the control's arrangement.
Definition
Namespace: Avalonia.Layout
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
protected static void AffectsArrange<T>(
params AvaloniaProperty[] properties
)
where T : Layoutable
Protected Shared Sub AffectsArrange(Of T As Layoutable) (
ParamArray properties As AvaloniaProperty()
)
static member AffectsArrange :
properties : AvaloniaProperty[] -> unit when 'T : Layoutable
Parameters
- AvaloniaProperty[]
- The properties.
Type Parameters
- The control which the property affects.
Remarks
After a call to this method in a control's static constructor, any change to the property will cause InvalidateArrange() to be called on the element.