DragUIOverride Class

Definition

Provides the visual representation of the content being dragged during a drag-and-drop operation, including feedback from the drop target.

public ref class DragUIOverride sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DragUIOverride final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DragUIOverride
Public NotInheritable Class DragUIOverride
Inheritance
Object Platform::Object IInspectable DragUIOverride
Attributes

Properties

Caption

Gets or sets the caption text associated with the content being dragged.

IsCaptionVisible

Gets or sets whether the Caption associated with the content being dragged is shown.

IsContentVisible

Gets or sets whether a visual representation of the content being dragged is shown.

IsGlyphVisible

Gets or sets whether a glyph of the content being dragged is shown.

Methods

Clear()

Clears all visuals (content, glyph, caption) associated with the content being dragged.

SetContentFromSoftwareBitmap(SoftwareBitmap)

Specifies that the visual representation for the content being dragged should be derived from the specified bitmap.

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

Specifies that the visual representation for the content being dragged should be derived from the specified bitmap, and displayed at the specified position based on the location of the pointer.

Applies to

See also