Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemPageNumberEdit Class

Stores settings specific to the PageNumberEdit control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class RepositoryItemPageNumberEdit :
    RepositoryItemTextEdit,
    ISupportsHeightFitting,
    ISupportAutoWidth

#Remarks

The RepositoryItemPageNumberEdit class provides properties and events specific to the PageNumberEdit control. The control can be displayed in the navigation section of a menu bar or ribbon to allow an end-user to enter the required page number. The control only accepts digits and displays the default caption containing the maximum page number. See an example below.

PageNumberEdit

The settings provided by the RepositoryItemPageNumberEdit class include:

You can add the control to a menu bar or ribbon in Visual Studio Designer as shown in the figure below.

RepositoryItemPageNumberEdit_Designer

#Inheritance

Object
MarshalByRefObject
Component
DevExpress.XtraEditors.ComponentBase
RepositoryItem
RepositoryItemTextEdit
RepositoryItemPageNumberEdit
See Also