IScrollInfo
.)
Visual Basic (Declaration) | |
---|---|
Public Function MakeVisible( _ ByVal visual As Visual, _ ByVal rectangle As Rect _ ) As Rect |
Parameters
- visual
- rectangle
- The region of the element to bring into view. This value is normally
Rect.Empty
, meaning as much of the whole visual element as will fit into the viewport.
Return Value
the result of calling DoMakeVisibleIf the Part is already visible in the viewport, the panel is not scrolled. If you always want to scroll the panel so that a part is centered, even when the part is already visible but not centered in the viewport, call CenterPart(Part,Action).