Exemple #1
0
 /// <summary>
 /// Opens the adding category section
 /// </summary>
 private void OpenAddingCategorySection(object sender, RoutedEventArgs e)
 {
     if (!isAddingCategorySection_Opened)
     {
         isAddingCategorySection_Opened = true;
         AddingCategorySection.BeginAnimation(HeightProperty, openAddingCategorySection);
     }
 }
Exemple #2
0
 /// <summary>
 /// Closes the adding category section
 /// </summary>
 private void CloseAddingCategorySection(object sender, RoutedEventArgs e)
 {
     isAddingCategorySection_Opened = false;
     AddingCategorySection.BeginAnimation(HeightProperty, closeAddingCategorySection);
 }