FormBuildControl.userWidth 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
userWidth() |
Sets or returns the width of the control in pixels. |
userWidth(Int32) |
userWidth()
Sets or returns the width of the control in pixels.
public:
virtual int userWidth();
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public virtual int userWidth ();
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
abstract member userWidth : unit -> int
override this.userWidth : unit -> int
Public Overridable Function userWidth () As Integer
Returns
The number of pixels that the user specified as the width of the control; 0 (zero) if the user did not specify a character width.
- Attributes
-
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute
Remarks
The userWidth method returns the width in pixels, based on six times the number of characters. For example, if the user has specified 30 characters as the width of the control, the return value is 6 * 30 = 180. To specify the width of the control in characters, users can right-click the control to open the setup form where the character specification is made.
Applies to
userWidth(Int32)
public:
virtual int userWidth(int _value);
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public virtual int userWidth (int _value);
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
abstract member userWidth : int -> int
override this.userWidth : int -> int
Public Overridable Function userWidth (_value As Integer) As Integer
Parameters
- _value
- Int32
The number of pixels to use as the width of the control; optional.
Returns
- Attributes
-
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute