Spread Windows Forms 7.0 Product Documentation
Using Touch Support with Drop-Down Elements
See Also Support Options
Spread Windows Forms 7.0 Product Documentation > Developer's Guide > Using Touch Support with the Component > Using Touch Support > Using Touch Support with Drop-Down Elements

Glossary Item Box

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.

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.