Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadActions Class / ClipboardCopyValues Field
Example


In This Topic
    ClipboardCopyValues Field
    In This Topic
    Copies only the selected items' values to the Clipboard.
    Syntax
    'Declaration
     
    Public Shared ReadOnly ClipboardCopyValues As Object
    'Usage
     
    Dim value As Object
     
    value = SpreadActions.ClipboardCopyValues
    public static readonly object ClipboardCopyValues
    Example
    This example uses the ClipboardCopyValues action.
    FarPoint.Win.Spread.InputMap im;
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
    im.Put(new FarPoint.Win.Spread.Keystroke(Keys.P, Keys.None), FarPoint.Win.Spread.SpreadActions.ClipboardCopyValues);
    Dim im As FarPoint.Win.Spread.InputMap
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused)
    im.Put(New FarPoint.Win.Spread.Keystroke(Keys.P, Keys.None), FarPoint.Win.Spread.SpreadActions.ClipboardCopyValues)
    See Also