Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Reporting.Core


public virtual PaddingInfo SnapLineMargin { get; set; }

Property Value

Type Description

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


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).


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