Skip to main content

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

XRControl.ResetBorderDashStyle() Method

In This Article

Resets the XRControl.BorderDashStyle property to en empty value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.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