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

Length.UnitValue Property

Gets or sets the numeric representation for the length of a Stack Group, RowDefinition or ColumnDefinition.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(1)]
[XtraSerializableProperty]
public double UnitValue { get; set; }

#Property Value

Type Default Description
Double 1

A Double value that specifies the Stack Group (RowDefinition, ColumnDefinition) length.

#Remarks

The UnitValue property specifies either the precise number of pixels the object occupies, or this object’s relative length multiplier. The option chosen depends on the Length.UnitType property value. See the Widget View topic for details.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnitValue property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also