Exemplo n.º 1
0
 static void TaskSetAutomationName(FrameworkElement fe, string route, PropertyRoute context)
 {
     if (fe.NotSet(AutomationProperties.NameProperty))
     {
         AutomationProperties.SetName(fe, context.TryToString() ?? "");
     }
 }