Skip to main content

NavBarControl.AllowHorizontalResizing Property

Gets or sets whether a built-in resizer is enabled at the control’s right or left edge (depending on the control’s Dock setting) that allows an end-user to resize the control horizontally.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowHorizontalResizing { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

A value that specifies if the built-in horizontal resizer is enabled. The Default value is equivalent to False.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

You can allow end-users to resize any control at runtime in a number of ways.

For the NavBarControl, you can use the AllowHorizontalResizing property to enable a built-in horizontal resizer. If the NavBarControl is not docked or docked to the left edge of its parent, a built-in resizer is enabled at the NavBarControl’s right edge. If the NavBarControl is docked at the right edge of its parent, the resizer is enabled at the NavBarControl’s left edge.

XtraNavBar-Resizer.gif

The horizontal resizer is not supported when a NavBarControl is placed into a LayoutControl.

See Also