UIElement.setId

Set this element ID. All UIElement can have a string as unique identifier, similar to HTML. There is a maximum of 63 characters for this id though. This ID is supposed to be unique. If it isn't, a search by ID will return null. Chrome rules applies: can't contain any space characters.

class UIElement
nothrow @nogc final pure
void
setId
(
const(char)[] identifier
)

Meta