/// <summary> /// Handles the ClusteringFinished event of the Parent control /// </summary> /// <param name="sender">The ClusteringToolPanelExtensionViewModel that fired the event</param> /// <param name="e">Arguments for the event</param> private void parent_ClusteringFinished(object sender, ClusteringEventArgs e) { if (IsActive) this.isPartOfCurrentClustering = true; }
/// <summary> /// Raises the ClusteringFinished event /// </summary> /// <param name="e">The event agruments</param> protected virtual void OnClusteringFinished(ClusteringEventArgs e) { EventHandler<ClusteringEventArgs> handler = this.ClusteringFinished; if (handler != null) { handler(this, e); } }