Example #1
0
        /// <summary>
        /// Delegate called when the text changed.
        /// </summary>
        /// <param name="pObject">The modified object.</param>
        /// <param name="pEventArgs">The event arguments.</param>
        private static void OnTextChanged(DependencyObject pObject, DependencyPropertyChangedEventArgs pEventArgs)
        {
            InputBase lControl = pObject as InputBase;

            if (lControl != null)
            {
                lControl.OnTextChanged((string)pEventArgs.OldValue, (string)pEventArgs.NewValue);
            }
        }