Gets or sets the template applied to the MenuItem when it is a top-level menu item that can invoke commands (that is, it is displayed on the top-level menu bar, but when clicked triggers a command rather than displaying a drop-down menu). This is a dependency property.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public ControlTemplate TopLevelItemTemplate { get; set; }
Visual Basic
Public Property TopLevelItemTemplate As ControlTemplate
	Get
	Set
Visual C++
public:
property ControlTemplate^ TopLevelItemTemplate {
	ControlTemplate^ get ();
	void set (ControlTemplate^ value);
}

See Also