public ViewDrawRibbonContextTitle ( KryptonRibbon ribbon, IPaletteRibbonBack inherit ) : System | ||
ribbon | KryptonRibbon | Source ribbon control. |
inherit | IPaletteRibbonBack | Source for inheriting the ribbon bacgkground colors. |
Результат | System |
public ViewDrawRibbonContextTitle(KryptonRibbon ribbon,
IPaletteRibbonBack inherit)
{
Debug.Assert(ribbon != null);
Debug.Assert(inherit != null);
// Remember incoming references
_inherit = inherit;
_ribbon = ribbon;
// Use a class to convert from ribbon tab to content interface
_contentProvider = new ContextToContent(ribbon.StateCommon.RibbonGeneral);
}