locked
How to localize the field "label" of AppBarButton?

    Question

  • Hi, dear all,

     

    AppBarButton is newly introduced in from Win8.1 and the localization is different with Win8.0. Basically it is set up with two fields: one is the "icon" field, and the other is the "label" field. My question is: how to localize the "label" field?

     

    Thanks.

    Thursday, February 20, 2014 10:55 AM

Answers

  • <AppBarButton x:Uid="MyButton" />

    and in the resource file use as key:

    MyButton.Label


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    • Marked as answer by B0L Friday, February 21, 2014 1:29 AM
    Thursday, February 20, 2014 12:18 PM

All replies

  • <AppBarButton x:Uid="MyButton" />

    and in the resource file use as key:

    MyButton.Label


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    • Marked as answer by B0L Friday, February 21, 2014 1:29 AM
    Thursday, February 20, 2014 12:18 PM
  • Hi, Dave, it works! Thank you very much for the info. It seems that the button resource in Win8.1 is easier than Win8.0.

    Friday, February 21, 2014 1:29 AM