C# Class Nexus.UI.Controls.DropDownTabControlDesigner

The designer that controls how the DropDownTabControl behaves and is designed.
Inheritance: System.Windows.Forms.Design.ParentControlDesigner
ファイルを表示 Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
DropDownTabControlDesigner ( ) : System

The default constructor.

InitializeNewComponent ( IDictionary defaultValues ) : void

Adds default tag pages to a new DropDownTabControl.

Protected Methods

Method Description
EnableVerbs ( ) : void

Enables or disables verbs dependent upon the current state of the control.

GetHitTest ( Point point ) : bool

Determines of the control should respond to a mouse click.

Private Methods

Method Description
AddTabPage ( object sender, EventArgs e ) : void

The event handler for the "Add Tab Page" verb.

Adds a new tab page to the control.

RemoveTabPage ( object sender, EventArgs e ) : void

The event handler for the "Remove Tab Page" verb.

Removes the current tab page from the control.

Method Details

DropDownTabControlDesigner() public method

The default constructor.
public DropDownTabControlDesigner ( ) : System
return System

EnableVerbs() protected method

Enables or disables verbs dependent upon the current state of the control.
protected EnableVerbs ( ) : void
return void

GetHitTest() protected method

Determines of the control should respond to a mouse click.
protected GetHitTest ( Point point ) : bool
point Point The point where the mouse was clicked.
return bool

InitializeNewComponent() public method

Adds default tag pages to a new DropDownTabControl.
public InitializeNewComponent ( IDictionary defaultValues ) : void
defaultValues IDictionary The values with which to instantiate the control.
return void