Skip to main content

DiagramControl.Landscape Property

Specifies whether to use the longer dimension of the page size as the page width. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram


public bool Landscape { get; set; }

Property Value

Type Description

true, to use the longer edge of the document size as the page width (landscape orientation); otherwise, false (portrait orientation).


The DiagramControl.PaperKind property allows you to use one of the standard paper sizes as the page size.

See Also