Skip to main content

BringIntoView(Control, Rect) Method

Tries to bring the control into view.

Definition

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

public static void BringIntoView(
this Control control,
Rect rect
)

Parameters

  Control
The control.
  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

Reference

ControlExtensions Class
BringIntoView Overload
Avalonia.Controls Namespace