Beispiel #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);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Closes the adding category section
 /// </summary>
 private void CloseAddingCategorySection(object sender, RoutedEventArgs e)
 {
     isAddingCategorySection_Opened = false;
     AddingCategorySection.BeginAnimation(HeightProperty, closeAddingCategorySection);
 }