Referencing resources.resw in AppBar-Button
I need to reference a text from the resources.resw-file in a AppBar-Button, but as it is set as AutomationProperties.Name="". I can not just add it in the resources.resw as AppBarSearch.AutomationProperties.Name, so how can I reference it?
AutomationProperties.Name is an attached property and you need to handle it differently, i.e. you need to include its namespace in the resource key: