A DrawStyle collects styles to be applied to a feature
Ancestors - Object (PRIM_OBJT)
A Drawstyle uses one or more Styles to define the appearance of controls and list features. Drawstyles are generic, allowing styles to be assigned for the normal appearance of a control as well as the MouseOver, Focus and other facets such as how it appears when Mouse down. Drawstyles serve 2 purposes within a Theme. Firstly, they can be used to define abstract styling concepts such as Title, Subheading or Emphasis, similar to a Word document. Secondly, they are used to define the default appearance of controls such as Push Button and List simply by giving the DrawStyle the correct Name. This allows for a convenient global declaration, reducing the need for local styling when editing individual components. Drawstyles defined a base appearance for a control. Local styling can be used to overlay the theme defaults. Themes and drawstyles are tightly intergrated with the IDE, appearing on the Theme sheet of the ribbon, allowing for simple assignment to control as required.
Name | Description |
---|---|
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) |
FocusedInactiveStyle | Style to be applied to the focus item when the control is not focus |
FocusedStyle | Style applied to the control when focus |
MouseOverStyle | Style applied to the control when mouse over |
Name | The name of the Drawstyle |
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) |
PressedStyle | Style applied to the control on mouse down |
SelectedInactiveStyle | Style to be applied to the control when selected but the control is not focus |
SelectedStyle | Style applied to the control when selected |
Style | Style applied to the control |
Name | Description |
---|---|
CreateInstance | CreateInstance is signalled when an instance of a component is created Inherited from DrawStyle (PRIM_THM.DrawStyle) |
DestroyInstance | DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from DrawStyle (PRIM_THM.DrawStyle) |
Febuary 18 V14SP2