/// <summary> /// Raises the <see cref="E:SelectedCategoryChanged"/> event. /// </summary> /// <param name="e">The <see cref="KnowledgeBase.Desktop.Core.ObjectIdentifierEventArgs"/> instance containing the event data.</param> protected virtual void OnSelectedCategoryChanged(ObjectIdentifierEventArgs e) { if (SelectedCategoryChanged != null) { SelectedCategoryChanged(this, e); } }
private void OnSelectedCategoryChanged(object sender, ObjectIdentifierEventArgs e) { Value = listCategories.SelectedCategoryId; }