/// <summary> /// Constructor /// </summary> /// <param name="control"> /// The control for which this object is providing UI Automation functionality. /// </param> public RangeValueProvider(CustomControl control) { customControl = control; windowHandle = control.Handle; }