Exemple #1
0
 public AutomationPattern(PatternId patternId, FrameworkAutomationElementBase frameworkAutomationElement, Func <FrameworkAutomationElementBase, TNative, T> patternCreateFunc)
 {
     _patternId = patternId;
     FrameworkAutomationElement = frameworkAutomationElement;
     _patternCreateFunc         = patternCreateFunc;
 }
Exemple #2
0
 /// <summary>
 /// Create the property object.
 /// </summary>
 /// <param name="propertyId">The <see cref="PropertyId"/> for this property object.</param>
 /// <param name="frameworkAutomationElement">The <see cref="FrameworkAutomationElement"/> for this property object.</param>
 public AutomationProperty(PropertyId propertyId, FrameworkAutomationElementBase frameworkAutomationElement)
 {
     PropertyId = propertyId;
     FrameworkAutomationElement = frameworkAutomationElement;
 }