Back to Devexpress

SmartPasteBehavior.ExcludeItem Attached Property

wpf-devexpress-dot-aiintegration-dot-wpf-dot-smartpastebehavior-6d459b7e.md

latest1.8 KB
Original Source

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.2.dll

NuGet Package : DevExpress.AIIntegration.Wpf

Declaration

See GetExcludeItem(DependencyObject) and SetExcludeItem(DependencyObject, Boolean).

Returns

TypeDescription
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.

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

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

See Also

SmartPasteBehavior Class

SmartPasteBehavior Members

DevExpress.AIIntegration.Wpf Namespace