Visual Parts Reference : Parts Reference : Container Details : Container Details general advice : Common parts enabled on container details column
Common parts enabled on container details column
Common parts such as drop-down lists and combo boxes can now be added to any given column. The ability to add different controls to columns can make your user interface simpler and more attractive to use. The parts you can apply to a column are:
combo boxes
radio button sets
spin buttons
text parts
toggle buttons
To apply a common part to a given column, use the editPolicyType attribute on the Container Details Column. This attribute provides a drop-down list of the available parts. Each column in a given set of container details columns can have its own edit policy according to your requirements. Once you have selected an editPolicyType for a given column, define the editPolicyItems and converter properties based upon the kind of part you have chosen for the column. Note that you can also define your editPolicyItems at run-time with a script connection if desired (AbtContainerColorsExampleView shows an example of this).
The AbtContainerEditPoliciesExamplesView shows a sample view with each of the edit policies you can apply to a given column and the sample further illustrates how to define the editPolicyItems and converter properties for each edit policy shown.
Last modified date: 01/29/2015