C# Class Habanero.Faces.Win.TabControlWin

Manages a related set of tab pages
Inheritance: System.Windows.Forms.TabControl, ITabControl
Show file Open project: Chillisoft/habanero.faces

Private Properties

Property Type Description
BindMouseWheelToTabScroll void
MousePositionInTabArea bool
ScrollToApplicableTab void

Public Methods

Method Description
AddControl ( IControlHabanero contentControl, string headingText, int minimumControlHeight, int minimumControlWidth ) : IControlHabanero

Adds an IControlHabanero to this control. The contentControl is wrapped in the appropriate Child Control Type.

TabControlWin ( ) : System.Collections

Private Methods

Method Description
BindMouseWheelToTabScroll ( ) : void
MousePositionInTabArea ( MouseEventArgs mouseEventArgs ) : bool
ScrollToApplicableTab ( MouseEventArgs mouseEventArgs ) : void

Method Details

AddControl() public method

Adds an IControlHabanero to this control. The contentControl is wrapped in the appropriate Child Control Type.
public AddControl ( IControlHabanero contentControl, string headingText, int minimumControlHeight, int minimumControlWidth ) : IControlHabanero
contentControl IControlHabanero The control that is being placed as a child within this control. The content control could be /// a Panel of .s or any other child control
headingText string The heading text that will be shown as the Header for this Group e.g. For a /// this will be the Text shown in the Tab for a this will be the text shown /// on the Collapse Panel and for an this will be the title of the Group Box.
minimumControlHeight int The minimum height that the can be. /// This height along with any other spacing required will be used as the minimum height for the ChildControlCreated ///
minimumControlWidth int The minimum width that the contentControl can be
return IControlHabanero

TabControlWin() public method

public TabControlWin ( ) : System.Collections
return System.Collections