Styles (PRIM_VCOL)

Styles collection

Ancestors - Collection (PRIM_COLL)Object (PRIM_OBJT)

Details

Collection of Styles to be applied to a control.

Properties

Name

Description

AllowsDuplicates

AllowsDuplicates indicates whether the collection allows duplicates Inherited from Collection (PRIM_COLL)

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

IsEmpty

IsEmpty indicates whether the collection contains any items. Inherited from Collection (PRIM_COLL)

IsOrdered

IsOrdered indicates whether the collection is ordered. Inherited from Collection (PRIM_COLL)

Item

Provides access to a particular item in a collection

ItemCount

ItemCount is the number of items in a collection Inherited from Collection (PRIM_COLL)

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

Events

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created Inherited from Object (PRIM_OBJT)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Object (PRIM_OBJT)

Methods

Name

Description

Add

Add a style to the control

Style

CalculateHash

CalculateHash calculates a hash value Inherited from Collection (PRIM_COLL)

Result, Value

CreateIterator

CreateIterator method creates an iterator component that enables iteration through the collection

Result

Remove

Remove a style from the control

Style

RemoveAll

Remove all added styles from the control


See also

All Component Classes

Technical Reference

  • No labels