Esempio n. 1
0
 /// <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
     _paletteSeparator = new PaletteSeparatorPadding(redirect.Separator, redirect.Separator, needPaint);
 }
 /// <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
     _paletteCheckButton    = new PaletteTriple(redirect.CheckButton, needPaint);
     _paletteOverflowButton = new PaletteTriple(redirect.OverflowButton, needPaint);
     _paletteMiniButton     = new PaletteTriple(redirect.MiniButton, needPaint);
     _paletteTab            = new PaletteTabTriple(redirect.Tab, needPaint);
     _paletteRibbonTab      = new PaletteRibbonTabContent(redirect.RibbonTab.TabDraw, redirect.RibbonTab.TabDraw, redirect.RibbonTab.Content, needPaint);
 }
Esempio 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);
     _paletteHeaderGroup    = new PaletteNavigatorHeaderGroup(redirect.HeaderGroup, redirect.HeaderGroup.HeaderPrimary, redirect.HeaderGroup.HeaderSecondary, redirect.HeaderGroup.HeaderBar, redirect.HeaderGroup.HeaderOverflow, needPaint);
     _paletteCheckButton    = new PaletteTriple(redirect.CheckButton, needPaint);
     _paletteOverflowButton = new PaletteTriple(redirect.OverflowButton, needPaint);
     _paletteMiniButton     = new PaletteTriple(redirect.MiniButton, needPaint);
     _paletteBorderEdge     = new PaletteBorderEdge(redirect.BorderEdge, needPaint);
     _paletteSeparator      = new PaletteSeparatorPadding(redirect.Separator, redirect.Separator, needPaint);
     _paletteTab            = new PaletteTabTriple(redirect.Tab, needPaint);
     _paletteRibbonTab      = new PaletteRibbonTabContent(redirect.RibbonTab.TabDraw, redirect.RibbonTab.TabDraw, redirect.RibbonTab.Content, needPaint);
 }