Ejemplo n.º 1
0
        static private void ClearTextCommand_CommandExecuted(object sender, ExecutedRoutedEventArgs e)
        {
            SearchBox obj = (SearchBox)sender;

            obj.OnClearTextExecuted(e);
        }
Ejemplo n.º 2
0
        static private void BackgroundTextProperty_PropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SearchBox obj = (SearchBox)o;

            obj.OnBackgroundTextChanged(new PropertyChangedEventArgs <string>((string)e.OldValue, (string)e.NewValue));
        }
Ejemplo n.º 3
0
        static private void ClearTextCommand_CommandCanExecute(object sender, CanExecuteRoutedEventArgs e)
        {
            SearchBox obj = (SearchBox)sender;

            obj.OnClearTextCanExecute(e);
        }