DiagramItem.CollapseButtonOffset Property

Gets or sets the collapse button's offset.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DefaultValue(typeof(PointFloat), "0,15")]
[DiagramCategory(DiagramCategory.ExpandAndCollapse)]
public virtual PointFloat CollapseButtonOffset { get; set; }
<DefaultValue(GetType(PointFloat), "0,15")>
<DiagramCategory(DiagramCategory.ExpandAndCollapse)>
Public Overridable Property CollapseButtonOffset As PointFloat

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