Syncfusion.Grid.Windows
Example 


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

Office2007ScrollBarsColorScheme Property (GridControlBase)

Gets or sets the style of Office2007 scroll bars.
Syntax
'Declaration
 
<DescriptionAttribute("Office 2007 style scrollbars.")>
<BrowsableAttribute(True)>
<CategoryAttribute("Appearance")>
<DefaultValueAttribute()>
Public Overrides Property Office2007ScrollBarsColorScheme As Office2007ColorScheme
'Usage
 
Dim instance As GridControlBase
Dim value As Office2007ColorScheme
 
instance.Office2007ScrollBarsColorScheme = value
 
value = instance.Office2007ScrollBarsColorScheme
[Description("Office 2007 style scrollbars.")]
[Browsable(true)]
[Category("Appearance")]
[DefaultValue()]
public override Office2007ColorScheme Office2007ScrollBarsColorScheme {get; set;}
Example
This example show how to set the color for Office2007ScrollBars.
//Enable the Office2007ScrollBars.
this.gridControl1.Office2007ScrollBars = true;
//Set the color for office2007ScrollBars.
this.gridControl1.Office2007ScrollBarsColorScheme = Office2007ColorScheme.Black;
'Enable the Office2007ScrollBars.
Me.gridControl1.Office2007ScrollBars = True
'Set the color for office2007ScrollBars.
Me.gridControl1.Office2007ScrollBarsColorScheme = Office2007ColorScheme.Black
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also