FormActiveXControl.widthMode 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.
Overloads
widthMode() |
Gets or sets the calculation mode of the width of the control. |
widthMode(Int32) |
widthMode()
Gets or sets the calculation mode of the width of the control.
public:
override int widthMode();
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public override int widthMode ();
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
override this.widthMode : unit -> int
Public Overrides Function widthMode () As Integer
Returns
An integer value that indicates the current calculation mode.
- Attributes
-
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute
Remarks
Calculate the width according to the following table:
Mode. | Width Calculation. |
---|---|
Exact. | The exact width in pixels of the controls is used. |
Auto. | The width of the control is calculated automatically and the value parameter is ignored. |
Column width. | The layout of the form determines the width of the control. |
The width of the control might change when the mode is set to auto or column width.
Applies to
widthMode(Int32)
public:
override int widthMode(int _value);
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public override int widthMode (int _value);
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
override this.widthMode : int -> int
Public Overrides Function widthMode (_value As Integer) As Integer
Parameters
- _value
- Int32
An Integer data type value that indicates how control width is calculated; optional.
Returns
- Attributes
-
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute