Correction to Code for OnItemSelectedChanged Event
This commit is contained in:
parent
89cf82efa7
commit
492f089a6e
@ -132,8 +132,16 @@ namespace Volian.Controls.Library
|
||||
/// <param name="args"></param>
|
||||
internal void OnItemSelectedChanged(object sender, ItemSelectedChangedEventArgs args)
|
||||
{
|
||||
_MyItemInfo = args.MyItemInfo;
|
||||
_MyStepItem = args.MyStepItem;
|
||||
if (args != null)
|
||||
{
|
||||
_MyItemInfo = args.MyItemInfo;
|
||||
_MyStepItem = args.MyStepItem;
|
||||
}
|
||||
else
|
||||
{
|
||||
_MyItemInfo = null;
|
||||
_MyStepItem = null;
|
||||
}
|
||||
if (ItemSelectedChanged != null) ItemSelectedChanged(sender, args);
|
||||
}
|
||||
#endregion
|
||||
|
Loading…
x
Reference in New Issue
Block a user