Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.Win

#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.

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

See Also