Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
89411 | Aug 24,2009 05:22 AM UTC | Aug 26,2009 11:34 AM UTC | WinForms | 3 |
![]() |
Tags: Tools |
#### C# code ####
this.gridControl1.ListBoxSelectionMode = SelectionMode.One;
// It is used to change the selection color
this.gridControl1.Model.Options.AlphaBlendSelectionColor = Color.Pink;
######## VB Code ###########
Me.gridControl1.ListBoxSelectionMode = SelectionMode.One
' It is used to change the selection color
Me.gridControl1.Model.Options.AlphaBlendSelectionColor = Color.Pink
#### C# code ####
GridRangeInfoList range = this.gridControl1.Model.Selections.GetSelectedRows(true, true);
MessageBox.Show(range[0].Top.ToString());
######## VB Code ###########
Dim range As GridRangeInfoList = Me.gridControl1.Model.Selections.GetSelectedRows(True, True)
MessageBox.Show(range(0).Top.ToString())
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
or the page will be automatically redirected to sign-in page in 10 seconds.