Returns the value of the SubmenuBackground 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 Brush GetSubmenuBackground(
	MenuBase obj
)
Visual Basic
Public Shared Function GetSubmenuBackground ( 
	obj As MenuBase
) As Brush

Parameters

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

Return Value

Type: Brush
The size of the background of the submenu.

Exceptions

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

Contracts

See Also