private static void HeightCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { dependencyObject = d as CustomPopup; dependencyObject.CustomPopupViewModel.Height = dependencyObject.Height; }
private static void IsOpenCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { dependencyObject = d as CustomPopup; dependencyObject.CustomPopupViewModel.IsOpen = dependencyObject.IsOpen; }
private static void WidthCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { dependencyObject = d as CustomPopup; dependencyObject.CustomPopupViewModel.Width = dependencyObject.Width; }
private static void PopupClosedCommandCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { dependencyObject = d as CustomPopup; dependencyObject.CustomPopupViewModel.PopupClosedCommand = dependencyObject.PopupClosedCommand; }