Skip to main content

DocumentViewerRibbonStyles.CopyFrom(StylesBase) Method

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

Namespace: DevExpress.XtraReports.Web.DocumentViewer.Ribbon

Assembly: DevExpress.XtraReports.v24.1.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 DocumentViewerRibbonStyles class which this method is called from.

Note

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

See Also