DiagramItem.CollapseButtonOffset Property
In This Article
Gets or sets the collapse button’s offset.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.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 |
---|---|---|
Point |
"0,15" | A Point |
#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