SkinManager.GetSkinElement(SkinProductId, ISkinProvider, String) Method

Returns a skin element with the specified name of a control in the specified product displayed using the specified skin provider.

Namespace: DevExpress.Skins

Assembly: DevExpress.Utils.v20.1.dll


public static SkinElement GetSkinElement(
    SkinProductId productId,
    ISkinProvider provider,
    string elementName
Public Shared Function GetSkinElement(
    productId As SkinProductId,
    provider As ISkinProvider,
    elementName As String
) As SkinElement


Name Type Description
productId DevExpress.Skins.SkinProductId

A DevExpress.Skins.SkinProductId enumeration value that specifies the product in which the required element is contained.

provider DevExpress.Skins.ISkinProvider

An object implementing the DevExpress.Skins.ISkinProvider interface that is used for painting controls.

elementName String

A String value that specifies the name of the required element.


Type Description

A DevExpress.Skins.SkinElement object that represents a skin element of a control.


You can get an access code to any skin element in Skin Editor. To do this, right-click this element in the Elements panel, and choose "Element Access Code...".


See the Creating New Skins topic to learn how to create custom skins in Skin Editor.

See Also