Skip to main content
A newer version of this page is available. .

ContextButtonBase.MaxWidth Property

Gets or sets the maximum width of the current button.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v21.1.dll

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

Declaration

[DefaultValue(0)]
[DXCategory("Layout")]
public int MaxWidth { get; set; }

Property Value

Type Default Description
Int32 0

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