/// <summary> /// Updates the item container style. /// </summary> /// <param name="dependencyObject">The matching term items control.</param> /// <param name="eventArgs">Dependency Property Changed Event Args.</param> private static void ItemContainerStyle_Changed(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs) { MatchingTermItemsControl matchingTermItemsControl = (MatchingTermItemsControl)dependencyObject; matchingTermItemsControl.UpdateItemContainerStyle(); }
/// <summary> /// Updates the encoded item templates. /// </summary> /// <param name="dependencyObject">The matching term items control.</param> /// <param name="eventArgs">Dependency Property Changed Event Args.</param> private static void EncodedItemTemplate_Changed(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs) { MatchingTermItemsControl matchingTermItemsControl = (MatchingTermItemsControl)dependencyObject; matchingTermItemsControl.UpdateEncodedItemTemplate(); }
/// <summary> /// Updates the property bindings for the container. /// </summary> /// <param name="dependencyObject">The matching term items control.</param> /// <param name="eventArgs">Dependency Property Changed Event Args.</param> private static void MemberPath_Changed(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs) { MatchingTermItemsControl matchingTermItemsControl = (MatchingTermItemsControl)dependencyObject; matchingTermItemsControl.UpdateBindings(); }