CellContainer
Protected Class CellContainer
Description
A CellContainer is a container DesktopControl that can be used as an interface in a cell in a dataView.

To create your own custom cell containers:

1) Use piDogDataView.CellContainer as the super of a DesktopContainer. Layout the container in the IDE as usual.

2) Handle the PopulateValues event to load values from the DataView or other data storage mechanism
into the controls in the container.

3) Handle the DepopulateValues event to set the container to default values and read
any changes the user has made back into the dataView or other data storage mechanism.

-) Access me.row and me.column to determine the row/column the container will display / is displaying.

-) Access the parent DataView via me.View

-) Set me.WantsEvents to false to prevent interaction and create a display-only container (from the users perspective)

-) Implement PrintHeight to return a height for printing when ExposeAllText is set

-) Impliment the PrintCell event to do your own custom code for printing
Notes
Events
DepopulateValues
Fires when the cell has lost focus. Any changed values should be set in the DataView (me.view)
PopulateValues
Fires when the cell is about to be drawn. Set controls to represent values stored in the DataView (m
PrintCell
Allows custom rendering of the cell when printing.
SelectedStateChanged
Use this event to update appearance of items when cell is displayed in a selected state or unselecte
SetPrintHeight
Use this event to set a custom print height for the cell. Change the printHeight variable to adjust
Methods
Properties
Column
The column number where the container exists
HasPrintHeight
Set to true to allow calculating of printing height in the CalculatePrintHeight event.
isActiveCell
Whether the container is the active cell.
Printable
If set to false, the container will be skipped during printing and the cell will be rendered a
Printing
True if printing is in progress
Row
The row where the container exists
View
The DataView where the container exists
WantsEvents
Whether the user should be able to interact with the container. Otherwise read only (from the user&a