Freigeben über


CoreDragUIOverride.SetContentFromSoftwareBitmap Methode

Definition

Überlädt

SetContentFromSoftwareBitmap(SoftwareBitmap)

Legt benutzerdefinierten Inhalt der Benutzeroberfläche mithilfe einer Software-Bitmap fest.

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

Legt benutzerdefinierten Inhalt der Benutzeroberfläche mithilfe einer Software-Bitmap fest.

SetContentFromSoftwareBitmap(SoftwareBitmap)

Legt benutzerdefinierten Inhalt der Benutzeroberfläche mithilfe einer Software-Bitmap fest.

public:
 virtual void SetContentFromSoftwareBitmap(SoftwareBitmap ^ softwareBitmap) = SetContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmap")]
void SetContentFromSoftwareBitmap(SoftwareBitmap const& softwareBitmap);
[Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmap")]
public void SetContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap);
function setContentFromSoftwareBitmap(softwareBitmap)
Public Sub SetContentFromSoftwareBitmap (softwareBitmap As SoftwareBitmap)

Parameter

softwareBitmap
SoftwareBitmap

Der benutzerdefinierte Benutzeroberflächeninhalt.

Attribute

Weitere Informationen

Gilt für:

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

Legt benutzerdefinierten Inhalt der Benutzeroberfläche mithilfe einer Software-Bitmap fest.

public:
 virtual void SetContentFromSoftwareBitmap(SoftwareBitmap ^ softwareBitmap, Point anchorPoint) = SetContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmapWithAnchorPoint")]
void SetContentFromSoftwareBitmap(SoftwareBitmap const& softwareBitmap, Point const& anchorPoint);
[Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmapWithAnchorPoint")]
public void SetContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap, Point anchorPoint);
function setContentFromSoftwareBitmap(softwareBitmap, anchorPoint)
Public Sub SetContentFromSoftwareBitmap (softwareBitmap As SoftwareBitmap, anchorPoint As Point)

Parameter

softwareBitmap
SoftwareBitmap

Die benutzerdefinierte Benutzeroberfläche zieht Inhalte.

anchorPoint
Point

Die relative Position des Visuals vom Zeiger 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

Weitere Informationen

Gilt für: