static void BlurRadius_ValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args) { PopupUserControl self = obj as PopupUserControl; if (self.BlurRadiusChanged != null) { self.BlurRadiusChanged(self, new EventArgs()); } self.UpdateUI(); }
static void RightMarkerMargin_ValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args) { PopupUserControl self = obj as PopupUserControl; if (self.RightMarkerMarginChanged != null) { self.RightMarkerMarginChanged(self, new EventArgs()); } self.UpdateUI(); }