C# Class ComponentFactory.Krypton.Toolkit.ViewDrawMenuCheckButton

Inheritance: ViewComposite
Afficher le fichier Open project: ComponentFactory/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.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuCheckButton ( IContextMenuProvider provider, KryptonContextMenuCheckButton checkButton ) : System

Initialize a new instance of the ViewDrawMenuCheckButton class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
OnClick ( object sender, EventArgs e ) : void
OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
OnPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

Close() public méthode

Raises the Close event on the provider.
public Close ( CloseReasonEventArgs e ) : void
e 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

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetPreferredSize() public méthode

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

Layout() public méthode

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Résultat void

ToString() public méthode

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

ViewDrawMenuCheckButton() public méthode

Initialize a new instance of the ViewDrawMenuCheckButton class.
public ViewDrawMenuCheckButton ( IContextMenuProvider provider, KryptonContextMenuCheckButton checkButton ) : System
provider IContextMenuProvider Reference to provider.
checkButton KryptonContextMenuCheckButton Reference to owning check button entry.
Résultat System