FormTreeControl.prefColumnSize(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the preferred column width and height for the form tree control.
public:
override void prefColumnSize(int _width, int _height);
public override void prefColumnSize (int _width, int _height);
override this.prefColumnSize : int * int -> unit
Public Overrides Sub prefColumnSize (_width As Integer, _height As Integer)
Parameters
- _width
- Int32
The preferred height of the control measures in pixels.
- _height
- Int32
The preferred height of the control measures in pixels.
Remarks
The following example shows how to set the preferred width and height of a form tree control.
// The nWidth and nHeight variables were previously assigned
// as int variables.
// The ctrl variable was previously assigned
// as a FormTreeControl value.
ctrl.prefColumnSize( nWidth, nHeight);