コード例 #1
0
        private static void OnDisplayModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadPaginationControl control = d as RadPaginationControl;

            if (!control.IsTemplateApplied)
            {
                return;
            }

            control.UpdateDisplayMode((PaginationControlDisplayMode)e.NewValue);
        }
コード例 #2
0
        private static void OnPageProviderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadPaginationControl control = d as RadPaginationControl;

            control.ChangeProvider(e.NewValue as Selector);
        }