The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.1.dll

Declaration

[SRCategory(ReportStringId.CatDesign)]
public virtual PaddingInfo SnapLineMargin { get; set; }
<SRCategory(ReportStringId.CatDesign)>
Public Overridable Property SnapLineMargin As PaddingInfo

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