DiagramItem.CollapseButtonPosition Property

Gets or sets the position of the collapse button.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll


[DefaultValue(typeof(PointFloat), "0.5,1")]
public virtual PointFloat CollapseButtonPosition { get; set; }
<DefaultValue(GetType(PointFloat), "0.5,1")>
Public Overridable Property CollapseButtonPosition As PointFloat

Property Value

Type Default Description


PointFloat object that specifies the position of the collapse button in relative coordinates. 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