Pen.

AffectsRender<T>(AvaloniaProperty[]) Method

Summary

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

Syntax

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

Remarks

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

Type Parameters

Name Description
T

Parameters

Name Type Description
properties AvaloniaProperty[] The properties.

Return Value

Type Description
void