VisualAffectsRenderT Method
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
protected static void AffectsRender<T>(
params AvaloniaProperty[] properties
)
where T : Visual
Protected Shared Sub AffectsRender(Of T As Visual) (
ParamArray properties As AvaloniaProperty()
)
static member AffectsRender :
properties : AvaloniaProperty[] -> unit when 'T : Visual
- properties AvaloniaProperty
- The properties.
- T
- The control which the property affects.
This method should be called in a control's static constructor with each property
on the control which when changed should cause a redraw. This is similar to WPF's
FrameworkPropertyMetadata.AffectsRender flag.