Syncfusion.Grid.Windows
Example 


GetGridModel Method (GridStyleInfo)

Returns the GridModel for this style or NULL if style is used outside a grid model.
Syntax
'Declaration
 
Public Function GetGridModel() As GridModel
'Usage
 
Dim instance As GridStyleInfo
Dim value As GridModel
 
value = instance.GetGridModel()
public GridModel GetGridModel()

Return Value

The GridModel this style belongs to or NULL.
Example
This example shows how to get the GridModel.
//Get the grid model.
GridModel model = this.gridControl1.TableStyle.GetGridModel();
'Get the grid model.
  Dim model As GridModel= Me.gridControl1.TableStyle.GetGridModel()
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also