Skip to main content
A newer version of this page is available. .
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.v18.2.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