Skip to main content
All docs
V24.1

DxHtmlElement.HasTag(DxHtmlElement, String, Boolean) Method

Namespace: DevExpress.Utils.Html

Assembly: DevExpress.Data.Desktop.v24.1.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

public static bool HasTag(
    DxHtmlElement element,
    string tagName,
    bool includeAncestors = true
)

Parameters

Name Type
element DxHtmlElement
tagName String

Optional Parameters

Name Type Default
includeAncestors Boolean True

Returns

Type
Boolean
See Also