Skip to main content
All docs
V25.1
  • SmartPasteBehavior.ExcludeItem Attached Property

    Gets or sets whether to exclude an item (for example, a grid column or layout item) from SmartPaste. This is an attached property.

    Namespace: DevExpress.AIIntegration.Wpf

    Assembly: DevExpress.AIIntegration.Wpf.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.Wpf

    Declaration

    Returns

    Type Description
    Boolean

    true to exclude an item from SmartPaste; otherwise, false.

    Remarks

    Use the ExcludeItem attached property or SetExcludeItem method to exclude a specific item from SmartPaste. This allows you to exclude columns or layout items from being affected by SmartPaste, ensuring that they remain unchanged.

    <dxg:GridColumn FieldName="OrderID"
                    dxai:SmartPasteBehavior.ExcludeItem="True"/>
    

    Refer to the following help topic for additional information and examples: Smart Paste.

    See Also