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.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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