Class BeginAutoScrollEventArgs
Provides data for the
Inheritance
System.Object
BeginAutoScrollEventArgs
Namespace: Syncfusion.WinForms.Controls.Events
Assembly: Syncfusion.Core.WinForms.dll
Syntax
[ComVisible(false)]
public sealed class BeginAutoScrollEventArgs : CancelEventArgs
Constructors
BeginAutoScrollEventArgs(AutoScrollReason, AutoScrollOrientation)
Initializes a new instance of the BeginAutoScrollEventArgs class.
Declaration
public BeginAutoScrollEventArgs(AutoScrollReason reason, AutoScrollOrientation direction)
Parameters
Type | Name | Description |
---|---|---|
AutoScrollReason | reason | The reason for scrolling. |
AutoScrollOrientation | direction | The direction of the auto scrolling. |
Properties
Direction
Gets the scrollbars that need to be perform the auto scroll.
Declaration
public AutoScrollOrientation Direction { get; }
Property Value
Type |
---|
AutoScrollOrientation |
Reason
Gets the reason for performing the auto scrolling, either scrollbar acceleration or mouse dragging outside window bounds.
Declaration
public AutoScrollReason Reason { get; }
Property Value
Type |
---|
AutoScrollReason |