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