Exemplo n.º 1
0
        private static void OnDisplayModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadPaginationControl control = d as RadPaginationControl;

            if (!control.IsTemplateApplied)
            {
                return;
            }

            control.UpdateDisplayMode((PaginationControlDisplayMode)e.NewValue);
        }
Exemplo n.º 2
0
        private static void OnPageProviderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadPaginationControl control = d as RadPaginationControl;

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