Layoutable.

AffectsMeasure(AvaloniaProperty[]) Method

Summary

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

Syntax

[Obsolete("Use AffectsMeasure<T> and specify the control type.")]
protected static void AffectsMeasure(params AvaloniaProperty[] properties)

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.

Attributes

Type Description
ObsoleteAttribute

Parameters

Name Type Description
properties AvaloniaProperty[] The properties.

Return Value

Type Description
void