Occurs when the
Row's selection is changed.
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public event EventHandler<GridRowSelectionEventArgs> SelectionChanging |
Visual Basic |
---|
Public Event SelectionChanging As EventHandler(Of GridRowSelectionEventArgs) |
Visual C++ |
---|
public:
event EventHandler<GridRowSelectionEventArgs^>^ SelectionChanging {
void add (EventHandler<GridRowSelectionEventArgs^>^ value);
void remove (EventHandler<GridRowSelectionEventArgs^>^ value);
} |
F# |
---|
member SelectionChanging : IEvent<EventHandler<GridRowSelectionEventArgs>,
GridRowSelectionEventArgs>
|
Value
Type:
System..::..EventHandler<(Of <(<'GridRowSelectionEventArgs>)>)>Examples
| Copy |
---|
grid.SelectionChanging += delegate(object sender, GridRowSelectionEventArgs e)
{
if(e.Row.VisibleIndex == 0)
{
e.NewSelectionState = true;
}
if (e.Row.VisibleIndex == 1)
{
e.NewSelectionState = false;
}
}; |
Thread Safety
This event is always raised in the GUI thread
See Also