Method | Description | |
---|---|---|
AddNewTab ( ) : GrayIris.Utilities.UI.Controls.YaTabPage |
Adds a "NEW_TAB" at the end of the list of tabs.
|
|
GetLeftScrollButtonRect ( ) : |
Gets the Rectangle that contains the left scroll button.
|
|
GetRightScrollButtonRect ( ) : |
Gets the Rectangle that contains the left scroll button.
|
|
GetTabRect ( int index ) : |
Returns the bounding rectangle for a specified tab in this tab control.
|
|
ScrollTabs ( int amount ) : void |
Scrolls the tabs by the specified amount. Positive amounts will scroll the tabs to the left. Negative amounts will scroll the tabs to the right. |
|
YaTabControl ( ) : System |
Creates a new instance of the YaTabControl class.
|
Method | Description | |
---|---|---|
CreateControlsInstance ( ) : System.Windows.Forms.Control.ControlCollection |
Overriden from Control.
|
|
Dispose ( bool disposing ) : void |
Inherited from Control.
|
|
OnActiveColorChanged ( |
Fires the ActiveColorChanged event.
|
|
OnBorderColorChanged ( |
Fires the BorderColorChanged event.
|
|
OnControlAdded ( System.Windows.Forms.ControlEventArgs cea ) : void |
Overridden. Inherited from Control.
|
|
OnControlRemoved ( System.Windows.Forms.ControlEventArgs cea ) : void |
Overridden. Inherited from Control.
|
|
OnInactiveColorChanged ( |
Fires the InactiveColorChanged event.
|
|
OnMarginChanged ( |
Fires the MarginChanged event.
|
|
OnMouseClick ( MouseEventArgs e ) : void |
Overridden. Inherited from Control.
|
|
OnMouseDown ( MouseEventArgs mea ) : void |
Overridden. Inherited from Control.
|
|
OnMouseLeave ( |
Overridden. Inherited from Control.
|
|
OnMouseMove ( MouseEventArgs mea ) : void |
Overridden. Inherited from Control.
|
|
OnMouseUp ( MouseEventArgs mea ) : void |
Overridden. Inherited from Control.
|
|
OnNewTabButtonClicked ( |
Fires the NewTabButtonClicked event.
|
|
OnPaint ( PaintEventArgs pea ) : void |
Inherited from Control.
|
|
OnScrollButtonStyleChanged ( |
Fires the ScrollButtonStyleChanged event.
|
|
OnSizeChanged ( |
Inherited from Control.
|
|
OnTabChanged ( |
Fires the TabChanged event.
|
|
OnTabChanging ( GrayIris.Utilities.UI.Controls.TabChangingEventArgs tcea ) : void |
Fires the TabChanging event.
|
|
OnTabClosing ( |
Fires the TabClosing event.
|
|
OnTabDockChanged ( |
Fires the TabDockChanged event.
|
|
OnTabDrawerChanged ( |
Fires the TabDrawerChanged event.
|
|
OnTabFontChanged ( |
Fires the TabFontChanged event.
|
Method | Description | |
---|---|---|
CalculateLastVisibleTabIndex ( ) : void |
Calculates the last visible tab shown on the control.
|
|
CalculateRectangles ( ) : void |
Calculates the rectangles for the tab area, the client area, the display area, and the transformed display area.
|
|
CalculateTabLengths ( ) : void |
Calculates and caches the length of each tab given the value of the Control.Text property of each YaTabPage.
|
|
CalculateTabSpan ( ) : void |
Calculates the span of a tab given the value of the Font property.
|
|
ChildTabTextChanged ( object sender, |
Monitors when child YaTabPages have their YaTabPage.Text property changed.
|
|
GetRectangleClose ( |
||
InU ( ) : void |
Invalidates and updates the YaTabControl.
|
|
IsNewTab ( int tabIndex ) : bool |
Indicates whether a given tab index represents the "NEW_TAB"
|
|
YaTabPage_TextChanged ( object sender, |
Handles when the text changes for a control.
|
public AddNewTab ( ) : GrayIris.Utilities.UI.Controls.YaTabPage | ||
return | GrayIris.Utilities.UI.Controls.YaTabPage |
protected CreateControlsInstance ( ) : System.Windows.Forms.Control.ControlCollection | ||
return | System.Windows.Forms.Control.ControlCollection |
protected Dispose ( bool disposing ) : void | ||
disposing | bool |
/// See |
return | void |
public GetLeftScrollButtonRect ( ) : |
||
return |
public GetRightScrollButtonRect ( ) : |
||
return |
public GetTabRect ( int index ) : |
||
index | int | The 0-based index of the tab you want. |
return |
protected OnActiveColorChanged ( |
||
ea |
/// Some |
|
return | void |
protected OnBorderColorChanged ( |
||
ea |
/// Some |
|
return | void |
protected OnControlAdded ( System.Windows.Forms.ControlEventArgs cea ) : void | ||
cea | System.Windows.Forms.ControlEventArgs |
/// See |
return | void |
protected OnControlRemoved ( System.Windows.Forms.ControlEventArgs cea ) : void | ||
cea | System.Windows.Forms.ControlEventArgs |
/// See |
return | void |
protected OnInactiveColorChanged ( |
||
ea |
/// Some |
|
return | void |
protected OnMarginChanged ( |
||
ea |
/// Some |
|
return | void |
protected OnMouseClick ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseDown ( MouseEventArgs mea ) : void | ||
mea | MouseEventArgs |
/// See |
return | void |
protected OnMouseLeave ( |
||
mea |
/// See |
|
return | void |
protected OnMouseMove ( MouseEventArgs mea ) : void | ||
mea | MouseEventArgs |
/// See |
return | void |
protected OnMouseUp ( MouseEventArgs mea ) : void | ||
mea | MouseEventArgs |
/// Some |
return | void |
protected OnNewTabButtonClicked ( |
||
ea |
/// Some |
|
return | void |
protected OnPaint ( PaintEventArgs pea ) : void | ||
pea | PaintEventArgs |
/// See |
return | void |
protected OnScrollButtonStyleChanged ( |
||
ea |
/// Some |
|
return | void |
protected OnSizeChanged ( |
||
e |
/// See |
|
return | void |
protected OnTabChanged ( |
||
ea |
/// Some |
|
return | void |
protected OnTabChanging ( GrayIris.Utilities.UI.Controls.TabChangingEventArgs tcea ) : void | ||
tcea | GrayIris.Utilities.UI.Controls.TabChangingEventArgs |
/// Some |
return | void |
protected OnTabClosing ( |
||
e |
/// Some |
|
return | void |
protected OnTabDockChanged ( |
||
ea |
/// Some |
|
return | void |
protected OnTabDrawerChanged ( |
||
ea |
/// Some |
|
return | void |
protected OnTabFontChanged ( |
||
ea |
/// Some |
|
return | void |
public ScrollTabs ( int amount ) : void | ||
amount | int | /// The number of pixels to scroll the tabs. /// |
return | void |