Skip to main content
A newer version of this page is available. .

XRControl.SnapLineMargin Property

Specifies the control’s margins that are maintained when the control is aligned using snap lines.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[SRCategory(ReportStringId.CatDesign)]
public virtual PaddingInfo SnapLineMargin { get; set; }

Property Value

Type Description
PaddingInfo

A PaddingInfo object, containing margins information associated with the control.

Remarks

Use the SnapLineMargin property, to specify indents (in the report’s measurement units) to be maintained around a control, when it is being repositioned or resized using snap lines (when the XtraReport.SnappingMode is set to SnapLines or SnapToGridAndSnapLines).

SnapLines

These indents are also maintained when other report elements are aligned around this control.

Not all descendants of the XRControl class use the SnapLineMargin property. For example, the Band class descendants ignore the SnapLineMargin property. To specify the snap lines indents for report bands, use their Band.SnapLinePadding property.

See Also