コード例 #1
0
        private static void OnCollapseModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CollapsableGridSplitter s = d as CollapsableGridSplitter;

            GridSplitterCollapseMode value = (GridSplitterCollapseMode)e.NewValue;

            s.OnCollapseModeChanged(value);
        }
コード例 #2
0
        private static void OnIsCollapsedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CollapsableGridSplitter s = d as CollapsableGridSplitter;

            bool value = (bool)e.NewValue;

            s.OnIsCollapsedChanged(value);
        }