Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / InputMap Class / Clear Method
Example


In This Topic
    Clear Method (InputMap)
    In This Topic
    Removes all the mappings from this input map.
    Syntax
    'Declaration
     
    Public Sub Clear() 
    'Usage
     
    Dim instance As InputMap
     
    instance.Clear()
    public void Clear()
    Example
    This example removes any mappings from the current input map.
    FarPoint.Win.Spread.InputMap im = new FarPoint.Win.Spread.InputMap();
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
    im.Clear();
    Dim im As New FarPoint.Win.Spread.InputMap()
    im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
    im.Clear()
    See Also