Tab

MenuStyle.CopyFrom(Style) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public override void CopyFrom(
    Style style
)

Parameters

Name Type Description
style Style

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

Remarks

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

NOTE

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

See Also