Click or drag to resize

GetDataObjectEventArgs Class

Provides data for the GetDataObject event of the ShellFolder type. A completely custom Data Object will be created if the AddDataObject method has been called at least once.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    callback.ShellBoost.CoreGetDataObjectEventArgs

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public sealed class GetDataObjectEventArgs : EventArgs, 
	IDataObjectFormats

The GetDataObjectEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyDataObjects
Gets the data objects PIDLs.
Public propertyDontUseDefaultDataObjects
Gets or sets a value indicating whether to use default data objects, event if no object is added to this instance. Setting this to true will prevent any drag operation.
Public propertyFolder
Gets the opened Shell Folder instance.
Public propertyFormats
Gets the optional formats.
Public propertyHwnd
Gets the owner window handle. May be IntPtr.Zero depending on context.
Public propertyItems
Gets the context shell items.
Top
Methods
  NameDescription
Public methodAddDataObject(IWithIdList)
Adds a data object to the list. All PIDLs added to the collection must share the same parent PIDL. The first PIDL added will determine the common parent PIDL. If the first PIDL added has no parent, nothing will be added.
Public methodAddDataObject(ShellItemIdList)
Adds a data object to the list using its PIDL. All PIDLs added to the collection must share the same parent PIDL. The first PIDL added will determine the common parent PIDL. If the first PIDL added has no parent, nothing will be added.
Public methodAddDataObjects
Adds a list of data objects to the list. All PIDLs added to the collection must share the same parent PIDL. The first PIDL added will determine the common parent PIDL. If the first PIDL added has no parent, nothing will be added.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddCF_HDROP
Adds a CF_HDROP format to the data object.
(Defined by Extensions.)
Public Extension MethodAddCFSTR_SHELLIDLIST
Adds a CFSTR_SHELLIDLIST format to the data object.
(Defined by Extensions.)
Public Extension MethodAddFormat(Int32, Byte)Overloaded.
Adds a format to the data object. This format will be used only if at least one DataObject is added.
(Defined by Extensions.)
Public Extension MethodAddFormat(String, Byte)Overloaded.
Adds a format to the data object. This format will be used only if at least one DataObject is added.
(Defined by Extensions.)
Public Extension MethodAddFormat(Int32, String, Encoding)Overloaded.
Adds a text to the data object. This format will be used only if at least one DataObject is added.
(Defined by Extensions.)
Public Extension MethodAddFormat(String, String, Encoding)Overloaded.
Adds a format to the data object. This format will be used only if at least one DataObject is added.
(Defined by Extensions.)
Top
See Also