New to Telerik UI for WinFormsStart a free 30-day trial

Represents a control that enables navigation within linearly paginated content using visual pip indicators. Can be used as a navigation assistant for other controls such as the RadSlideView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[TelerikToolboxCategory("Data Controls")]
public class RadPipsPager : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPipsPager...

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window...

Inherited Members RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Dispose(bool)RadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetBackColorThemeOverrides()RadControl.ResetBackColorThemeOverrides()RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnKeyDown(KeyEventArgs)RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseDown(MouseEventArgs)RadControl.OnMouseUp(MouseEventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseMove(MouseEventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnParentChanged(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnBindingContextChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.WndProc(ref Message)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.GetInputElement()RadControl.BeginInit()RadControl.EndInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGesture...

Constructors

Initializes a new instance of the RadPipsPager class with default settings.

C#
public RadPipsPager()

Properties

Gets or sets a value indicating whether to use animation when transitioning between pip selections.

C#
public bool AllowAnimation { get; set; }

Gets or sets the easing type used for pip transition animations to control the acceleration and deceleration of the animation.

C#
public RadEasingType AnimationEasingType { get; set; }

Gets or sets the number of frames used for pip transition animations.

C#
public int AnimationFrames { get; set; }

Gets or sets the time interval in milliseconds between animation frames during pip transitions.

C#
public int AnimationInterval { get; set; }

Gets or sets the delay in milliseconds before the navigation buttons are hidden after the mouse leaves the control. Used only when the ButtonsVisibility is VisibleOnMouseOver.

C#
public int AutoHideButtonsDelay { get; set; }

Gets or sets the data source for data binding scenarios. When set, the control will automatically generate pips based on the data source items.

C#
[Browsable(true)]
public BindingSource BindingSource { get; set; }

Gets or sets how the navigation buttons are displayed - whether they are always visible, hidden, or visible only on mouse over.

C#
public ButtonsVisibility ButtonsVisibility { get; set; }

Gets the default size of the RadPipsPager when a new instance is initialized.

C#
protected override Size DefaultSize { get; }

Overrides: Control.DefaultSize

Gets or sets a value indicating whether infinite scrolling from the last pip to the first pip and vice versa is enabled.

C#
public bool IsInfiniteScrollingEnabled { get; set; }

Gets or sets the size of the individual pip items displayed in the control.

C#
public Size ItemSize { get; set; }

Gets or sets the maximum number of visible pip items displayed in the control at any given time.

C#
public int MaxVisiblePips { get; set; }

Gets or sets the total number of pages in the pagination. If BindingSource is set, this property returns the Count.

C#
public int NumberOfPages { get; set; }

Gets or sets the orientation of the pip items - either horizontal or vertical arrangement.

C#
public Orientation Orientation { get; set; }

Gets the main pips pager element that handles the core functionality of the control.

C#
[Browsable(false)]
public RadPipsPagerElement PipsPagerElement { get; }

Gets or sets the zero-based index of the currently selected pip item.

C#
public int SelectedIndex { get; set; }

Methods

Determines whether moving to the next pip is possible based on the current selection and infinite scrolling settings.

C#
public bool CanSelectNext()
Returns:

bool

True if moving to the next pip is possible; otherwise, false

Determines whether moving to the previous pip is possible based on the current selection and infinite scrolling settings.

C#
public bool CanSelectPrevious()
Returns:

bool

True if moving to the previous pip is possible; otherwise, false

Creates the accessibility instance for this control to support screen readers and other accessibility tools.

C#
protected override AccessibleObject CreateAccessibilityInstance()
Returns:

AccessibleObject

An AccessibleObject instance for this control

Overrides: Control.CreateAccessibilityInstance()

Creates the child items for this control by adding the main pips pager element to the parent container.

C#
protected override void CreateChildItems(RadElement parent)
Parameters:parentRadElement

The parent element that will contain the child items

Overrides: RadControl.CreateChildItems(RadElement)

Creates a new instance of the RadPipsPagerElement that will serve as the main element for this control.

C#
protected virtual RadPipsPagerElement CreateRadPipsPagerElement()
Returns:

RadPipsPagerElement

A new RadPipsPagerElement instance

Determines whether the specified key is an input key that should be processed by the control for navigation purposes.

C#
protected override bool IsInputKey(Keys keyData)
Parameters:keyDataKeys

The key data to evaluate

Returns:

bool

True if the key is an input key (Left, Right, Up, Down arrows); otherwise, false

Overrides: RadControl.IsInputKey(Keys)

Handles the GotFocus event by passing focus to the internal pips pager element.

C#
protected override void OnGotFocus(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data

Overrides: RadControl.OnGotFocus(EventArgs)

Selects the pip at the specified index with an option to animate the transition.

C#
public void Select(int index, bool animate)
Parameters:indexint

The zero-based index of the pip to select

animatebool

A value indicating whether to animate the selection process

Selects the pip at the specified index without animation.

C#
public void Select(int index)
Parameters:indexint

The zero-based index of the pip to select

Moves the selection to the next pip if possible.

C#
public void SelectNext()

Moves the selection to the previous pip if possible.

C#
public void SelectPrevious()

Updates the visibility of navigation buttons and other visual elements based on the current state and settings.

C#
public virtual void UpdateVisibility()

Events

Occurs when a pip animation is finished.

C#
public event AnimationFinishedEventHandler AnimationFinished

Occurs when a pip animation is started.

C#
public event AnimationStartedEventHandler AnimationStarted

Occurs when a new pip item is created during the rendering process. This event is suitable for modifying or replacing the pip with custom content or styling.

C#
public event CreatePipItemEventHandler CreatePipItem

Occurs when the selected pip index has changed to a different pip item.

C#
public event SelectedPipChangedEventHandler SelectedIndexChanged