ComponentOne True DBInput Pro 8.0
Parent Property (StyleSet)

Sets/returns the name of style to inherit its settings.

Syntax

object.Parent= StyleSet

Read/Write at run time. Not available at design time.

Remarks

Sometimes it may become too much of a hassle to set the properties of an object each time. To simplify all this, the Parent property was provided where the contents of an existing style can be used to initialize an object. This property makes it easier and faster for the user by creating a complete clone of the parent object.

This property also allows you to pass in an object or an index number that points to an element within the StyleSetsCollection.

When a StyleSet object is first created, the Parent property will be set as Nothing by default.

All properties except for the Key property will be used for an initialization. Keys need to be unique throughout the collection.

See Also

Key Property (StyleSet)

 

 


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

Product Support Forum  |  Documentation Feedback