Skip to content

Commit

Permalink
Merge pull request #90 from PedroLamas/eventtriggerbehaviorxbind
Browse files Browse the repository at this point in the history
Fixed #89: Ensured EventTriggerBehavior supports x:Bind bindings
  • Loading branch information
LocalJoost committed Feb 25, 2016
2 parents 3c2d2b1 + 3c04fc7 commit 1e8dc93
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,7 @@ private void RegisterEvent(string eventName)
EventInfo info = sourceObjectType.GetRuntimeEvent(eventName);
if (info == null)
{
throw new ArgumentException(string.Format(
CultureInfo.CurrentCulture,
ResourceHelper.CannotFindEventNameExceptionMessage,
this.EventName,
sourceObjectType.Name));
return;
}

MethodInfo methodInfo = typeof(EventTriggerBehavior).GetTypeInfo().GetDeclaredMethod("OnEvent");
Expand Down

0 comments on commit 1e8dc93

Please sign in to comment.