Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Forces content to scroll until the coordinate space of a Visual object is visible.
Namespace: Microsoft.Windows.Controls.Ribbon.Primitives
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Function MakeVisible ( _
visual As Visual, _
rectangle As Rect _
) As Rect
public Rect MakeVisible(
Visual visual,
Rect rectangle
)
public:
virtual Rect MakeVisible(
Visual^ visual,
Rect rectangle
) sealed
abstract MakeVisible :
visual:Visual *
rectangle:Rect -> Rect
override MakeVisible :
visual:Visual *
rectangle:Rect -> Rect
public final function MakeVisible(
visual : Visual,
rectangle : Rect
) : Rect
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.
Implements
IScrollInfo.MakeVisible(Visual, Rect)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.