C# Class ComponentFactory.Krypton.Toolkit.ViewDrawMenuLinkLabel

Inheritance: ViewComposite
Mostra file Open project: ComponentFactory/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.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuLinkLabel ( IContextMenuProvider provider, KryptonContextMenuLinkLabel linkLabel ) : System

Initialize a new instance of the ViewDrawMenuLinkLabel class.

Private Methods

Method Description
OnClick ( object sender, EventArgs e ) : void
OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
OnPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

Close() public method

Raises the Close event on the provider.
public Close ( CloseReasonEventArgs e ) : void
e 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 ViewLayoutContext Layout context.
return System.Drawing.Size

Layout() public method

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
return void

ToString() public method

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

ViewDrawMenuLinkLabel() public method

Initialize a new instance of the ViewDrawMenuLinkLabel class.
public ViewDrawMenuLinkLabel ( IContextMenuProvider provider, KryptonContextMenuLinkLabel linkLabel ) : System
provider IContextMenuProvider Reference to provider.
linkLabel KryptonContextMenuLinkLabel Reference to owning link label entry.
return System