/// <summary>
 /// Initialize a new instance of the PaletteNavigatorOtherEx class.
 /// </summary>
 /// <param name="redirect">Inheritence redirection instance.</param>
 /// <param name="needPaint">Delegate for notifying paint requests.</param>
 public PaletteNavigatorOtherEx(PaletteNavigatorRedirect redirect,
                                NeedPaintHandler needPaint)
     : base(redirect, needPaint)
 {
     // Create the palette storage
     Separator = new PaletteSeparatorPadding(redirect.Separator, redirect.Separator, needPaint);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialize a new instance of the PaletteNavigatorOther class.
 /// </summary>
 /// <param name="redirect">Inheritence redirection instance.</param>
 /// <param name="needPaint">Delegate for notifying paint requests.</param>
 public PaletteNavigatorOther(PaletteNavigatorRedirect redirect,
                              NeedPaintHandler needPaint)
 {
     // Create the palette storage
     CheckButton    = new PaletteTriple(redirect.CheckButton, needPaint);
     OverflowButton = new PaletteTriple(redirect.OverflowButton, needPaint);
     MiniButton     = new PaletteTriple(redirect.MiniButton, needPaint);
     Tab            = new PaletteTabTriple(redirect.Tab, needPaint);
     RibbonTab      = new PaletteRibbonTabContent(redirect.RibbonTab.TabDraw, redirect.RibbonTab.TabDraw, redirect.RibbonTab.Content, needPaint);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initialize a new instance of the PaletteNavigatorNormabled class.
 /// </summary>
 /// <param name="redirect">Inheritence redirection instance.</param>
 /// <param name="needPaint">Delegate for notifying paint requests.</param>
 public PaletteNavigator(PaletteNavigatorRedirect redirect,
                         NeedPaintHandler needPaint)
     : base(redirect, needPaint)
 {
     // Create the palette storage
     PalettePage    = new PalettePage(redirect.PalettePage, needPaint);
     HeaderGroup    = new PaletteNavigatorHeaderGroup(redirect.HeaderGroup, redirect.HeaderGroup.HeaderPrimary, redirect.HeaderGroup.HeaderSecondary, redirect.HeaderGroup.HeaderBar, redirect.HeaderGroup.HeaderOverflow, needPaint);
     CheckButton    = new PaletteTriple(redirect.CheckButton, needPaint);
     OverflowButton = new PaletteTriple(redirect.OverflowButton, needPaint);
     MiniButton     = new PaletteTriple(redirect.MiniButton, needPaint);
     BorderEdge     = new PaletteBorderEdge(redirect.BorderEdge, needPaint);
     Separator      = new PaletteSeparatorPadding(redirect.Separator, redirect.Separator, needPaint);
     Tab            = new PaletteTabTriple(redirect.Tab, needPaint);
     RibbonTab      = new PaletteRibbonTabContent(redirect.RibbonTab.TabDraw, redirect.RibbonTab.TabDraw, redirect.RibbonTab.Content, needPaint);
 }