Skip to main content
Tab

StylesBase.CreateStyleCopyByName<T>(String) Method

Creates and returns a copy of a style object with the specified name.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public T CreateStyleCopyByName<T>(
    string styleName
)
    where T : AppearanceStyleBase, new()

#Parameters

Name Type Description
styleName String

A String containing the name of the style is being copied.

#Type Parameters

Name
T

#Returns

Type Description
T

A style object which is a copy of the specified style.

See Also