ItemContainerGenerator.ItemFromContainer(DependencyObject) 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.
Retourne l'élément qui correspond à l'UIElement généré spécifié.
public:
System::Object ^ ItemFromContainer(System::Windows::DependencyObject ^ container);
public object ItemFromContainer (System.Windows.DependencyObject container);
member this.ItemFromContainer : System.Windows.DependencyObject -> obj
Public Function ItemFromContainer (container As DependencyObject) As Object
Paramètres
- container
- DependencyObject
DependencyObject qui correspond à l'élément à retourner.
Retours
DependencyObject étant l'élément qui correspond à l'UIElement généré spécifié. Si l'UIElement n'a pas été généré, UnsetValue est retourné.
Exceptions
container
a la valeur null
.
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