Skip to main content

AffectsRender<T> Method

Marks a property as affecting the brush's visual representation.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

protected static void AffectsRender<T>(
params AvaloniaProperty[] properties
)
where T : ExperimentalAcrylicMaterial

Parameters

  AvaloniaProperty[]
The properties.

Type Parameters

Remarks

After a call to this method in a brush's static constructor, any change to the property will cause the Invalidated event to be raised on the brush.

See Also

Reference

ExperimentalAcrylicMaterial Class
Avalonia.Media Namespace