Back to Devexpress

ISlideGroupDefaultProperties.ItemLengthRatio Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-islidegroupdefaultproperties.md

latest2.9 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
double? ItemLengthRatio { get; set; }
vb
Property ItemLengthRatio As Double?

Property Value

TypeDescription
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

ISlideGroupDefaultProperties Interface

ISlideGroupDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace