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