Share via


CoreDragUIOverride Class

Definition

Contains methods and properties for customizing the drag and drop UI.

public ref class CoreDragUIOverride sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CoreDragUIOverride final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CoreDragUIOverride
Public NotInheritable Class CoreDragUIOverride
Inheritance
Object Platform::Object IInspectable CoreDragUIOverride
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Caption

Gets or sets the caption for the drag UI.

IsCaptionVisible

Gets or sets if the caption for the drag UI is visible.

IsContentVisible

Gets or sets whether the drag content is visible.

IsGlyphVisible

Gets or sets whether the glyph is visible.

Methods

Clear()

Clears all existing custom UI overrides.

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

Sets custom drag UI content using a software bitmap.

SetContentFromSoftwareBitmap(SoftwareBitmap)

Sets custom drag UI content using a software bitmap.

Applies to