public PaletteRibbonDoubleRedirect(PaletteRedirect redirect,
PaletteRibbonBackStyle backStyle,
PaletteRibbonTextStyle textStyle,
NeedPaintHandler needPaint)
{
Debug.Assert(redirect != null);
// Store the provided paint notification delegate
NeedPaint = needPaint;
// Store the inherit instances
_inheritBack = new PaletteRibbonBackInheritRedirect(redirect, backStyle);
_inheritText = new PaletteRibbonTextInheritRedirect(redirect, textStyle);
// Define default values
_backColor1 = Color.Empty;
_backColor2 = Color.Empty;
_backColor3 = Color.Empty;
_backColor4 = Color.Empty;
_backColor5 = Color.Empty;
_textColor = Color.Empty;
}