Syncfusion - GridControl - Range selection for property to be applied

Syncfusion - GridControl
Range selection for property to be applied 


' Create a GridStyleInfo object
Dim style As GridStyleInfo = New GridStyleInfo

' Set some properties
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

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms : PopUp Page with RG.Plugins.Popup

Text was truncated or one or more characters had no match in the target code page.". (SQL Server Import and Export Wizard)