Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

public static SkinElement GetSkinElement(
    SkinProductId productId,
    ISkinProvider provider,
    string elementName
)

Parameters

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.

Returns

Type Description
DevExpress.Skins.SkinElement

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

Remarks

To get the access code to a required skin element while using theSkin Editor, click the Generate Access Code button in the Hit Elements panel.

SkinEditor_GenerateAccessCodeForSkinElement

For an in-depth discussion on how to create a custom skin, see the Creating New Skins topic.

See Also