Property Settings -- IContainerColumn

Use the following properties to define initial characteristics of an IContainerColumn* part.

IContainerColumn properties

Column definition
The attribute and data type that are represented by the container column. This is defined as a column definition property.

data
The style settings for container column data. This is defined as a style property. The individual styles are described as IContainerColumn data style properties.

dataOffset
The offset of column data in container objects.

displayWidth
The displayable width of the container column, in pixels.

headingIcon
Specifies an icon for the container column title. This is defined as a resource property. Icons are not supported for column titles in native Windows containers.

headingText
Text for the container column title.

headingWriteable
Sets the readOnlyHeading title style. If this property is true, the style is set to off. Editing is not supported for column titles in native Windows containers.

helpId
The ID of the help panel for the container column. To display the help, you must add an IHelpWindow* part to the composite part for the primary application window.

partName
The composition name of the part. This name is used for the class instance in generated code.

title
The style settings for the container column title. This is defined as a style property. The individual styles are described as IContainerColumn title style properties.

visible
Sets the visible style. If this property is true, the style is set to on.

writeable
Specifies whether the user can edit the contents of the entry field. For a read-only drop-down container column, the default is false. For other container column types, the default is true.

IContainerColumn data style properties

add default bits
Specifies whether the default data style settings are used as a base for part data styles. The initial value is true. The default data style is shipped with the following styles on:

handleDrawItem
Specifies whether custom drawing is performed for container objects. To process custom drawing requests, a handler derived from ICnrDrawHandler must be added to the container handlers list. Custom background drawing is not supported for objects in native Windows containers.

horizontalSeparator
Specifies whether a horizontal separator is drawn beneath the container column title.

invisible
Specifies whether the container column is visible. If this style is on, the column is not visible.

readOnly
Specifies whether the user can edit the data text.

verticalSeparator
Specifies whether a vertical separator is drawn after the container column. This is not supported in native Windows containers.

IContainerColumn title style properties

add default bits
Specifies whether the default heading style settings are used as a base for part title styles. The initial value is true. The default heading style is shipped with the following styles on:

readOnlyHeading
Specifies whether the user can edit the heading text. Editing is not supported for column headings in native Windows containers.


Related procedures
Working with IContainerColumn Parts
Editing Part Properties

Related references
Style Properties
Size and Position Properties
Code Properties
Resource Properties
Container Column Definition Properties
IContainerColumn
Portability -- IContainerColumn
VisualAge User Interface Part Properties