Delen via


AutomationPeer.RaiseTextEditTextChangedEvent Method

Definition

Raises an event to notify the Microsoft UI Automation core that a text control has programmatically changed text.

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))

Parameters

automationTextEditChangeType
AutomationTextEditChangeType

The type of change that was made to the text.

changedData

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

The new text.

Applies to