Skip to main content

XRControl.ResetBorderDashStyle() Method

Resets the XRControl.BorderDashStyle property to en empty value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public virtual void ResetBorderDashStyle()

Remarks

If the XRControl.BorderDashStyle property’s value is not set for the current report control, its value is obtained from its parent, or a parent of its parent and so on. So, if it is set in the current control, it starts overriding its parent’s BorderDashStyle property value.

Then, if it is necessary to remove the current control’s BorderDashStyle property value and start using its parent’s BorderDashStyle again, you can right-click the Properties window at design time and choose the Reset option, as shown in the image below.

AppearanceProperties_1

And the ResetBorderDashStyle method is intended to do the same action at runtime.

See Also