ComponentOne True DBGrid Pro 8
Name Property (Style)

This property returns the name of a Style object.

Syntax

style.Name

Remarks

Read-only at run time. Read/Write at design time.

The Name property is set at design time in the Style Factory property page when a style is first created. Styles cannot be renamed, even at design time.

When a TDBGrid control is first created, its Styles collection contains ten built-in styles named Normal, Heading, Footing, Selected, Caption, HighlightRow, EvenRow, OddRow, RecordSelector, and FilterBar.

Note

For an independent style object, the Name property always returns an empty string. An independent style object is not a member of the Styles collection, but is a standalone object created in code with a Dim or Set statement using the New keyword.

See Also

Style Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback