Пример #1
0
 private void popup_Opened(object sender, EventArgs e)
 {
     SafeRaise.Raise(GroupViewOpened, this, () => { return(new GroupViewOpenedEventArgs(_itemsControl)); });
 }
Пример #2
0
 /// <summary>
 /// Mirrors the
 /// <see cref="E:System.Windows.Controls.Primitives.ToggleButton.Click"/>
 /// event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event information.</param>
 private void OnClick(object sender, RoutedEventArgs e)
 {
     SafeRaise.Raise(Click, this, e);
 }
Пример #3
0
 /// <summary>
 /// Mirrors the
 /// <see cref="E:System.Windows.Controls.Primitives.ToggleButton.Indeterminate"/>
 /// event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event information.</param>
 private void OnIndeterminate(object sender, RoutedEventArgs e)
 {
     IsChecked = null;
     SafeRaise.Raise(Indeterminate, this, e);
 }
Пример #4
0
 /// <summary>
 /// Mirrors the
 /// <see cref="E:System.Windows.Controls.Primitives.ToggleButton.Unchecked"/>
 /// event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event information.</param>
 private void OnUnchecked(object sender, RoutedEventArgs e)
 {
     IsChecked = false;
     SafeRaise.Raise(Unchecked, this, e);
 }
Пример #5
0
 /// <summary>
 /// Mirrors the
 /// <see cref="E:System.Windows.Controls.Primitives.ToggleButton.Checked"/>
 /// event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event information.</param>
 private void OnChecked(object sender, RoutedEventArgs e)
 {
     IsChecked = true;
     SafeRaise.Raise(Checked, this, e);
 }
Пример #6
0
 /// <summary>
 /// Mirrors the
 /// <see cref="E:System.Windows.Controls.Primitives.ToggleButton.Click"/>
 /// event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event information.</param>
 private void ClickHandler(object sender, RoutedEventArgs e)
 {
     SafeRaise.Raise(Click, this, e);
 }