How to

find out whether pc is tablet

Published: 19. November 2011 | Updated: 19. November 2011
License: Microsoft Public License (MS-PL)
Categories: Windows, WPF
Tags: C# Windows WPF
Was this snippet helpful for you? YESYES / NONO

Snippets shows how to find out whether pc is tablet in WPF

Import namespace

using System.Windows;

Code

bool tablet = SystemParameters.IsTabletPC;
Send us feedback about this snippet »



Related Snippets: