Back to Devexpress

ContextButtonBase.MaxWidth Property

windowsforms-devexpress-dot-utils-dot-contextbuttonbase-531abc45.md

latest1.4 KB
Original Source

ContextButtonBase.MaxWidth Property

Gets or sets the maximum width of the current button.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue(0)]
[DXCategory("Layout")]
public int MaxWidth { get; set; }
vb
<DXCategory("Layout")>
<DefaultValue(0)>
Public Property MaxWidth As Integer

Property Value

TypeDefaultDescription
Int320

An integer value that specifies the maximum width of the current button.

|

Remarks

The MaxWidth property allows you to restrict the maximum width of the current button.

See Also

MaxHeight

ContextButtonBase Class

ContextButtonBase Members

DevExpress.Utils Namespace