Attached dependency property to add a id to WPF Tollbars or Menus. Menu or Toolbar (or ToolBarTray) is a valid merge host then.

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

Syntax

C#
public static readonly DependencyProperty IdProperty
Visual Basic
Public Shared ReadOnly IdProperty As DependencyProperty
Visual C++
public:
static initonly DependencyProperty^ IdProperty

Remarks

Object must be derived from ItemsControl or ToolBarTray to attach this property!

See Also