Skip to main content
A newer version of this page is available. .
Tab

GridViewAlternatingRowStyle.CopyFrom(Style) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public override void CopyFrom(
    Style style
)

Parameters

Name Type Description
style Style

A Style object that represents the object from which the settings will be copied.

Remarks

Use the CopyFrom method to duplicate the properties of the specified Style object into the instance of the GridViewAlternatingRowStyle class which this method is called from.

Note

All properties, including those that have been set in the current instance of the GridViewAlternatingRowStyle class, will be replaced by the associated property in the Style specified by the style parameter.

See Also