Represents the paging element in RadVirtualGrid.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualGridPagingPanelElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementVirtualGridPagingPanelElement...
Implements:
Inherited Members
Constructors
Initializes a new instance of the VirtualGridPagingPanelElement class.
public VirtualGridPagingPanelElement(VirtualGridTableElement gridViewElement, VirtualGridViewInfo viewInfo)
The grid view element.
viewInfoVirtualGridViewInfoThe view info.
Fields
Identifies the property that selects images or font glyphs for the navigation buttons.
public static RadProperty ButtonDisplayStyleProperty
Identifies the property that sets the font size used for navigation glyphs.
public static RadProperty ButtonGlyphSizeProperty
Identifies the image property for the button that navigates to the first page.
public static RadProperty FirstPageButtonImageProperty
Identifies the image property for the button that navigates to the last page.
public static RadProperty LastPageButtonImageProperty
Identifies the image property for the button that navigates to the next page.
public static RadProperty NextPageButtonImageProperty
Identifies the property that controls how many numbered page buttons the strip creates.
public static RadProperty NumericButtonsCountProperty
Identifies the image property for the button that navigates to the previous page.
public static RadProperty PreviousPageButtonImageProperty
Properties
Gets or sets a value indicating, whether the buttons will display images or glyphs.
public BindingNavigatorButtonDisplayStyle ButtonDisplayStyle { get; set; }
Gets or sets the font size of the glyphs when ButtonDisplayStyle property is set to Glyph.
public float ButtonGlyphSize { get; set; }
Gets the buttons strip element.
public CommandBarStripElement ButtonsStripElement { get; }
The buttons strip element.
Gets the command bar element.
public RadCommandBarElement CommandBar { get; }
The command bar.
Gets the command bar row element.
public CommandBarRowElement CommandBarRowElement { get; }
The command bar row element.
Gets the button that navigates fast in the backward direction.
public CommandBarButton FastBackButton { get; }
The fast back button.
Gets the button that navigates fast in the forward direction.
public CommandBarButton FastForwardButton { get; }
The fast forward button.
Gets the button that navigates to the first page.
public CommandBarButton FirstButton { get; }
The first button.
Gets or sets the image of the button that navigates to the first page.
[TypeConverter(typeof(ImageTypeConverter))]
public Image FirstPageButtonImage { get; set; }
The first page button image.
Gets the button that navigates to the last page.
public CommandBarButton LastButton { get; }
The last button.
Gets or sets the image of the button that navigates to the last page.
[TypeConverter(typeof(ImageTypeConverter))]
public Image LastPageButtonImage { get; set; }
The last page button image.
Gets the button that navigates to the next page.
public CommandBarButton NextButton { get; }
The next button.
Gets or sets the image of the button that navigates next page.
[TypeConverter(typeof(ImageTypeConverter))]
public Image NextPageButtonImage { get; set; }
The next page button image.
Gets the label that shows the total number of pages.
public CommandBarLabel NumberOfPagesLabel { get; }
The number of pages label.
Gets or sets the number of buttons with numbers in the paging panel.
public int NumericButtonsCount { get; set; }
Gets the label that shows the "of" text.
public CommandBarLabel OfPagesLabel { get; }
The of pages label.
Gets the label that shows the "Page" text.
public CommandBarLabel PageLabel { get; }
The page label.
Gets the text box that shows the current page.
public CommandBarTextBox PageNumberTextBox { get; }
The page number text box.
Gets the button that navigates to the previous page.
public CommandBarButton PreviousButton { get; }
The previous button.
Gets or sets the image of the button that navigates to the previous page.
[TypeConverter(typeof(ImageTypeConverter))]
public Image PreviousPageButtonImage { get; set; }
The previous page button image.
Gets or sets whether the strip element holding the page navigation buttons is visible.
public bool ShowButtonsStripElement { get; set; }
true if the strip element holding the page navigation buttons is visible; otherwise, false.
Gets or sets whether the button that navigates fast backward is visible.
public bool ShowFastBackButton { get; set; }
true if the button that navigates fast backward is visible; otherwise, false.
Gets or sets whether the button that navigates fast forward is visible.
public bool ShowFastForwardButton { get; set; }
true if the button that navigates fast forward is visible; otherwise, false.
Gets or sets whether the button that navigates to the first page is visible.
public bool ShowFirstButton { get; set; }
true if the button that navigates to the first page is visible; otherwise, false.
Gets or sets whether the button that navigates to the last page is visible.
public bool ShowLastButton { get; set; }
true if the button that navigates to the last page is visible; otherwise, false.
Gets or sets whether the button that navigates to the next page is visible.
public bool ShowNextButton { get; set; }
true if the button that navigates to the next page is visible; otherwise, false.
Gets or sets whether the buttons that navigate to a concrete page are visible.
public bool ShowNumericalButtons { get; set; }
true if the buttons that navigate to a concrete page are visible; otherwise, false.
Gets or sets whether the button that navigates to the previous page is visible.
public bool ShowPreviousButton { get; set; }
true if the button that navigates to the previous page is visible; otherwise, false.
Gets or sets whether the strip element holding the page navigation text box is visible.
public bool ShowTextBoxStripElement { get; set; }
true if the strip element holding the page navigation text box is visible; otherwise, false.
Gets the VirtualGridTableElement which owns this view.
public VirtualGridTableElement TableElement { get; }
Gets the text box strip element.
public CommandBarStripElement TextBoxStripElement { get; }
The text box strip element.
Gets the theme.
protected override Type ThemeEffectiveType { get; }
The type of the theme effective.
Overrides:
Gets the GridViewInfo that this view represents.
public VirtualGridViewInfo ViewInfo { get; }
Methods
Creates the buttons strip element child elements.
protected virtual void CreateButtonsStripElementChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Creates the text box strip element child elements.
protected virtual void CreateTextBoxStripElementChildElements()
Disposes the managed resources of this instance.
protected override void DisposeManagedResources()
Overrides:
Initializes the fields of the current instance.
protected override void InitializeFields()
Overrides:
Measures the space required by the RadElement Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Raises the standard .NET PropertyChanged event.
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Overrides:
Refreshes the first, previous, next, and last navigation buttons when the display style or glyph size changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property-change notification.
Overrides:
Unwires the buttons and text box events.
protected virtual void UnwireEvents()
Applies the configured image or glyph presentation to a navigation button without overriding higher-priority text.
protected virtual void UpdateButton(CommandBarButton button, string glyph)
The button to update; null is ignored.
glyphstringThe font glyph to use when glyph display is selected.
Updates the buttons strip element. Called when an update notification arrives.
protected virtual void UpdateButtonsStripElement()
Updates the text box strip element. Called when an update notification arrives.
protected virtual void UpdateTextBoxStripElement()
Explicitly synchronizes the view with its owner.
public void UpdateView()
Wires the buttons and text box events.
protected virtual void WireEvents()