Skip to main content

DataObjectBase.SetDataObject(DependencyObject, DataObjectBase) Method

Sets the value of the DataObjectBase.DataObject attached property to a specified DependencyObject.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v22.2.dll

NuGet Package: DevExpress.Wpf.Core


public static void SetDataObject(
    DependencyObject element,
    DataObjectBase value


Name Type Description
element DependencyObject

The element to which the attached property is written.

value DataObjectBase

The required DataObjectBase value.

See Also