/*public static Label text(this Label label, string text)
         * {
         *      return label.set_Text(text);
         * }
         *
         * public static Label set_Text(this Label label, string text)
         * {
         *      label.Text = text;
         *      return label;
         * }*/

        //TextBox
        public static TextBox textBox(this UIItemContainer container, int automationId)
        {
            foreach (var textBox in container.textBoxes())
            {
                if (textBox.Id == automationId.str())
                {
                    return(textBox);
                }
            }
            return(null);
        }