This project is read-only.

¿ViewModePicker in other languajes?

Jul 8, 2012 at 11:52 PM
Edited Jul 8, 2012 at 11:53 PM

ViewModePicker is the control that allows the user how to present the page, but there is some entries like "Fit Page", "Fit Height" and "Fit Width" that Im not being able to set into another languaje. Is it posibble or I should do it by hand without using the viewModePicker?


I notice that there is a property called languaje but is not working or I don't know how to use it.


<doc:ViewModePicker x:Name="ViewModePicker" Margin="4,0,0,0" Language="es-Es" />

Jul 9, 2012 at 10:48 AM

Hi, you can specify your own view modes (and specify the display name in your own language) like so:

      <doc:ViewMode ScaleMode="Fixed" Scale="1" DisplayName="100%" />
      <doc:ViewMode ScaleMode="Fixed" Scale="1.25" DisplayName="125%" />
      <doc:ViewMode ScaleMode="FitPage" DisplayName="Make sure entire page fits" />
      <doc:ViewMode ScaleMode="FitHeight" DisplayName="Make sure the page height fits" />
- Koen

Jul 9, 2012 at 11:00 AM

Perfect¡¡ Thanks for your answer