We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to set grid model options?

There are six grid model options that can be set to the grid cells, which are explained below in this article.

1. Activating Current Cell Behavior

In order to set the current cell activating behavior, the ActivateCurrentCellBehavior property can be used.

Code Snippet

C#

 

VB

 

2. Allow scroll for Current cell view

In order to set the visibility of the current cell, the AllowScrollCurrentCellInView property can be used.

Code Snippet

C#

 

VB

 

3. Alpha Blend Selection Color

In order to have desired selection color, the AlphaBlendSelectionColor property is used to set the specified color.

Code Snippet

C#

 

VB

 

 

4. ClickedOnDisabledCellBehavior

In order to change the disabled grid cell behavior on cell click, the ClickedOnDisabledCellBehavior property can be used.

Code Snippet

C#

 

VB

 

5. Show Current Cell Border Behavior

In order to display the border of the current cell, the ShowCurrentCellBorderBehavior property can be used.

Code Snippet

C#

 

VB

 

6. Default Grid Border Style

In order to change the border style of the grid cells, the DefaultGridBorderStyle property can be used.

Code Snippet

C#

 

VB

 


 

 

 

Sample links

C# GridModelOptions_CS

VB GridModelOptions_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
6835 05/13/2016 05/18/2016 Windows Forms GridGroupingControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.