LayoutableAffectsMeasureT Method
Marks a property as affecting the control's measurement.
Namespace: Avalonia.LayoutAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
protected static void AffectsMeasure<T>(
params AvaloniaProperty[] properties
)
where T : Layoutable
Protected Shared Sub AffectsMeasure(Of T As Layoutable) (
ParamArray properties As AvaloniaProperty()
)
static member AffectsMeasure :
properties : AvaloniaProperty[] -> unit when 'T : Layoutable
- properties AvaloniaProperty
- The properties.
- T
- The control which the property affects.
After a call to this method in a control's static constructor, any change to the
property will cause
InvalidateMeasure to be called on the element.