protected void OnSubItemClicked(SubItemEventArgs e) { if (SubItemClicked != null) { SubItemClicked(this, e); } }
protected void OnSubItemBeginEditing(SubItemEventArgs e) { if (SubItemBeginEditing != null) { SubItemBeginEditing(this, e); } }
private void PropertyListSubItemClickHandler(object sender, SubItemEventArgs e) { ListViewSubItemEx subEx = e.Item.SubItems[e.SubItem] as ListViewSubItemEx; if (subEx != null && subEx.ReadOnly) { return; } TextBox econtrol = new TextBox { Parent = this, TabStop = false }; _propertyList.StartEditing(econtrol, e.Item, e.SubItem); }