TabPage Class

Constructors & Destructor | Member Functions | Member Variables

Definition

Line 988 of System.Windows/TabControl.cm

Inheritance

Constructors & Destructor

public TabPage(const String<char>& text, const String<char>& key_)

Member Functions

internal void CalculateMetrics(Graphics& graphics, TabControl* tabControl, int& left)
public Result<bool> Close()
internal Result<bool> DrawTab(Graphics& graphics, TabControl* tabControl)
public nothrow TabControl* GetTabControl() const
public inline const String<char>& Key() const
internal Result<bool> MeasureWidthAndHeight(Graphics& graphics, TabControl* tabControl)
protected override Result<bool> OnKeyDown(KeyEventArgs& args)
protected override Result<bool> OnLocationChanged()
protected override Result<bool> OnSizeChanged(SizeChangedEventArgs& args)
protected override Result<bool> OnTextChanged()
public Result<bool> Select()
public Result<bool> SelectNextTabPage()
public Result<bool> SelectPreviousTabPage()
public void SetKey(const String<char>& key_)

Member Variables

private String<char> key
internal Tab tab

Constructor& Destructor Details

TabPage Constructor

public TabPage(const String<char>& text, const String<char>& key_)

Definition
Line 990 of System.Windows/TabControl.cm


Member Function Details

CalculateMetrics Member Function

internal void CalculateMetrics(Graphics& graphics, TabControl* tabControl, int& left)

Definition
Line 1150 of System.Windows/TabControl.cm


Close Member Function

public Result<bool> Close()

Definition
Line 1023 of System.Windows/TabControl.cm


DrawTab Member Function

internal Result<bool> DrawTab(Graphics& graphics, TabControl* tabControl)

Definition
Line 1178 of System.Windows/TabControl.cm


GetTabControl Member Function

public nothrow TabControl* GetTabControl()

Definition
Line 1055 of System.Windows/TabControl.cm


Key Member Function

public inline const String<char>& Key()

Definition
Line 994 of System.Windows/TabControl.cm


MeasureWidthAndHeight Member Function

internal Result<bool> MeasureWidthAndHeight(Graphics& graphics, TabControl* tabControl)

Definition
Line 1124 of System.Windows/TabControl.cm


OnKeyDown Member Function

protected override Result<bool> OnKeyDown(KeyEventArgs& args)

Definition
Line 1090 of System.Windows/TabControl.cm


OnLocationChanged Member Function

protected override Result<bool> OnLocationChanged()

Definition
Line 1065 of System.Windows/TabControl.cm


OnSizeChanged Member Function

protected override Result<bool> OnSizeChanged(SizeChangedEventArgs& args)

Definition
Line 1070 of System.Windows/TabControl.cm


OnTextChanged Member Function

protected override Result<bool> OnTextChanged()

Definition
Line 1075 of System.Windows/TabControl.cm


Select Member Function

public Result<bool> Select()

Definition
Line 1012 of System.Windows/TabControl.cm


SelectNextTabPage Member Function

public Result<bool> SelectNextTabPage()

Definition
Line 1034 of System.Windows/TabControl.cm


SelectPreviousTabPage Member Function

public Result<bool> SelectPreviousTabPage()

Definition
Line 1045 of System.Windows/TabControl.cm


SetKey Member Function

public void SetKey(const String<char>& key_)

Definition
Line 998 of System.Windows/TabControl.cm