protected void AddKeyEditingFinished(object sender, PropertyEditingFinishedEventArgs e) { if (e.Reason == FinishReason.UserAccept) { AddKeyButtonPressed(sender, e); } }
void stringEditor_EditingFinished(object sender, PropertyEditingFinishedEventArgs e) { this.Select(); if (!this.isTextValid || this.isValueClamped) { System.Media.SystemSounds.Beep.Play(); } if (this.isTextValid) { this.EmitEditingFinished(this.value, e.Reason); } this.SetTextFromValue(); this.EmitInvalidate(); }
private void stringEditor_EditingFinished(object sender, PropertyEditingFinishedEventArgs e) { this.OnEditingFinished(e.Reason); }
protected void AddKeyEditingFinished(object sender, PropertyEditingFinishedEventArgs e) { if (e.Reason == FinishReason.UserAccept) AddKeyButtonPressed(sender, e); }
void stringEditor_EditingFinished(object sender, PropertyEditingFinishedEventArgs e) { this.Select(); if (!this.isTextValid || this.isValueClamped) System.Media.SystemSounds.Beep.Play(); if (this.isTextValid) this.EmitEditingFinished(this.value, e.Reason); this.SetTextFromValue(); this.EmitInvalidate(); }
private void numEditor_EditingFinished(object sender, PropertyEditingFinishedEventArgs e) { this.OnEditingFinished(e.Reason); this.PerformGetValue(); }