/// <summary> /// Set the description on a Shell Image drag/drop action</summary> /// <param name="e">DragEventArgs for event</param> public static void ClearDescription(this DragEventArgs e) { DropDescriptionHelper.SetDropDescription((IComDataObject)e.Data, DropImageType.Invalid, null, null); }
/// <summary> /// Set the description on a Shell Image drag/drop action. /// Some UI coloring is applied to the text in <paramref name="insert"/> if used by specifying %1 /// in <paramref name="message"/>. /// The characters %% and %1 are the subset of FormatMessage markers that are processed here.</summary> /// <param name="e">The DragEventArgs from the OnDragEnter/OnDragOver event</param> /// <param name="message">Text such as "Move to %1"</param> /// <param name="insert">Text such as "Documents", inserted as specified by <paramref name="message"/></param> public static void SetDescription(this DragEventArgs e, string message, string insert) { DropDescriptionHelper.SetDropDescription((IComDataObject)e.Data, (DropImageType)e.Effect, message, insert); }