Spread Windows Forms 9.0 Product Documentation
TouchContextMenuScale Property (InputManCellTypeBase)


Gets or sets the factor applies to context menu item's height while context menu is popped up by touch.
Syntax
'Declaration
 
Public Property TouchContextMenuScale As Single
'Usage
 
Dim instance As InputManCellTypeBase
Dim value As Single
 
instance.TouchContextMenuScale = value
 
value = instance.TouchContextMenuScale
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

InputManCellTypeBase Class
InputManCellTypeBase Members

 

 


Copyright © GrapeCity, inc. All rights reserved.