Skip to main content

DocumentViewerViewerStyles.CopyFrom(StylesBase) Method

Duplicates the properties of the specified object into the current instance of the DocumentViewerViewerStyles class.

Namespace: DevExpress.XtraReports.Web.DocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

public override void CopyFrom(
    StylesBase source
)

Parameters

Name Type Description
source StylesBase

A StylesBase descendant that is the object whose settings will be copied.

Remarks

Use the CopyFrom method to duplicate the properties of the specified StylesBase descendant into the instance of the DocumentViewerViewerStyles class which this method is called from.

Note

All properties, including those that have been set in the current instance of the DocumentViewerViewerStyles class, will be replaced by the associated property in the StylesBase descendant specified by the source parameter.

See Also