Adding a User Property to a Style

The tools Styles - Field, Styles - Button, and Styles - Combo Box let you define a user property as part of the style.


If you define a user property and corresponding value, every time you draw an instance of the style the new object will be assigned the property with corresponding value. This is helpful if you want all objects of a given style to have a particular property.


For example, the built in Sticky Note field style has a property of iAmAStickyNote and a value of True. Each field that is created using the Sticky Note style is created with the iAmAStickyNote user property set to True. We can then use this property to find the next page with a sticky note, for instance.