Count: Integer;
The property is read-only.
The Count property returns the number of formatting styles in the collection.
To execute the example a form, a button on this form named Button1, 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: