Click or drag to resize

PageConfigurationUIDataGridConfiguration_SelectionChanged Method

Event changed selection: triggers of event DataGridSelectionChanged or override this.

Namespace:  SOWIWin.Helper
Assembly:  SOWIWin.Helper (in SOWIWin.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
protected virtual void DataGridConfiguration_SelectionChanged(
	Object sender,
	SelectionChangedEventArgs e
)

Parameters

sender
Type: SystemObject
This object to pass on event DataGridSelectionChanged
e
Type: System.Windows.ControlsSelectionChangedEventArgs
This object to pass on event DataGridSelectionChanged
Examples
This example override this and backups the property Name
/// <summary>
/// Event changed selection: backups the property Name
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected override void DataGridConfiguration_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
    DataItemClass lItem = (DataItemClass)this.DataGridConfiguration.CurrentItem;
    var lItemIXML = (SIC.Setting.ISettingXML)lItem;
    ItemName = lItemIXML.Name;
}
See Also