Udostępnij za pośrednictwem


DragUIOverride.SetContentFromBitmapImage Method

Definition

Overloads

SetContentFromBitmapImage(BitmapImage)

Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation.

SetContentFromBitmapImage(BitmapImage, Point)

Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation, and sets the relative position of the visual from the pointer.

SetContentFromBitmapImage(BitmapImage)

Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation.

public:
 virtual void SetContentFromBitmapImage(BitmapImage ^ bitmapImage) = SetContentFromBitmapImage;
/// [Windows.Foundation.Metadata.Overload("SetContentFromBitmapImage")]
void SetContentFromBitmapImage(BitmapImage const& bitmapImage);
[Windows.Foundation.Metadata.Overload("SetContentFromBitmapImage")]
public void SetContentFromBitmapImage(BitmapImage bitmapImage);
function setContentFromBitmapImage(bitmapImage)
Public Sub SetContentFromBitmapImage (bitmapImage As BitmapImage)

Parameters

bitmapImage
BitmapImage

The source image used to create the drag visual.

Attributes

See also

Applies to

SetContentFromBitmapImage(BitmapImage, Point)

Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation, and sets the relative position of the visual from the pointer.

public:
 virtual void SetContentFromBitmapImage(BitmapImage ^ bitmapImage, Point anchorPoint) = SetContentFromBitmapImage;
/// [Windows.Foundation.Metadata.Overload("SetContentFromBitmapImageWithAnchorPoint")]
void SetContentFromBitmapImage(BitmapImage const& bitmapImage, Point const& anchorPoint);
[Windows.Foundation.Metadata.Overload("SetContentFromBitmapImageWithAnchorPoint")]
public void SetContentFromBitmapImage(BitmapImage bitmapImage, Point anchorPoint);
function setContentFromBitmapImage(bitmapImage, anchorPoint)
Public Sub SetContentFromBitmapImage (bitmapImage As BitmapImage, anchorPoint As Point)

Parameters

bitmapImage
BitmapImage

The source image used to create the drag visual.

anchorPoint
Point

The relative position of the drag visual from the pointer.

Attributes

See also

Applies to