ControlExtensionsBringIntoView(Control, Rect) Method

Tries to bring the control into view.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void BringIntoView(
	this Control control,
	Rect rect
)

Parameters

control  Control
The control.
rect  Rect
The area of the control to being into view.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also