GetDataObjectEventArgs Class |
Namespace: ShellBoost.Core
public sealed class GetDataObjectEventArgs : EventArgs, IDataObjectFormats
The GetDataObjectEventArgs type exposes the following members.
Name | Description | |
---|---|---|
DataObjects |
Gets the data objects PIDLs.
| |
DontUseDefaultDataObjects |
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.
| |
Folder |
Gets the opened Shell Folder instance.
| |
Formats |
Gets the optional formats.
| |
Hwnd |
Gets the owner window handle. May be IntPtr.Zero depending on context.
| |
Items |
Gets the context shell items.
|
Name | Description | |
---|---|---|
AddDataObject(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.
| |
AddDataObject(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.
| |
AddDataObjects |
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.
|
Name | Description | |
---|---|---|
AddCF_HDROP |
Adds a CF_HDROP format to the data object.
(Defined by Extensions.) | |
AddCFSTR_SHELLIDLIST |
Adds a CFSTR_SHELLIDLIST format to the data object.
(Defined by Extensions.) | |
AddFormat(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.) | |
AddFormat(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.) | |
AddFormat(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.) | |
AddFormat(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.) |