Skip to main content

ControlExtensions Class

Adds common functionality to Control.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static class ControlExtensions
View Source
InheritanceObject → ControlExtensions

Methods

BringIntoView(Control)Tries to bring the control into view.
BringIntoView(Control, Rect)Tries to bring the control into view.
FindControl(T)(Control, String)Finds the named control in the scope of the specified control.
GetControl(T)(Control, String)Finds the named control in the scope of the specified control and throws if not found.
Set(IPseudoClasses, String, IObservable(Boolean))Sets a pseudoclass depending on an observable trigger.

See Also

Reference

Avalonia.Controls Namespace