private static void OnDisplayModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RadPaginationControl control = d as RadPaginationControl; if (!control.IsTemplateApplied) { return; } control.UpdateDisplayMode((PaginationControlDisplayMode)e.NewValue); }
private static void OnPageProviderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RadPaginationControl control = d as RadPaginationControl; control.ChangeProvider(e.NewValue as Selector); }