RibbonMenuButton.IsDropDownPositionedAbove Property

Gets a value that indicates whether the menu drop-down is shown above the menu button.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property IsDropDownPositionedAbove As Boolean
public bool IsDropDownPositionedAbove { get; private set; }
public:
property bool IsDropDownPositionedAbove {
    bool get ();
    private: void set (bool value);
}
member IsDropDownPositionedAbove : bool with get, private set
function get IsDropDownPositionedAbove () : boolean
private function set IsDropDownPositionedAbove (value : boolean)

Property Value

Type: System.Boolean
true if the menu drop-down is shown above the menu button; otherwise, false. The registered default is true. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

IsDropDownPositionedAboveProperty

Metadata properties set to true

None

Remarks

The menu-drop is displayed above the menu button if it is near the edge of the screen and there is not enough space for it below the menu button.

.NET Framework Security

See Also

Reference

RibbonMenuButton Class

Microsoft.Windows.Controls.Ribbon Namespace