Skip to main content

DiagramItem.CollapseButtonPosition Property

Gets or sets the position of the collapse button.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram


public Point CollapseButtonPosition { get; set; }

Property Value

Type Description

Point object that specifies the position of the collapse button. By default, 0.5,1


The CollapseButtonPosition property is set in relative coordinates within the shape border. 0,0 corresponds to the top-left corner of the shape border, 1,1 corresponds to the bottom-right corner. The DiagramItem.CollapseButtonOffset property specifies the offset in absolute coordinates.

See Also