C# Class Nexus.UI.Controls.VerticalTabControlDesigner

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

Public Methods

Method Description
InitializeNewComponent ( IDictionary defaultValues ) : void

Adds default tag pages to a new VerticalTabControl.

VerticalTabControlDesigner ( ) : System

The default constructor.

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

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 VerticalTabControl.
public InitializeNewComponent ( IDictionary defaultValues ) : void
defaultValues IDictionary The values with which to instantiate the control.
return void

VerticalTabControlDesigner() public method

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