Skip to content

Commit

Permalink
Using "nameof"
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Feb 18, 2017
1 parent aafd05d commit 9232bd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Fluent.Ribbon/Controls/ColorGallery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ public event RoutedEventHandler SelectedColorChanged
/// <summary>
/// Identifies the SelectedColorChanged routed event.
/// </summary>
public static readonly RoutedEvent SelectedColorChangedEvent = EventManager.RegisterRoutedEvent("SelectedColorChanged", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ColorGallery));
public static readonly RoutedEvent SelectedColorChangedEvent = EventManager.RegisterRoutedEvent(nameof(SelectedColorChanged), RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ColorGallery));

/// <summary>
/// Raises SelectedColorChanged event
Expand Down
2 changes: 1 addition & 1 deletion Fluent.Ribbon/Controls/GalleryItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public event RoutedEventHandler Click
/// <summary>
/// Identifies the RibbonControl.Click routed event.
/// </summary>
public static readonly RoutedEvent ClickEvent = EventManager.RegisterRoutedEvent("Click", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(GalleryItem));
public static readonly RoutedEvent ClickEvent = EventManager.RegisterRoutedEvent(nameof(Click), RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(GalleryItem));

/// <summary>
/// Raises click event
Expand Down

0 comments on commit 9232bd4

Please sign in to comment.