Dela via


RibbonMenuItem.CanUserResizeVertically Property

Gets or sets a value that indicates whether the user can resize the drop-down vertically.

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

Syntax

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

Property Value

Type: System.Boolean
true if the drop-down can be resized vertically by the user; otherwise, false. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

CanUserResizeVerticallyProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace