C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonAppMenuRecentDec

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

Méthodes publiques

Méthode 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 méthode

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

Closing() public méthode

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

GetPreferredSize() public méthode

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

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewDrawRibbonAppMenuRecentDec() public méthode

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.
Résultat System