C# Class ComponentFactory.Krypton.Toolkit.KryptonGroup

Inheritance: VisualControlContainment
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
CreateControlsInstance System.Windows.Forms.Control.ControlCollection
OnGroupPanelPaint void
ResetGroupBackStyle void
ResetGroupBorderStyle void
ShouldSerializeGroupBackStyle bool
ShouldSerializeGroupBorderStyle bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool

Public Methods

Method Description
GetPreferredSize ( Size proposedSize ) : Size

Get the preferred size of the control based on a proposed size.

KryptonGroup ( ) : System

Initialize a new instance of the KryptonGroup class.

SetFixedState ( PaletteState state ) : void

Fix the control to a particular palette state.

Protected Methods

Method Description
ForceControlLayout ( ) : void

Force the layout logic to size and position the panels.

OnEnabledChanged ( EventArgs e ) : void

Raises the EnabledChanged event.

OnHandleCreated ( EventArgs e ) : void

Raises the HandleCreated event.

OnInitialized ( EventArgs e ) : void

Raises the Initialized event.

OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void

Raises the Layout event.

OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void

Processes a notification from palette storage of a paint and optional layout required.

OnResize ( EventArgs e ) : void

Raises the Resize event.

Private Methods

Method Description
CreateControlsInstance ( ) : Control.ControlCollection
OnGroupPanelPaint ( object sender, NeedLayoutEventArgs e ) : void
ResetGroupBackStyle ( ) : void
ResetGroupBorderStyle ( ) : void
ShouldSerializeGroupBackStyle ( ) : bool
ShouldSerializeGroupBorderStyle ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool

Method Details

ForceControlLayout() protected method

Force the layout logic to size and position the panels.
protected ForceControlLayout ( ) : void
return void

GetPreferredSize() public method

Get the preferred size of the control based on a proposed size.
public GetPreferredSize ( Size proposedSize ) : Size
proposedSize System.Drawing.Size Starting size proposed by the caller.
return System.Drawing.Size

KryptonGroup() public method

Initialize a new instance of the KryptonGroup class.
public KryptonGroup ( ) : System
return System

OnEnabledChanged() protected method

Raises the EnabledChanged event.
protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnHandleCreated() protected method

Raises the HandleCreated event.
protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void

OnInitialized() protected method

Raises the Initialized event.
protected OnInitialized ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnLayout() protected method

Raises the Layout event.
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs An EventArgs that contains the event data.
return void

OnNeedPaint() protected method

Processes a notification from palette storage of a paint and optional layout required.
protected OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
sender object Source of notification.
e NeedLayoutEventArgs An NeedLayoutEventArgs containing event data.
return void

OnResize() protected method

Raises the Resize event.
protected OnResize ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

SetFixedState() public method

Fix the control to a particular palette state.
public SetFixedState ( PaletteState state ) : void
state PaletteState Palette state to fix.
return void