Tab

MenuItemStyleBase.CopyFrom(Style) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public override void CopyFrom(
    Style style
)

Parameters

Name Type Description
style Style

A StylesBase object that represents the object from which the settings are copied.

Remarks

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

NOTE

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

See Also