Spread Windows Forms 7.0 Product Documentation
TouchContextMenuScale Property
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > InputManCellTypeBase Class : TouchContextMenuScale Property


Glossary Item Box

Gets or sets the factor applies to context menu item's height while context menu is popped up by touch.

Syntax

Visual Basic (Declaration) 
Public Property TouchContextMenuScale As Single
Visual Basic (Usage)Copy Code
Dim instance As InputManCellTypeBase
Dim value As Single
 
instance.TouchContextMenuScale = value
 
value = instance.TouchContextMenuScale
C# 
public float TouchContextMenuScale {get; set;}

Property Value

The factor applies to context menu item's height while context menu while popup by touch. The default is 1.5f.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException The assigned value is less than 1 or greater than 4.

Remarks

User can set TouchContextMenuScale to make item's height larger in context menu when it is popped up by touch.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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