public UIComponent FirstResult() { var result = Engine.GetFirstResult(this); if (result == null) throw new ElementNotFoundException("No elements matched the specified query"); return new UIComponent(result); }