/// <summary> /// Constructor to create an assigner from a top-level parent which contains ALL the controls which will be assigned for. /// Hit test will only run for child controls of the parent object. /// </summary> /// <param name="UIParent">Parent UI object for which sub-controls will be evaluated for multi-touch. This is often your Window or Canvas.</param> public TouchElementAssigner(FrameworkElement UIParent) { Elements = new MTElementDictionary(UIParent); Touches = new TouchElementDictionary(); t = new Ticker(ref Elements); }