Back to Devexpress

XRControl.ResetBorderDashStyle() Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcontrol-c3373da3.md

latest1.9 KB
Original Source

XRControl.ResetBorderDashStyle() Method

Resets the XRControl.BorderDashStyle property to en empty value.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public virtual void ResetBorderDashStyle()
vb
Public Overridable Sub 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.

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

See Also

Appearance Properties

XRControl Class

XRControl Members

DevExpress.XtraReports.UI Namespace