Skip to main content
Tab

GridViewContextMenuStyles.CopyFrom(GridViewContextMenuStyles) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public virtual void CopyFrom(
    GridViewContextMenuStyles source
)

Parameters

Name Type Description
source GridViewContextMenuStyles

A GridViewContextMenuStyles object that is the object from which the settings will be copied from.

Remarks

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

Note

All properties, including those that have been set in the current object, will be replaced by the associated property in the GridViewContextMenuStyles specified by the style parameter.

See Also