C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutMenuSepGap

Positions a separator to take up space without drawing.
Inheritance: ViewLayoutSeparator
ファイルを表示 Open project: ComponentFactory/Krypton

Public Methods

Method Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutMenuSepGap ( PaletteContextMenuRedirect stateCommon, bool standardStyle ) : System

Initialize a new instance of the ViewLayoutMenuSepGap class.

Method Details

GetPreferredSize() public method

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

ToString() public method

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

ViewLayoutMenuSepGap() public method

Initialize a new instance of the ViewLayoutMenuSepGap class.
public ViewLayoutMenuSepGap ( PaletteContextMenuRedirect stateCommon, bool standardStyle ) : System
stateCommon PaletteContextMenuRedirect Source of palette values.
standardStyle bool Draw items with standard or alternate style.
return System