Bitte ich habe einen Fehler und das ist mein Code.Dispatcher 'enthält keine Definition für' InvokeAsync 'und keine Erweiterungsmethode' InvokeAsync '
private void ComboBoxSelectionChanged(object sender, SelectionChangedEventArgs e)
{
_comboBox.Dispatcher.InvokeAsync(() => ContentChanged?.Invoke(sender, EventArgs.Empty));
}
seinen Spruch Dispatcher' does not contain a definition for 'InvokeAsync' and no extension method 'InvokeAsync' accepting a first argument of type 'Dispatcher' could be found (are you missing a using directive or an assembly reference? wpf
Ich bin verloren bitte, ich Hilfe auf diese. Vielen Dank.
schreiben es als '' _comboBox.Dispatcher.InvokeAsync ((Action) (() => ContentChanged? .Invoke (Absender, EventArgs.Empty))); '' –
@RandRandom Gleiche Frage Sir ... –