ITabTableStyles.Count

Syntax

Count: Integer;

Description

The Count property returns the number of formatting styles in the collection.

Example

Executing the example requires a form with the Button1 button located on it, the UiTabSheet component named UiTabSheet1 and the TabSheetBox component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

TSheet: ITabSheet;

TTStyles: ITabTableStyles;

i: Integer;

Begin

TSheet := UiTabSheet1.TabSheet;

TTStyles := TSheet.TableStyles;

i := TTStyles.Count;

End Sub Button1OnClick;

After executing the example the "i" variable will contain the number of styles in the collection.

See also:

ITabTableStyles