/// Provided only when <see cref="NotifyBindingsChangedEventArgs.Action" /> is equal to <see cref="NotifyBindingsChangedAction.RoutedUICommandModified" />
/// Gets name of modified named <see cref="UIElement" /> instance as registered using <see cref="CommandManager.RegisterNamedUIElement" />
///
/// Provided only when <see cref="NotifyBindingsChangedEventArgs.Action" /> is equal to <see cref="NotifyBindingsChangedAction.NamedInstanceModified" />
/// </summary>
publicstringUIElementName
{
get{
return_uiElementName;
}
}
privateICollection<UIElement>_oldNamedUIElements;
/// <summary>
/// Gets collection of <see cref="UIElement" /> instances associated with name provided in <see cref="NotifyBindingsChangedEventArgs.UIElementName" /> property
/// before the modification event
///
/// Provided only when <see cref="NotifyBindingsChangedEventArgs.Action" /> is equal to <see cref="NotifyBindingsChangedAction.NamedInstanceModified" />
/// </summary>
publicICollection<UIElement>OldNamedUIElements
{
get{
return_oldNamedUIElements;
}
}
privateICollection<UIElement>_newNamedUIElements;
/// <summary>
/// Gets collection of <see cref="UIElement" /> instances associated with name provided in <see cref="NotifyBindingsChangedEventArgs.UIElementName" /> property
/// after the modification event
///
/// Provided only when <see cref="NotifyBindingsChangedEventArgs.Action" /> is equal to <see cref="NotifyBindingsChangedAction.NamedInstanceModified" />
/// Gets collection of collection of modified <see cref="BindingInfoGroup" />
///
/// Provided only when <see cref="NotifyBindingsChangedEventArgs.Action" /> is equal to <see cref="NotifyBindingsChangedAction.GroupAttachmendsModified" />
/// </summary>
publicBindingGroupCollectionModifiedGroups
{
get{
return_attachedInstances;
return_modifiedGroups;
}
}
privateBindingGroupCollection_groups;
publicBindingGroupCollectionGroups
/// <summary>
/// Gets collection of instances whose <see cref="UIElement.CommandBindings" />
/// and <see cref="UIElement.InputBindings" /> collections are controled by
/// groups provided in <see cref="NotifyBindingsChangedEventArgs.ModifiedGroups" /> property
///
/// Provided only when <see cref="NotifyBindingsChangedEventArgs.Action" /> is equal to <see cref="NotifyBindingsChangedAction.GroupAttachmendsModified" />
/// <param name="action">The action that caused this event. This can only be set to <see cref="NotifyBindingsChangedAction.NamedTypeModified" /></param>
/// <param name="elementName">Registered <see cref="Type" /> name (Can be different from <see cref="System.Type.Name")</param>
/// <param name="oldElements">Collection of <see cref="Type" />s associated with provided name before modification</param>
/// <param name="newElements">Collection of <see cref="Type" />s associated with provided name after modification</param>
/// <param name="action">The action that caused this event. This can only be set to <see cref="NotifyBindingsChangedAction.NamedInstanceModified" /></param>
/// <param name="action">The action that caused this event. This can only be set to <see cref="NotifyBindingsChangedAction.RoutedUICommandModified" /></param>
/// <param name="routedCommandName">Registered or unregistered <see cref="RoutedUICommand" /> name</param>
/// <param name="action">The action that caused this event. This can only be set to <see cref="NotifyBindingsChangedAction.BindingInfoModified" /></param>
/// <param name="templates">Collection of <see cref="BindingInfoTemplate" />s describing modified <see cref="CommandBindingInfo" />s or <see cref="InputBindingInfo" />s</param>
/// <param name="action">The action that caused this event. This can only be set to <see cref="NotifyBindingsChangedAction.GroupAttachmendsModified" /></param>
/// <param name="groups">Modified groups</param>
/// <param name="attachedInstances">Collection instances (un)registered in <see cref="BindingGroup" /></param>