Skip to main content

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