Skip to main content
Tab

Margins.CopyFrom(Margins) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public void CopyFrom(
    Margins margins
)

Parameters

Name Type Description
margins Margins

A Paddings object that is the object that the settings will be copied from.

Remarks

Use the CopyFrom method to duplicate the properties of the specified Margins object into the instance of the Margins class that this method is called from.

Note

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

See Also