You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Peter Foot edited this page May 22, 2024
·
1 revision
An example of functionality which is implemented differently between touchscreen and non-touchscreen devices are Profiles. Standard Edition devices can feature a number of profiles for different scenarios, touch screen devices have just three - On, Vibrate only and Off. To retrieve all of the available profiles use the following code:-
foreach(string profile in InTheHand.WindowsMobile.Forms.MobileDevice.Profiles)
{
MessageBox.Show(profile);
}
You can set the device profile using a call to SetProfile:-