Dela via


RibbonMenuItem.DropDownHeight Property

Gets or sets the height of the drop-down.

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

Syntax

'Declaration
Public Property DropDownHeight As Double
public double DropDownHeight { get; set; }
public:
property double DropDownHeight {
    double get ();
    void set (double value);
}
member DropDownHeight : float with get, set
function get DropDownHeight () : double
function set DropDownHeight (value : double)

Property Value

Type: System.Double
The height of the drop-down. The registered default is Double.NaN. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

DropDownHeightProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace