Property MenuBar NamespaceAlternet.UI AssemblyAlternet.UI.Common.dll MenuBar Gets the MainMenu associated with this element, if any. public override MainMenu? MenuBar { get; } Property Value MainMenu Remarks This property traverses the logical tree of the element to locate the nearest MainMenu ancestor. It returns null if no such ancestor exists.