Exemple #1
0
 protected virtual void AddHandlers(TextBox textBox)
 {
     RawValueTracker.TrackUserInput(textBox);
     textBox.UpdateHandler(Input.ValidationDirtyEvent, OnValidationDirtyHandler);
     textBox.UpdateHandler(FrameworkElement.LoadedEvent, OnValidationDirtyHandler);
     BindTextToValue(textBox);
 }