コード例 #1
0
        private void SortCheckBox_OnChecked(object sender, RoutedEventArgs e)
        {
            var checkBox = (CheckBox)sender;
            var tag      = checkBox.Tag.ToString();

            SculpturesHandler.SortCollection(tag);
        }
コード例 #2
0
        private void MaterialFilterButton_OnClick(object sender, RoutedEventArgs e)
        {
            var checkBox = (CheckBox)sender;
            var tag      = checkBox.Tag.ToString();

            SculpturesHandler.FilterCollectionByMaterial(tag);
        }
コード例 #3
0
        /// <summary>
        /// This method starts the Progress Ring when the sculptures are requested from the Database.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private async void ButtonBase_OnClick(object sender, RoutedEventArgs e)
        {
            // Delegate method to call the reset.
            ProgressRing.IsActive     = true;
            SculptureListView.Opacity = 0.3;
            await SculpturesHandler.ResetCollectionAsync();

            ProgressRing.IsActive     = false;
            SculptureListView.Opacity = 1;
        }