locked
Localization inscriptions buttons RRS feed

  • Question

  • Hi!

    I want to localize the button that has a style StandartStyles.xaml

    <Button x:Name="OpenButton" x:Uid="OpenButton"  AutomationProperties.Name="" HorizontalAlignment="Left"  VerticalAlignment="Top" Click="Button_Click" Style="{StaticResource OpenFileAppBarButtonStyle}"/>

    I can AutomationProperties.Name = "" to appoint a Resources.resw ?

    • Edited by S.k.у Saturday, November 2, 2013 1:25 PM
    Saturday, November 2, 2013 1:24 PM

Answers

  • I found the answer!
    It is as follows:
    In Resources.rews AutomationProperties.Name must be written like this:

    OpenButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name
    • Marked as answer by Anne Jing Monday, November 4, 2013 3:21 AM
    Saturday, November 2, 2013 5:47 PM

All replies

  • I found the answer!
    It is as follows:
    In Resources.rews AutomationProperties.Name must be written like this:

    OpenButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name
    • Marked as answer by Anne Jing Monday, November 4, 2013 3:21 AM
    Saturday, November 2, 2013 5:47 PM
  • this is used for all attached properties

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Saturday, November 2, 2013 7:02 PM