示例#1
0
 public override RadDropDownMenu MergeMenus(
     IContextMenuManager contextMenuManager,
     params object[] parameters)
 {
     if (this.ViewTemplate.AllowCellContextMenu)
     {
         return(base.MergeMenus(contextMenuManager, parameters));
     }
     return((RadDropDownMenu)null);
 }
示例#2
0
 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;
 }
示例#3
0
 public virtual RadDropDownMenu MergeMenus(
     IContextMenuManager contextMenuManager,
     params object[] parameters)
 {
     return((RadDropDownMenu)null);
 }