Register() static private method

static private Register ( UiaCoreIds type, System.Guid guid, string programmaticName ) : AutomationIdentifier
type UiaCoreIds
guid System.Guid
programmaticName string
return AutomationIdentifier
Beispiel #1
0
        internal static ControlType Register(Guid guid, string programmaticName, STID stId, AutomationProperty[] requiredProperties, AutomationPattern[] neverSupportedPatterns, AutomationPattern[][] requiredPatternsSets)
        {
            ControlType controlType = (ControlType)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.ControlType, guid, programmaticName);

            controlType._stId = stId;
            controlType._requiredPatternsSets   = requiredPatternsSets;
            controlType._neverSupportedPatterns = neverSupportedPatterns;
            controlType._requiredProperties     = requiredProperties;
            return(controlType);
        }
 /// <summary>
 /// </summary>
 internal static ControlType Register(AutomationIdentifierConstants.ControlTypes id, string programmaticName)
 {
     return((ControlType)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.ControlType, (int)id, programmaticName));
 }
Beispiel #3
0
 /// <summary>
 /// </summary>
 internal static AutomationPattern Register(AutomationIdentifierConstants.Patterns id, string programmaticName)
 {
     return((AutomationPattern)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Pattern, (int)id, programmaticName));
 }
 /// <summary>
 /// </summary>
 internal static AutomationTextAttribute Register(AutomationIdentifierConstants.TextAttributes id, string programmaticName)
 {
     return((AutomationTextAttribute)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.TextAttribute, (int)id, programmaticName));
 }
Beispiel #5
0
 internal static AutomationEvent Register(Guid guid, string programmaticName)
 {
     return((AutomationEvent)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Event, guid, programmaticName));
 }
Beispiel #6
0
 internal static AutomationProperty Register(Guid guid, string programmaticName)
 {
     return((AutomationProperty)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Property, guid, programmaticName));
 }
 /// <summary>
 /// </summary>
 internal static AutomationProperty Register(AutomationIdentifierConstants.Properties id, string programmaticName)
 {
     return((AutomationProperty)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Property, (int)id, programmaticName));
 }