menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCopyOptions - API Reference

    Show / Hide Table of Contents

    Class GridCopyOptions

    Defines the constants that specify the possible copy option in SfDataGrid.

    Inheritance
    System.Object
    GridCopyOptions
    Namespace: Syncfusion.UI.Xaml.Grids
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public sealed class GridCopyOptions : Enum

    Fields

    CopyData

    Specifies the values of selected cells/rows is copied from SfDataGrid to the clipboard.

    Declaration
    public const GridCopyOptions CopyData
    Field Value
    Type Description
    GridCopyOptions

    CutData

    Specifies the values of selected cells/rows is cut from SfDataGrid to the clipboard.

    Declaration
    public const GridCopyOptions CutData
    Field Value
    Type Description
    GridCopyOptions

    IncludeFormat

    Specifies the values of selected cells/rows along with its format is copy/cut from SfDataGrid to the clipboard.

    Declaration
    public const GridCopyOptions IncludeFormat
    Field Value
    Type Description
    GridCopyOptions

    IncludeHeaders

    Specifies the values of selected cells/rows along with its column header values is copy/cut from SfDataGrid to the clipboard.

    Declaration
    public const GridCopyOptions IncludeHeaders
    Field Value
    Type Description
    GridCopyOptions

    IncludeHiddenColumn

    Specifies the values of selected rows along with hidden column values is copy/cut from SfDataGrid to the clipboard.

    Declaration
    public const GridCopyOptions IncludeHiddenColumn
    Field Value
    Type Description
    GridCopyOptions
    Remarks

    You can't able to copy the hidden column values when SelectionUnit as Cell.

    None

    Specifies the copy operation is disabled.

    Declaration
    public const GridCopyOptions None
    Field Value
    Type Description
    GridCopyOptions

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved