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

ISlideGroupDefaultProperties.ItemLengthRatio Property

Gets or sets the length of the current SlideGroup‘s Documents relative to this SlideGroup’s visible space.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

double? ItemLengthRatio { get; set; }

#Property Value

Type Description
Nullable<Double>

A Double value that is the length of the current SlideGroup‘s Documents relative to this SlideGroup’s visible space.

#Remarks

Documents within a SlideGroup are arranged in a single column or row and automatically gain a certain length. You can manually change this length via the following properties and methods:

  • the ISlideGroupDefaultProperties.ItemLength property specifies the specific length common to all Documents within a SlideGroup;
  • the ItemLengthRatio property specifies the Documents’ length as a percentage of the available space;
  • the DocumentGroup.SetLength method sets the specific length for an individual Document.

You can also use the ISlideGroupProperties.ItemLengthRatio property to specify this relative length common to all SlideGroups within a View.

See Also