Skip to main content

DiagramItem.CollapseButtonOffset Property

Gets or sets the collapse button’s offset.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DefaultValue(typeof(PointFloat), "0,15")]
[DiagramCategory(DiagramCategory.ExpandAndCollapse)]
public virtual PointFloat CollapseButtonOffset { get; set; }

Property Value

Type Default Description
PointFloat "0,15"

A PointFloat object that is the collapse button’s offset.

Remarks

The DiagramItem.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 CollapseButtonOffset property specifies the offset in absolute coordinates.

See Also