Back to Devexpress

PopupMenu.MinWidth Property

windowsforms-devexpress-dot-xtrabars-dot-popupmenu-c12fb0d2.md

latest1.5 KB
Original Source

PopupMenu.MinWidth Property

Gets or sets the popup menu’s minimum width.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(0)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public virtual int MinWidth { get; set; }
vb
<DefaultValue(0)>
<DXCategory("Appearance")>
<XtraSerializableProperty>
Public Overridable Property MinWidth As Integer

Property Value

TypeDefaultDescription
Int320

An integer value that specifies the popup menu’s minimum width.

|

Remarks

By default, the popup menu’s width is set to a value that allows all menu items to be displayed entirely. The MinWidth property allows you to set the popup menu’s width to any custom value. For instance, you can set it to a larger value than the minimum value required to display items in their entirety.

See Also

PopupMenu Class

PopupMenu Members

DevExpress.XtraBars Namespace