Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / InputManCellTypeBase Class / TouchContextMenuScale Property


In This Topic
    TouchContextMenuScale Property (InputManCellTypeBase)
    In This Topic
    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
    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.
    See Also