Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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

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…”.

SkinEditor_GenerateAccessCodeForSkinElement

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

See Also