Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShapeText.MarginTop Property

Gets or sets the top margin of a shape text.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

float MarginTop { get; set; }

#Property Value

Type Description
Single

A Single value that specifies the top margin in measure units used in the workbook.

#Remarks

Use the MarginTop property to specify the distance between the shape text and the shape’s top border. The MarginTop property value depends on the ShapeText.VerticalAnchor property.

See Also