Brush.

AffectsRender<T>(AvaloniaProperty[]) Method

Summary

Marks a property as affecting the brush's visual representation.
Namespace
Avalonia.Media
Containing Type
Brush

Syntax

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

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.

Type Parameters

Name Description
T

Parameters

Name Type Description
properties AvaloniaProperty[] The properties.

Return Value

Type Description
void