Skip to content

Commit

Permalink
minor changes to doc comments and style
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMorten committed Aug 29, 2015
1 parent ae49bd7 commit 73713b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/WindowsStateTriggers/HostedStateTrigger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ namespace WindowsStateTriggers
public class HostedStateTrigger : StateTriggerBase
{
/// <summary>
/// The hosted required property
/// Identifies the <see cref="IsHosted" /> dependency property.
/// </summary>
public static readonly DependencyProperty IsHostedProperty = DependencyProperty.Register(
"IsHosted", typeof (HostedState), typeof (HostedStateTrigger), new PropertyMetadata(HostedState.Unknown, OnHostedRequiredChanged));
"IsHosted", typeof (HostedState), typeof (HostedStateTrigger), new PropertyMetadata(HostedState.Unknown, OnIsHostedRequiredChanged));

/// <summary>
/// Gets or sets the is hosted value.
Expand All @@ -24,11 +24,11 @@ public HostedState IsHosted
}

/// <summary>
/// Called when [hosted required changed].
/// Called when the IsHosted depenedency property changed.
/// </summary>
/// <param name="sender">The sender.</param>
/// <param name="e">The <see cref="Windows.UI.Xaml.DependencyPropertyChangedEventArgs" /> instance containing the event data.</param>
private static void OnHostedRequiredChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
private static void OnIsHostedRequiredChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
{
(sender as HostedStateTrigger)?.UpdateStateTrigger();
}
Expand Down

0 comments on commit 73713b2

Please sign in to comment.