Dela via


RibbonMenuItem.CanUserResizeHorizontally Property

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

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

Syntax

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

Property Value

Type: System.Boolean
true if the drop-down can be resized horizontally 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

CanUserResizeHorizontallyProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace