'Declaration
Public Overloads Overridable Sub EnsureVisible( _ ByVal rect As NRectangle, _ ByVal givePreferenceToTop As System.Boolean, _ ByVal givePreferenceToLeft As System.Boolean _ )
'Usage
Dim instance As NScrollContentBase Dim rect As NRectangle Dim givePreferenceToTop As System.Boolean Dim givePreferenceToLeft As System.Boolean instance.EnsureVisible(rect, givePreferenceToTop, givePreferenceToLeft)
public virtual void EnsureVisible( NRectangle rect, System.bool givePreferenceToTop, System.bool givePreferenceToLeft )
Parameters
- rect
- givePreferenceToTop
- if the top-bottom distance is larger than the viewport height a value of true makes sure that the top is visible, false makes sure that the bottom is visible
- givePreferenceToLeft
- if the left-right distance is larger than the viewport width a value of true makes sure that the left is visible, false makes sure that the right is visible