Example





In This Topic
GdPicture14.WPF Namespace / GdViewer Class / ScrollLargeChange Property

ScrollLargeChange Property (GdViewer)

In This Topic
Gets or sets a value to be added to or subtracted from the current scrollbar position when the scrollbar (both horizontal or vertical) is moved a large distance.
Syntax
'Declaration
 
Public Property ScrollLargeChange As Short
public short ScrollLargeChange {get; set;}
public read-write property ScrollLargeChange: Int16; 
public function get,set ScrollLargeChange : short
public: __property short get_ScrollLargeChange();
public: __property void set_ScrollLargeChange( 
   short value
);
public:
property short ScrollLargeChange {
   short get();
   void set (    short value);
}

Property Value

The default value is 50.
Remarks
This value is used for both horizontal and vertical scrollbars in the same way.
Example
How to utilize this property in your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.ScrollLargeChange = 75
GdViewer1.ScrollSmallChange = 10
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.ScrollLargeChange = 75;
GdViewer1.ScrollSmallChange = 10;
See Also