Ejemplo n.º 1
0
 /// <summary>
 /// Inserts the specified item at the desired index
 /// </summary>
 /// <param name="index">Desired index of the item</param>
 /// <param name="item">Item to insert</param>
 public new void Insert(int index, RibbonItem item)
 {
     item.MaxSizeMode = RibbonElementSizeMode.Compact;
     item.SetOwnerGroup(OwnerGroup);
     base.Insert(index, item);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the value of the OwnerList property
 /// </summary>
 /// <param name="ownerList"></param>
 internal virtual void SetOwnerGroup(RibbonItemGroup ownerGroup)
 {
     _ownerItem = ownerGroup;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Adds the specified item to the collection
 /// </summary>
 public new void Add(RibbonItem item)
 {
     item.MaxSizeMode = RibbonElementSizeMode.Compact;
     item.SetOwnerGroup(OwnerGroup);
     base.Add(item);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Sets the value of the <see cref="OwnerItem"/> property
 /// </summary>
 /// <param name="item"></param>
 internal virtual void SetOwnerItem(RibbonItem item)
 {
     _ownerItem = item;
 }