Tab
A newer version of this page is available. Switch to the current version.

StylesBase.CreateStyleCopyByName<T>(String) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public T CreateStyleCopyByName<T>(
    string styleName
)
    where T : AppearanceStyleBase, new()
Public Function CreateStyleCopyByName(Of T As {AppearanceStyleBase, New})(
    styleName As String
) As T

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