0

私のwpfアプリケーションには次のribbonButtonがあります

<RibbonButton Style="{StaticResource MenuButton}"                  
              Label="{x:Static res:Resources.SaveAs}"
              LargeImageSource="..\Images\saveas.png" />

見た目: saveAs with line break

しかし、私は次のようなものが必要です:改行なしでsaveAs

xaml で改行しないスペースを使用しました:

<RibbonButton Style="{StaticResource MenuButton}"                  
                  Label="Zapisz&#160;jako"
                  LargeImageSource="..\Images\saveas.png" />

しかし、ローカリゼーションのために resx ファイルからのその文字列も必要です。ただし&#160;、resx にある場合は機能しません。非改行スペースをresxに入れる解決策はありますか? または、ribbonButton テンプレートを変更する必要がありますか?

4

1 に答える 1