/// <summary> /// Initialize a new instance of the ViewDrawRibbonRecentDocs class. /// </summary> /// <param name="ribbon">Source ribbon control.</param> public ViewDrawRibbonRecentDocs(KryptonRibbon ribbon) { Debug.Assert(ribbon != null); _ribbon = ribbon; // Use a class to convert from ribbon recent docs to content interface _contentProvider = new RibbonRecentDocsTitleToContent(ribbon.StateCommon.RibbonGeneral, ribbon.StateCommon.RibbonAppMenuDocsTitle); }