AffectsRender<T> Method
Marks a property as affecting the brush's visual representation.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
protected static void AffectsRender<T>(
params AvaloniaProperty[] properties
)
where T : ExperimentalAcrylicMaterial
Protected Shared Sub AffectsRender(Of T As ExperimentalAcrylicMaterial) (
ParamArray properties As AvaloniaProperty()
)
static member AffectsRender :
properties : AvaloniaProperty[] -> unit when '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.