private void OnItemsControlImpl_ItemSelected(object sender, ItemSelectedEventArgs args) { if (this.ItemSelected != null) { this.ItemSelected(sender, args); } this.CallOnItemSelected(args); }
public void SelectItem(RadItem item) { if (this.selectedItem != item && this.selectedItem != null && this.ItemDeselected != null) { ItemSelectedEventArgs args = new ItemSelectedEventArgs(selectedItem); this.ItemDeselected(this, args); } this.selectedItem = item; if (this.ItemSelected != null && item != null) { ItemSelectedEventArgs args = new ItemSelectedEventArgs(item); this.ItemSelected(this, args); } }
protected virtual void OnItemSelected(ItemSelectedEventArgs args) { }
internal void CallOnItemSelected(ItemSelectedEventArgs args) { this.OnItemSelected(args); }
public void CallOnItemDeselected(ItemSelectedEventArgs args) { this.OnItemDeselected(args); }