/// <summary> /// Handles the allergies changed event. /// </summary> /// <param name="d">Allergies label whose allergies got changed.</param> /// <param name="e">Event args containing instance data.</param> private static void OnAllergiesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { AllergiesLabel allergiesLabel = d as AllergiesLabel; if (allergiesLabel != null) { allergiesLabel.RefreshDisplayItems(); } }
/// <summary> /// Creates a new instance of allergies label automation peer. /// </summary> /// <param name="control">Allergies label control.</param> public AllergiesLabelAutomationPeer(AllergiesLabel control) : base(control) { }