Syncfusion.Grid.Windows
Example 


A GridRangeInfo that specifies the range of cells.

GetCombinedStyle(GridRangeInfo) Method

Analyzes specified cells for attributes that are equal among the cells.
Syntax
'Declaration
 
Public Overloads Function GetCombinedStyle( _
   ByVal range As GridRangeInfo _
) As GridStyleInfo
'Usage
 
Dim instance As GridModel
Dim range As GridRangeInfo
Dim value As GridStyleInfo
 
value = instance.GetCombinedStyle(range)
public GridStyleInfo GetCombinedStyle( 
   GridRangeInfo range
)

Parameters

range
A GridRangeInfo that specifies the range of cells.

Return Value

The GridStyleInfo object that holds all attributes that were equal among cells.
Example
The following example determines if Bold is enabled for a range of cells:
GridStyleInfo style = GetCombinedStyle(GridRangeInfo.Cells(2, 2, 4, 8));
bool isBold = style.Font.Bold;
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also