Touch Support in Windows Forms Diagram
10 Apr 2018 / 1 minute to read
Touch support for Diagram control helps to create sophisticated diagrams quickly and easily by interacting with Diagram nodes through touch gestures such as Tap, Double Tap, Long Press, Pinch, and more. These touch gestures help you perform actions such as select, label text editing, open the context menu, zoom in, and zoom out.
The following table describes the property associated with turning on/off touch support in Diagram control.
Touch support Properties
|TouchMode||Specifies whether to turn on/off touch support in Diagram control.|
The following code example illustrates how to turn on touch support for Diagram control.
// Specifies whether to turn on/off touch mode in Diagram. diagram1.TouchMode = true;
' Specifies whether to turn on/off touch mode in Diagram. diagram1.TouchMode = True