Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ScrollBarStyle Property
See Also 
Leadtools.Web.Controls Namespace > TiledImageViewer Class : ScrollBarStyle Property




Gets or sets the scroll bars style used when the ScrollBarVisible property is set to true, and the width or height of the image to be displayed exceeds the control client area.

Syntax

Visual Basic (Declaration) 
Public Property ScrollBarStyle As TiledImageViewerScrollBarStyle
Visual Basic (Usage)Copy Code
Dim instance As TiledImageViewer
Dim value As TiledImageViewerScrollBarStyle
 
instance.ScrollBarStyle = value
 
value = instance.ScrollBarStyle
C# 
public TiledImageViewerScrollBarStyle ScrollBarStyle {get; set;}
Managed Extensions for C++ 
public: __property TiledImageViewerScrollBarStyle get_ScrollBarStyle();
public: __property void set_ScrollBarStyle( 
   TiledImageViewerScrollBarStyle value
);
C++/CLI 
public:
property TiledImageViewerScrollBarStyle ScrollBarStyle {
   TiledImageViewerScrollBarStyle get();
   void set (TiledImageViewerScrollBarStyle value);
}

Return Value

The scroll bars style.

The deault value is TiledImageViewerScrollBarStyle.Xp.

Example

Remarks

If the user set the value of the property to TiledImageViewerScrollBarStyle.CustomClassic or TiledImageViewerScrollBarStyle.CustomXp, he should store the scroll bar resources in the path specified in ResourcesPath property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also