@@ -78,6 +78,12 @@ JsonObject DumpVisualTree(JsonValue payload)
78
78
new AttachedProperty ( ) { Name = "AutomationLevel" , Property = Windows . UI . Xaml . Automation . AutomationProperties . LevelProperty } ,
79
79
new AttachedProperty ( ) { Name = "AutomationSizeOfSet" , Property = Windows . UI . Xaml . Automation . AutomationProperties . SizeOfSetProperty } ,
80
80
new AttachedProperty ( ) { Name = "AutomationPositionInSet" , Property = Windows . UI . Xaml . Automation . AutomationProperties . PositionInSetProperty } ,
81
+ new AttachedProperty ( ) { Name = "AccessibilityRole" , Property = Microsoft . ReactNative . DynamicAutomationProperties . AccessibilityRoleProperty } ,
82
+ new AttachedProperty ( ) { Name = "AccessibilityStateSelected" , Property = Microsoft . ReactNative . DynamicAutomationProperties . AccessibilityStateSelectedProperty } ,
83
+ new AttachedProperty ( ) { Name = "AccessibilityStateDisabled" , Property = Microsoft . ReactNative . DynamicAutomationProperties . AccessibilityStateDisabledProperty } ,
84
+ new AttachedProperty ( ) { Name = "AccessibilityStateChecked" , Property = Microsoft . ReactNative . DynamicAutomationProperties . AccessibilityStateCheckedProperty } ,
85
+ new AttachedProperty ( ) { Name = "AccessibilityStateBusy" , Property = Microsoft . ReactNative . DynamicAutomationProperties . AccessibilityStateBusyProperty } ,
86
+ new AttachedProperty ( ) { Name = "AccessibilityStateExpanded" , Property = Microsoft . ReactNative . DynamicAutomationProperties . AccessibilityStateExpandedProperty } ,
81
87
} ;
82
88
var rootDump = VisualTreeDumper . DumpTree ( this , null , additionalProperties , attachedProperties ) ;
83
89
var element = VisualTreeDumper . FindElementByAutomationId ( JsonObject . Parse ( rootDump ) , accessibilityId ) ;
@@ -115,7 +121,8 @@ async Task LoopServer(Server server)
115
121
try
116
122
{
117
123
await server . ProcessAllClientRequests ( 8603 , TimeSpan . FromMilliseconds ( 50 ) ) ;
118
- } catch ( Exception ex )
124
+ }
125
+ catch ( Exception ex )
119
126
{
120
127
}
121
128
}
0 commit comments