ControlExtensions Class

Summary

Adds common functionality to IControl.
Namespace
Avalonia.Controls
Base Types
  • object
graph TD Base0["object"]-->Type Type["ControlExtensions"] class Type type-node

Syntax

public static class ControlExtensions

Methods

Name Value Summary
BringIntoView(IControl) void
Tries to bring the control into view.
static
BringIntoView(IControl, Rect) void
Tries to bring the control into view.
static
FindControl<T>(IControl, string) T
Finds the named control in the scope of the specified control.
static
Set(IPseudoClasses, string, bool) void
Adds or removes a pseudoclass depending on a boolean value.
static
Set(IPseudoClasses, string, IObservable<bool>) IDisposable
Sets a pseudoclass depending on an observable trigger.
static