c# Programming Glossary: dependencypropertychangedeventargs
Kinect sideways skeleton tracking http://stackoverflow.com/questions/10192476/kinect-sideways-skeleton-tracking kinectSensorChooser1_KinectSensorChanged object sender DependencyPropertyChangedEventArgs e KinectSensor old KinectSensor e.OldValue StopKinect old KinectSensor..
Set focus on textbox in WPF from view model (C#) & wPF http://stackoverflow.com/questions/1356045/set-focus-on-textbox-in-wpf-from-view-model-c-wpf static void OnIsFocusedPropertyChanged DependencyObject d DependencyPropertyChangedEventArgs e var uie UIElement d if bool e.NewValue uie.Focus Don't care..
Give some command to View in MVVM http://stackoverflow.com/questions/15465161/give-some-command-to-view-in-mvvm private static void OnOpenChanged DependencyObject d DependencyPropertyChangedEventArgs e var me OpenCloseWindowBehavior d if bool e.NewValue object..
How to add a Blend Behavior in a Style Setter http://stackoverflow.com/questions/1647815/how-to-add-a-blend-behavior-in-a-style-setter static void OnPropertyBehaviorsChanged DependencyObject d DependencyPropertyChangedEventArgs e var behaviors Interaction.GetBehaviors d foreach var behavior.. static void OnPropertyTriggersChanged DependencyObject d DependencyPropertyChangedEventArgs e var triggers Interaction.GetTriggers d foreach var trigger..
WPF - Set Focus when a button is clicked - No Code Behind http://stackoverflow.com/questions/2204063/wpf-set-focus-when-a-button-is-clicked-no-code-behind void ElementToFocusPropertyChanged DependencyObject sender DependencyPropertyChangedEventArgs e var button sender as Button if button null button.Click..
MVVM- How can I select text in a textbox? http://stackoverflow.com/questions/2596757/mvvm-how-can-i-select-text-in-a-textbox static void OnTextBoxControllerChanged DependencyObject d DependencyPropertyChangedEventArgs e var element d as TextBox if element null throw new ArgumentNullException..
databind the Source property of the WebBrowser in WPF http://stackoverflow.com/questions/263551/databind-the-source-property-of-the-webbrowser-in-wpf void BindableSourcePropertyChanged DependencyObject o DependencyPropertyChangedEventArgs e WebBrowser browser o as WebBrowser if browser null string..
WPF MVVM: how to bind GridViewColumn to ViewModel-Collection? http://stackoverflow.com/questions/2643545/wpf-mvvm-how-to-bind-gridviewcolumn-to-viewmodel-collection static void ColumnsSourceChanged DependencyObject obj DependencyPropertyChangedEventArgs e GridView gridView obj as GridView if gridView null gridView.Columns.Clear..
tips on developing resolution independent application http://stackoverflow.com/questions/3193339/tips-on-developing-resolution-independent-application private static void OnScaleValueChanged DependencyObject o DependencyPropertyChangedEventArgs e MainWindow mainWindow o as MainWindow if mainWindow null..
Mutually exclusive checkable menu items? http://stackoverflow.com/questions/3652688/mutually-exclusive-checkable-menu-items private static void OnGroupNameChanged DependencyObject d DependencyPropertyChangedEventArgs e Add an entry to the group name collection var menuItem..
Good or bad practice for Dialogs in wpf with MVVM? http://stackoverflow.com/questions/3801681/good-or-bad-practice-for-dialogs-in-wpf-with-mvvm void DialogPresenterDataContextChanged object sender DependencyPropertyChangedEventArgs e var d e.NewValue as IDialogResultVMHelper if d null return..
Show Validation Error in UserControl http://stackoverflow.com/questions/4168438/show-validation-error-in-usercontrol ByVal dependencyPropertyChangedEventArgs As DependencyPropertyChangedEventArgs DirectCast dependencyObject MyUserControl .NotifyErrorsChanged..
WPF/MVVM - how to handle double-click on TreeViewItems in the ViewModel? http://stackoverflow.com/questions/4497825/wpf-mvvm-how-to-handle-double-click-on-treeviewitems-in-the-viewmodel private static void CommandChanged DependencyObject target DependencyPropertyChangedEventArgs e Control control target as Control if control null if e.NewValue..
Bind TextBox on Enter-key press http://stackoverflow.com/questions/563195/bind-textbox-on-enter-key-press DependencyObject dp DependencyPropertyChangedEventArgs e UIElement element dp as UIElement if element null return..
WPF MVVM Modal Overlay Dialog only over a View (not Window) http://stackoverflow.com/questions/6351612/wpf-mvvm-modal-overlay-dialog-only-over-a-view-not-window static void IsShownChangedCallback DependencyObject d DependencyPropertyChangedEventArgs e if bool e.NewValue true ModalDialog dlg ModalDialog d ..
Bind datagrid column visibility MVVM http://stackoverflow.com/questions/7711275/bind-datagrid-column-visibility-mvvm void OnProxyElementPropertyChanged DependencyObject depObj DependencyPropertyChangedEventArgs e if depObj is ContentControl e.NewValue is TextBlock var binding..
What does Cannot modify the logical children for this node at this time because a tree walk is in progress mean? http://stackoverflow.com/questions/992241/what-does-cannot-modify-the-logical-children-for-this-node-at-this-time-because DependencyObject o DependencyPropertyChangedEventArgs e at System.Windows.DependencyObject.OnPropertyChanged DependencyPropertyChangedEventArgs.. e at System.Windows.DependencyObject.OnPropertyChanged DependencyPropertyChangedEventArgs e at System.Windows.FrameworkElement.OnPropertyChanged DependencyPropertyChangedEventArgs.. e at System.Windows.FrameworkElement.OnPropertyChanged DependencyPropertyChangedEventArgs e at System.Windows.DependencyObject.NotifyPropertyChange DependencyPropertyChangedEventArgs..
|