Partilhar via


FormGroupControl.topMargin Method

Definition

Overloads

topMargin()

Sets or returns the top margin for a form group control in pixels and specifies whether the size is automatically adjusted.

topMargin(Int32)
topMargin(Int32, AutoMode)

topMargin()

Sets or returns the top margin for a form group control in pixels and specifies whether the size is automatically adjusted.

public:
 virtual int topMargin();
public virtual int topMargin ();
abstract member topMargin : unit -> int
override this.topMargin : unit -> int
Public Overridable Function topMargin () As Integer

Returns

An integer that specifies the size of the top margin for a form group control in pixels.

Applies to

topMargin(Int32)

public:
 virtual int topMargin(int num1);
public virtual int topMargin (int num1);
abstract member topMargin : int -> int
override this.topMargin : int -> int
Public Overridable Function topMargin (num1 As Integer) As Integer

Parameters

num1
Int32

Returns

Applies to

topMargin(Int32, AutoMode)

public:
 virtual int topMargin(int _value, Microsoft::Dynamics::Ax::Xpp::AutoMode _mode);
public virtual int topMargin (int _value, Microsoft.Dynamics.Ax.Xpp.AutoMode _mode);
abstract member topMargin : int * Microsoft.Dynamics.Ax.Xpp.AutoMode -> int
override this.topMargin : int * Microsoft.Dynamics.Ax.Xpp.AutoMode -> int
Public Overridable Function topMargin (_value As Integer, _mode As AutoMode) As Integer

Parameters

_value
Int32

An AutoMode enumeration value that specifies whether the size of the top margin is fixed, or whether it is automatically adjusted based on other form property settings; optional.

_mode
AutoMode

An AutoMode enumeration value that specifies whether the size of the top margin is fixed, or whether it is automatically adjusted based on other form property settings; optional.

Returns

Applies to