All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XtraBaseArgs.AllowTrimCaption Property

Gets or sets whether the XtraDialog or XtraMessageBox trims the caption to accommodate the contents.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll

Declaration

public bool AllowTrimCaption { get; set; }

Property Value

Type Default Description
Boolean

true

true, if the control trims the caption to accommodate the contents; false, if the control stretches and attempts to show the entire caption.

Remarks

The example below demonstrates how XtraMessageBox trims the caption to accommodate the message text length.

AllowTrimCaptionTrue

The XtraMessageBox stretches to display the entire caption.

AllowTrimCaptionFalse

See Also