Partager via


GraphDataObject Class

Definition

This class provides IDataObject support for exchanging DGML data via the clipboard and drag/drop.

public ref class GraphDataObject : System::Windows::IDataObject
public class GraphDataObject : System.Windows.IDataObject
type GraphDataObject = class
    interface IDataObject
Public Class GraphDataObject
Implements IDataObject
Inheritance
GraphDataObject
Implements

Constructors

GraphDataObject(Graph, Guid)

Construct new GraphDataObject.

GraphDataObject(String, Guid, DataFormat[])

Construct new GraphDataObject that publishes specific set of DGML formats

Properties

AllDgmlFormats

Get list of all DGML formats, including Text formats.

DgmlFormat

Get the format representing DGML text.

GetSourceId

Get the Guid that represents the source of the drag/drop operation.

GraphFormat

Get the format representing a Graph object.

Methods

Create(IEnumerable<GraphNode>, Guid, Int32, DataFormat[], IDictionary<String,Object>)

Create an IDataObject for exchanging the selected nodes (and all their descendants).

Create(IEnumerable<GraphNode>, Guid, Int32, DataFormat[])

Create an IDataObject for exchanging the selected nodes (and all their descendants).

Create(IEnumerable<GraphNode>, Guid, Int32, IDictionary<String,Object>)

Create an IDataObject for exchanging the selected nodes (and all their descendants).

Create(IEnumerable<GraphNode>, Guid, Int32)

Create an IDataObject for exchanging the selected nodes (and all their descendants).

GetClipboardData()

Get the XML from the clipboard.

GetData(IDataObject)

Get the DGML in the given data object.

GetData(String, Boolean)

Gets data for the passed in format

GetData(String)

Gets the data for the passed in format

GetData(Type)

Gets the data for the passed in format

GetDataPresent(String, Boolean)

Determines if the passed in format is supported by this data object

GetDataPresent(String)

Determines if the passed in format is supported

GetDataPresent(Type)

Determines if the passed in format is supported

GetFormats()

Gets the formats supported by this data object

GetFormats(Boolean)

Gets the formats supported by this data object

GetSourceGuid(IDataObject)

Gets the source guid for the given data object.

GetSubset(IEnumerable<GraphNode>, Int32)

Helper method that returns a new Graph containing all the selected nodes plus links and linked nodes up to the specified number of levels of indirection

IsClipboardDgml()

Determine if the clipboard has a supported format

IsDgml(String)

Determines if the given xml starts with DirectedGraph

IsGraphData(IDataObject)

Determines if the data object has a supported format

SetData(Object)

Sets data into the data object - Not Implemented

SetData(String, Object, Boolean)

Sets data into the data object - Not Implemented

SetData(String, Object)

Sets data into the data object - Not Implemented

SetData(Type, Object)

Sets data into the data object - Not Implemented

Applies to