Returns the value of the ArrowMargin dependency property for the specified control.

Namespace: Elysium.Parameters
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
public static Thickness GetArrowMargin(
	MenuItem obj
)
Visual Basic
Public Shared Function GetArrowMargin ( 
	obj As MenuItem
) As Thickness

Parameters

obj
Type: System.Windows.Controls..::..MenuItem
The control, for which the value of the property is being got.

Return Value

Type: Thickness
The margin of the arrow in the MenuItem control MenuItem.

Exceptions

ExceptionCondition
System..::..ArgumentNullException The parameter obj has a value null.

Contracts

Requires
obj != null
Ensures
The being returned value is positive.

See Also