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

BarCodePropertyProvider.YToXRatio Property

Gets or sets the height-to-width ratio of a logical unit’s graphic representation. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public float YToXRatio { get; set; }

#Property Value

Type Description
Single

A System.Single value specifying the height-to-width ratio of a logical unit’s graphic representation.

#Remarks

Use the YToXRatio property to control the height-to-width ratio of the graphic representation of a barcode’s logical unit.

To manage the logical dimensions of the barcode, use the BarCodePropertyProvider.Rows and BarCodePropertyProvider.Columns properties.

See Also