public void setString(string text) { DispatcherHelpers.RunOnDispatcher(new Action(() => { _clipboard.SetText(text); })); }
public void setString(string text) { DispatcherHelpers.RunOnDispatcher(new Action(() => { try { _clipboard.SetText(text); } catch (Exception) { // Ignored } })); }
public void setString(string text) { _clipboard.SetText(text); }