Beispiel #1
0
 internal static void SetTrackFocusScope(DependencyObject scope)
 {
     scope.SetIfNonLocal(FocusTrackerAdorner.TrackFocusScopeProperty, TrackFocusScope.Scope);
     scope.SetIfNonLocal(FocusTrackerAdorner.AwareInputElementsProperty, new Type[]{
         typeof(TextBox), typeof(PasswordBox), typeof(ComboBox), typeof(DatePicker),
         typeof(DateTimeInputControl),
     });
 }