XamlLight.AddTargetElement(String, UIElement) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit un élément UIElement en tant que cible d’un xamlLight.
public:
static void AddTargetElement(Platform::String ^ lightId, UIElement ^ element);
static void AddTargetElement(winrt::hstring const& lightId, UIElement const& element);
public static void AddTargetElement(string lightId, UIElement element);
function addTargetElement(lightId, element)
Public Shared Sub AddTargetElement (lightId As String, element As UIElement)
Paramètres
- lightId
-
String
Platform::String
winrt::hstring
Identificateur de XamlLight qui doit cibler l’élément UIElement.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour