DragOperation.SetDragUIContentFromSoftwareBitmap Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap) |
Gibt an, dass das angegebene Bitmapbild während des Drag and Drop-Vorgangs als benutzerdefiniertes Ziehvisual verwendet werden soll. |
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap, Point) |
Gibt an, dass das angegebene Bitmapbild während des Drag-and-Drop-Vorgangs als benutzerdefiniertes Ziehvisual (angezeigt am angegebenen Offset des Eingabezeigers) verwendet werden soll. |
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap)
Gibt an, dass das angegebene Bitmapbild während des Drag and Drop-Vorgangs als benutzerdefiniertes Ziehvisual verwendet werden soll.
public:
virtual void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap ^ bitmap) = SetDragUIContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetDragUIContentFromSoftwareBitmap")]
void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap const& bitmap);
[Windows.Foundation.Metadata.Overload("SetDragUIContentFromSoftwareBitmap")]
public void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap bitmap);
function setDragUIContentFromSoftwareBitmap(bitmap)
Public Sub SetDragUIContentFromSoftwareBitmap (bitmap As SoftwareBitmap)
Parameter
- bitmap
- SoftwareBitmap
Das Bitmapbild, das für das benutzerdefinierte Ziehvisual während des Drag and Drop-Vorgangs verwendet werden soll.
- Attribute
Gilt für:
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap, Point)
Gibt an, dass das angegebene Bitmapbild während des Drag-and-Drop-Vorgangs als benutzerdefiniertes Ziehvisual (angezeigt am angegebenen Offset des Eingabezeigers) verwendet werden soll.
public:
virtual void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap ^ bitmap, Point anchorPoint) = SetDragUIContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetDragUIContentFromSoftwareBitmap2")]
void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap const& bitmap, Point const& anchorPoint);
[Windows.Foundation.Metadata.Overload("SetDragUIContentFromSoftwareBitmap2")]
public void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap bitmap, Point anchorPoint);
function setDragUIContentFromSoftwareBitmap(bitmap, anchorPoint)
Public Sub SetDragUIContentFromSoftwareBitmap (bitmap As SoftwareBitmap, anchorPoint As Point)
Parameter
- bitmap
- SoftwareBitmap
Das Bitmapbild, das für das benutzerdefinierte Ziehvisual während des Drag and Drop-Vorgangs verwendet werden soll.
- anchorPoint
- Point
Die relative Position des Visuals vom Eingabezeiger ziehen. Der Ankerpunkt darf sich nicht außerhalb des Inhalts befinden. Wenn der Ankerpunkt beispielsweise (50, 50) und die Position des Zeigers (x, y) ist, lautet die linke obere Ecke für das Visual (x - 50, y - 50).
- Attribute
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für