Example #1
0
 /// <summary>
 /// Sets the inheritence parent.
 /// </summary>
 public virtual void SetInherit(PaletteRibbonRedirect inherit)
 {
     _ribbonAppButton.SetInherit(inherit.RibbonAppButton);
     _ribbonGroupCollapsedBorder.SetInherit(inherit.RibbonGroupCollapsedBorder);
     _ribbonGroupCollapsedBack.SetInherit(inherit.RibbonGroupCollapsedBack);
     _ribbonGroupCollapsedFrameBorder.SetInherit(inherit.RibbonGroupCollapsedFrameBorder);
     _ribbonGroupCollapsedFrameBack.SetInherit(inherit.RibbonGroupCollapsedFrameBack);
     _ribbonGroupCollapsedText.SetInherit(inherit.RibbonGroupCollapsedText);
 }
 /// <summary>
 /// Sets the inheritence parent.
 /// </summary>
 public virtual void SetInherit(PaletteRibbonRedirect inherit)
 {
     _ribbonGroupNormalBorder.SetInherit(inherit.RibbonGroupNormalBorder);
     _ribbonGroupNormalTitle.SetInherit(inherit.RibbonGroupNormalTitle, inherit.RibbonGroupNormalTitle);
     _ribbonGroupCollapsedBorder.SetInherit(inherit.RibbonGroupCollapsedBorder);
     _ribbonGroupCollapsedBack.SetInherit(inherit.RibbonGroupCollapsedBack);
     _ribbonGroupCollapsedFrameBorder.SetInherit(inherit.RibbonGroupCollapsedFrameBorder);
     _ribbonGroupCollapsedFrameBack.SetInherit(inherit.RibbonGroupCollapsedFrameBack);
     _ribbonGroupCollapsedText.SetInherit(inherit.RibbonGroupCollapsedText);
 }
 /// <summary>
 /// Sets the inheritence parent.
 /// </summary>
 public override void SetInherit(PaletteRibbonRedirect inherit)
 {
     base.SetInherit(inherit);
     _ribbonAppButton.SetInherit(inherit.RibbonAppButton);
     _ribbonGroupNormalBorder.SetInherit(inherit.RibbonGroupNormalBorder);
     _ribbonGroupNormalTitle.SetInherit(inherit.RibbonGroupNormalTitle, inherit.RibbonGroupNormalTitle);
     _ribbonGroupCollapsedBorder.SetInherit(inherit.RibbonGroupCollapsedBorder);
     _ribbonGroupCollapsedBack.SetInherit(inherit.RibbonGroupCollapsedBack);
     _ribbonGroupCollapsedFrameBorder.SetInherit(inherit.RibbonGroupCollapsedFrameBorder);
     _ribbonGroupCollapsedFrameBack.SetInherit(inherit.RibbonGroupCollapsedFrameBack);
     _ribbonGroupCollapsedText.SetInherit(inherit.RibbonGroupCollapsedText);
 }