AutomationPeer.RaiseTextEditTextChangedEvent Méthode

Définition

Déclenche un événement pour informer le noyau Microsoft UI Automation qu’un contrôle de texte a modifié le texte par programmation.

public:
 virtual void RaiseTextEditTextChangedEvent(AutomationTextEditChangeType automationTextEditChangeType, IVectorView<Platform::String ^> ^ changedData) = RaiseTextEditTextChangedEvent;
void RaiseTextEditTextChangedEvent(AutomationTextEditChangeType const& automationTextEditChangeType, IVectorView<winrt::hstring> const& changedData);
public void RaiseTextEditTextChangedEvent(AutomationTextEditChangeType automationTextEditChangeType, IReadOnlyList<string> changedData);
function raiseTextEditTextChangedEvent(automationTextEditChangeType, changedData)
Public Sub RaiseTextEditTextChangedEvent (automationTextEditChangeType As AutomationTextEditChangeType, changedData As IReadOnlyList(Of String))

Paramètres

automationTextEditChangeType
AutomationTextEditChangeType

Type de modification apportée au texte.

changedData

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

Nouveau texte.

S’applique à