Skip to content

Commit

Permalink
IsLightsContainer property fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Jul 17, 2017
1 parent 073fbce commit 76171bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UICompositionAnimations/Lights/LightsSourceHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public static void Initialize([NotNull] params Func<PointerPositionSpotLight>[]
/// Gets the <see cref="IsLightsContainerProperty"/> value for the target <see cref="UIElement"/>
/// </summary>
/// <param name="element">The target element to inspect</param>
public static String GetIsLightsContainer(UIElement element)
public static bool GetIsLightsContainer(UIElement element)
{
return element.GetValue(IsLightsContainerProperty).To<String>();
return element.GetValue(IsLightsContainerProperty).To<bool>();
}

/// <summary>
Expand Down

0 comments on commit 76171bc

Please sign in to comment.