ImageGear .NET - Updated
EnableScrollBar Method (IImGearScrollableView)




ImageGear23.Core Assembly > ImageGear.Display Namespace > IImGearScrollableView Interface : EnableScrollBar Method
Specifies the scrollbar whose attributes are changed.
Enable (true) or disable (false) scrollbar.
Enables or disables the scrollbars associated with window.
Syntax
'Declaration
 
<ObsoleteAttribute("Use the ScrollChanged event of the page display to receive notifications when the scroll changes.")>
Sub EnableScrollBar( _
   ByVal scrollBarType As ImGearScrollBarType, _
   ByVal state As Boolean _
) 
'Usage
 
Dim instance As IImGearScrollableView
Dim scrollBarType As ImGearScrollBarType
Dim state As Boolean
 
instance.EnableScrollBar(scrollBarType, state)
[Obsolete("Use the ScrollChanged event of the page display to receive notifications when the scroll changes.")]
void EnableScrollBar( 
   ImGearScrollBarType scrollBarType,
   bool state
)
[Obsolete("Use the ScrollChanged event of the page display to receive notifications when the scroll changes.")]
void EnableScrollBar( 
   ImGearScrollBarType scrollBarType,
   bool state
) 
[Obsolete("Use the ScrollChanged event of the page display to receive notifications when the scroll changes.")]
void EnableScrollBar( 
   ImGearScrollBarType scrollBarType,
   bool state
) 

Parameters

scrollBarType
Specifies the scrollbar whose attributes are changed.
state
Enable (true) or disable (false) scrollbar.
See Also

Reference

IImGearScrollableView Interface
IImGearScrollableView Members
ImGearScrollBarType Enumeration