Syncfusion.Grid.Windows


Syncfusion.Windows.Forms.Grid Namespace > GridControlBase Class : AllowHScrollOnMouseWheel Property

AllowHScrollOnMouseWheel Property

Gets or sets a value indicating whether the horizontal scrolling should be enabled on Mouse wheel.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
<DefaultValueAttribute(False)>
Public Property AllowHScrollOnMouseWheel As Boolean
'Usage
 
Dim instance As GridControlBase
Dim value As Boolean
 
instance.AllowHScrollOnMouseWheel = value
 
value = instance.AllowHScrollOnMouseWheel
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
[DefaultValue(false)]
public bool AllowHScrollOnMouseWheel {get; set;}
Remarks
When it is set to true, it will perform the horizontal scrolling when mouse wheeling occurs with the System.Windows.Forms.Keys.Shift key is pressed. It also allows to scroll horizontally without using the System.Windows.Forms.Keys.Shift key when the vertical scrollbar is disabled.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also