C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutMenuItemSelect

View element that creates and lays out the image list items.
Inheritance: ViewComposite
Exibir arquivo 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.

SyncChildren ( ) : void
ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutMenuItemSelect ( KryptonContextMenuImageSelect itemSelect, IContextMenuProvider provider ) : System

Initialize a new instance of the ViewLayoutMenuItemSelect class.

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

SyncChildren() public method

public SyncChildren ( ) : void
return void

ToString() public method

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

ViewLayoutMenuItemSelect() public method

Initialize a new instance of the ViewLayoutMenuItemSelect class.
public ViewLayoutMenuItemSelect ( KryptonContextMenuImageSelect itemSelect, IContextMenuProvider provider ) : System
itemSelect KryptonContextMenuImageSelect Reference to owning instance.
provider IContextMenuProvider Provider of context menu information.
return System