Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
How to set touch mode to show larger controls
posted

Hello,

i want to enable touch mode for my entiry wpf application, in order to show larger controls (ready for touch). How do I do that?

  • 3520
    Verified Answer
    Offline posted

    Hello,

     

    In order to achieve controls which can be easily operated in touch environment we have created two touch-friendly Metro themes - one light (Metro theme) and one dark (Metro Dark theme). For more information on using these themes you may refer to the following topic:

    http://ko.infragistics.com/help/wpf/designers-guide-using-themes

     

    The easiest way to apply such a theme and achieve a touch-friendly application is applying the theme on application level. This can be done by the means of the ThemeManager component with a single line of code similar to:

    ThemeManager.ApplicationTheme = new MetroTheme();

     

    For detailed information on the ThemeManager component I suggest referring to the following set of help topics:

    http://ko.infragistics.com/help/wpf/thememanager-overview

    Let me know if I can provide any further assistance.