Esempio n. 1
0
        public static void OnCollectionBackgroundChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ExtendedPivotViewer pv = (ExtendedPivotViewer)d;

            try
            {
                pv.CollectionViewBackground.Fill = e.NewValue as Brush;
            }
            catch (Exception) { }
        }
Esempio n. 2
0
        public static void OnShowFilterPaneChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ExtendedPivotViewer pv = (ExtendedPivotViewer)d;

            try
            {
                pv.FilterPaneView.Visibility = (bool)e.NewValue ? Visibility.Visible : Visibility.Collapsed;
            }
            catch (Exception) { }
        }
Esempio n. 3
0
        public static void OnInfoPaneBackgroundChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ExtendedPivotViewer pv = (ExtendedPivotViewer)d;

            try
            {
                pv.InfoPaneViewBackgroundRectangle.Fill = e.NewValue as Brush;
            }
            catch (Exception) { }
        }
Esempio n. 4
0
        public static void OnFilterPaneBackgroundChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ExtendedPivotViewer pv = (ExtendedPivotViewer)d;

            try
            {
                pv.FilterPaneViewBackgroundRectangle2.Fill = new SolidColorBrush(Colors.Transparent);
                pv.FilterPaneViewBackgroundRectangle.Fill  = e.NewValue as Brush;
            }
            catch (Exception) { }
        }