Skip to main content
All docs
V23.2

DxHtmlElement Properties

An element of an HTML-CSS template.
Name Description
ChildElementCount Returns the number of elements owned by this HTML element (the length of the DxHtmlElement.Children collection).
Children Returns HTML elements owned by this element. This collection includes only direct children; elements owned by child elements are not included.
ClassName Gets or sets the name of the CSS style applied to this element.
ClientHeight Returns the height of the element’s client area (the area that contains child elements of this HTML element).
ClientLeft Returns the distance between the element’s left border and the left border of this element’s client area (the area that contains child elements of this HTML element).
ClientTop Returns the distance between the element’s top border and the top border of this element’s client area (the area that contains child elements of this HTML element).
ClientWidth Returns the width of the element’s client area (the area that contains child elements of this HTML element).
Disabled Gets or sets whether this element is disabled. Disabled elements do not trigger HtmlElementMouseClick and HtmlElementMouseDown events, and are styled with the “main_class_name:disabled” CSS pseudo-class.
Hidden Gets or sets whether this element is shown on-screen.
Id Gets or sets the unique element identifier. You can search elements by their IDs with the FindElementById(String) method.
Internals
IsFocusable
NodeType
ShadowRoot
Slot
Style
TabIndex
TagName
Title Gets or sets the element tooltip.
See Also