Gets the priority from an merge item

Namespace: AppCan.wpf.Menus
Assembly: AppCan.wpf (in AppCan.wpf.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static int GetPriorityDef(
	DependencyObject d,
	int defaultValue
)
Visual Basic
Public Shared Function GetPriorityDef ( _
	d As DependencyObject, _
	defaultValue As Integer _
) As Integer
Visual C++
public:
static int GetPriorityDef(
	DependencyObject^ d, 
	int defaultValue
)

Parameters

d
Type: System.Windows..::..DependencyObject
Item
defaultValue
Type: System..::..Int32
Default value

Return Value

Returns the priority from an merge item.

Remarks

If no priority is attached then defaultValue is returned

See Also