Spread Windows Forms 9.0 Product Documentation
Using Touch Support with Drop-Down Elements

You can use touch gestures in drop-down cells, calendars, and other elements in the control.

The following items are drop-down elements or windows:

Set the TouchDropDownScale property to change the scale of the elements in the drop-down window. The default value is 1.5. The following drop-down filter has a scale of 2.

Note: If the TouchDropDownScale property is set to 0, all drop-down windows are zoomed in mouse or touch mode. If the TouchDropDownScale property is set to a valid value (1f to 4f), then padding is increased for touch support based on the property value.

Using Code

Set the TouchDropDownScale property to change the scale of the drop-down window.

CS
Copy Code
FpSpread1.TouchDropDownScale = 1.0F;
FpSpread1.TouchSelectionGripperBackColor = Color.Aqua;
FpSpread1.TouchSelectionGripperLineColor = Color.BurlyWood;
FpSpread1.TouchSelectionGripperThickness = 2;
VB
Copy Code
FpSpread1.TouchDropDownScale = 1.0F
FpSpread1.TouchSelectionGripperBackColor = Color.Aqua
FpSpread1.TouchSelectionGripperLineColor = Color.BurlyWood
FpSpread1.TouchSelectionGripperThickness = 2
See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback