Syncfusion - GridControl - Range selection for property to be applied
Syncfusion - GridControl
Range selection for property to be applied
Dim style As GridStyleInfo = New GridStyleInfo
' Set some properties
style.BackColor = Color.SkyBlue
style.TextColor = Color.RosyBrown
style.CellType = "TextBox"
style.Text = "EssentialGrid"
style.BackColor = Color.SkyBlue
style.TextColor = Color.RosyBrown
style.CellType = "TextBox"
style.Text = "EssentialGrid"
' Create a GridRangeInfo object
Dim range As GridRangeInfo = GridRangeInfo.Cells(1, 1, 5, 5)
' Apply the style to the range
Me.GridControl1.ChangeCells(range, style, Syncfusion.Styles.StyleModifyType.Override)
Comments
Post a Comment