C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonAppMenuRecentDec

Draw the image/text of a recent document in the application menu.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewDrawCanvas
Datei anzeigen Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
Close ( CloseReasonEventArgs e ) : void

Raises the Close event on the provider.

Closing ( CancelEventArgs cea ) : void

Raises the Closing event on the provider.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawRibbonAppMenuRecentDec ( KryptonRibbon ribbon, IContextMenuProvider provider, KryptonRibbonRecentDoc recentDoc, int maxWidth, NeedPaintHandler needPaintDelegate, int index ) : System

Initialize a new instance of the ViewDrawRibbonAppMenuRecentDec class.

Method Details

Close() public method

Raises the Close event on the provider.
public Close ( CloseReasonEventArgs e ) : void
e ComponentFactory.Krypton.Toolkit.CloseReasonEventArgs A CancelEventArgs containing the event data.
return void

Closing() public method

Raises the Closing event on the provider.
public Closing ( CancelEventArgs cea ) : void
cea CancelEventArgs A CancelEventArgs containing the event data.
return void

GetPreferredSize() public method

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
return System.Drawing.Size

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

ViewDrawRibbonAppMenuRecentDec() public method

Initialize a new instance of the ViewDrawRibbonAppMenuRecentDec class.
public ViewDrawRibbonAppMenuRecentDec ( KryptonRibbon ribbon, IContextMenuProvider provider, KryptonRibbonRecentDoc recentDoc, int maxWidth, NeedPaintHandler needPaintDelegate, int index ) : System
ribbon KryptonRibbon Reference to owning ribbon instance.
provider IContextMenuProvider Provider of context menu information.
recentDoc KryptonRibbonRecentDoc Source rencent document instance.
maxWidth int Maximum width allowed for the item.
needPaintDelegate NeedPaintHandler Delegate for requesting paint updates.
index int Recent documet index.
return System