public override RadDropDownMenu MergeMenus( IContextMenuManager contextMenuManager, params object[] parameters) { if (this.ViewTemplate.AllowCellContextMenu) { return(base.MergeMenus(contextMenuManager, parameters)); } return((RadDropDownMenu)null); }
public virtual RadDropDownMenu MergeMenus( IContextMenuManager contextMenuManager, params object[] parameters) { if (this.oldContextMenu != null) { this.oldContextMenu.Items.Clear(); this.oldContextMenu.Dispose(); } RadDropDownMenu radDropDownMenu = new RadDropDownMenu(); this.TableElement.GetCellElement((GridViewRowInfo) this.ViewInfo.TableHeaderRow, this.ColumnInfo)?.MergeMenus(radDropDownMenu); this.CreateContextMenuItems(radDropDownMenu); this.RowElement?.MergeMenus(radDropDownMenu); this.oldContextMenu = radDropDownMenu; return radDropDownMenu; }
public virtual RadDropDownMenu MergeMenus( IContextMenuManager contextMenuManager, params object[] parameters) { return((RadDropDownMenu)null); }