Skip to main content
All docs
V26.1
  • SmartPasteBehavior.SetItemDescription(DependencyObject, String) Method

    Sets the value of the SmartPasteBehavior.ItemDescription attached property to the specified SmartPasteBehavior.

    Namespace: DevExpress.AIIntegration.Wpf

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

    Declaration

    public static void SetItemDescription(
        DependencyObject dependencyObject,
        string value
    )

    Parameters

    Name Type Description
    dependencyObject DependencyObject

    The item (a grid/treelist column or layout item).

    value String

    A string that describes the expected content and/or data format for the item.

    Remarks

    SmartPasteBehavior.SetItemDescription(gridControl.Columns["OrderDate"], "The date when an order was placed.");
    

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

    See Also