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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set grid model options?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: May 13, 2016 |
Last Revised Date: May 18, 2016
Tags: currentcell

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

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon