RibbonGalleryCategoriesPanel::MakeVisible Method (Visual^, Rect)

.NET Framework (current version)
 

Forces content to scroll until the coordinate space of a Visual object is visible.

Namespace:   System.Windows.Controls.Ribbon.Primitives
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public:
virtual Rect MakeVisible(
	Visual^ visual,
	Rect rectangle
) sealed

Parameters

visual
Type: System.Windows.Media::Visual^

The object to make visible.

rectangle
Type: System.Windows::Rect

A bounding rectangle that identifies the coordinate space to be made visible.

Return Value

Type: System.Windows::Rect

The rectangle that is visible.

.NET Framework
Available since 4.5
Return to top
Show: