Layoutable.

AffectsMeasure<T>(AvaloniaProperty[]) Method

Summary

Marks a property as affecting the control's measurement.
Namespace
Avalonia.Layout
Containing Type
Layoutable

Syntax

protected static void AffectsMeasure<T>(params AvaloniaProperty[] properties) 
    where T : class, ILayoutable

Remarks

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.

Type Parameters

Name Description
T The control which the property affects.

Parameters

Name Type Description
properties AvaloniaProperty[] The properties.

Return Value

Type Description
void