Class VirtualGridPagingPanelElement
Represents the paging element in RadVirtualGrid.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class VirtualGridPagingPanelElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
VirtualGridPagingPanelElement(VirtualGridTableElement, VirtualGridViewInfo)
Initializes a new instance of the VirtualGridPagingPanelElement class.
Declaration
public VirtualGridPagingPanelElement(VirtualGridTableElement gridViewElement, VirtualGridViewInfo viewInfo)
Parameters
VirtualGridTableElement
gridViewElement
The grid view element. |
VirtualGridViewInfo
viewInfo
The view info. |
Fields
ButtonDisplayStyleProperty
ButtonGlyphSizeProperty
FirstPageButtonImageProperty
LastPageButtonImageProperty
NextPageButtonImageProperty
NumericButtonsCountProperty
PreviousPageButtonImageProperty
Properties
ButtonDisplayStyle
Gets or sets a value indicating, whether the buttons will display images or glyphs.
Declaration
public BindingNavigatorButtonDisplayStyle ButtonDisplayStyle { get; set; }
Property Value
BindingNavigatorButtonDisplayStyle
|
ButtonGlyphSize
Gets or sets the font size of the glyphs when ButtonDisplayStyle property is set to Glyph.
Declaration
public float ButtonGlyphSize { get; set; }
Property Value
System.Single
|
ButtonsStripElement
Gets the buttons strip element.
Declaration
public CommandBarStripElement ButtonsStripElement { get; }
Property Value
CommandBarStripElement
The buttons strip element. |
CommandBar
Gets the command bar element.
Declaration
public RadCommandBarElement CommandBar { get; }
Property Value
RadCommandBarElement
The command bar. |
CommandBarRowElement
Gets the command bar row element.
Declaration
public CommandBarRowElement CommandBarRowElement { get; }
Property Value
CommandBarRowElement
The command bar row element. |
FastBackButton
Gets the button that navigates fast in the backward direction.
Declaration
public CommandBarButton FastBackButton { get; }
Property Value
CommandBarButton
The fast back button. |
FastForwardButton
Gets the button that navigates fast in the forward direction.
Declaration
public CommandBarButton FastForwardButton { get; }
Property Value
CommandBarButton
The fast forward button. |
FirstButton
Gets the button that navigates to the first page.
Declaration
public CommandBarButton FirstButton { get; }
Property Value
CommandBarButton
The first button. |
FirstPageButtonImage
Gets or sets the image of the button that navigates to the first page.
Declaration
public Image FirstPageButtonImage { get; set; }
Property Value
System.Drawing.Image
The first page button image. |
LastButton
Gets the button that navigates to the last page.
Declaration
public CommandBarButton LastButton { get; }
Property Value
CommandBarButton
The last button. |
LastPageButtonImage
Gets or sets the image of the button that navigates to the last page.
Declaration
public Image LastPageButtonImage { get; set; }
Property Value
System.Drawing.Image
The last page button image. |
NextButton
Gets the button that navigates to the next page.
Declaration
public CommandBarButton NextButton { get; }
Property Value
CommandBarButton
The next button. |
NextPageButtonImage
Gets or sets the image of the button that navigates next page.
Declaration
public Image NextPageButtonImage { get; set; }
Property Value
System.Drawing.Image
The next page button image. |
NumberOfPagesLabel
Gets the label that shows the total number of pages.
Declaration
public CommandBarLabel NumberOfPagesLabel { get; }
Property Value
CommandBarLabel
The number of pages label. |
NumericButtonsCount
Gets or sets the number of buttons with numbers in the paging panel.
Declaration
public int NumericButtonsCount { get; set; }
Property Value
System.Int32
|
OfPagesLabel
Gets the label that shows the "of" text.
Declaration
public CommandBarLabel OfPagesLabel { get; }
Property Value
CommandBarLabel
The of pages label. |
PageLabel
Gets the label that shows the "Page" text.
Declaration
public CommandBarLabel PageLabel { get; }
Property Value
CommandBarLabel
The page label. |
PageNumberTextBox
Gets the text box that shows the current page.
Declaration
public CommandBarTextBox PageNumberTextBox { get; }
Property Value
CommandBarTextBox
The page number text box. |
PreviousButton
Gets the button that navigates to the previous page.
Declaration
public CommandBarButton PreviousButton { get; }
Property Value
CommandBarButton
The previous button. |
PreviousPageButtonImage
Gets or sets the image of the button that navigates to the previous page.
Declaration
public Image PreviousPageButtonImage { get; set; }
Property Value
System.Drawing.Image
The previous page button image. |
ShowButtonsStripElement
Gets or sets whether the strip element holding the page navigation buttons is visible.
Declaration
public bool ShowButtonsStripElement { get; set; }
Property Value
System.Boolean
|
ShowFastBackButton
Gets or sets whether the button that navigates fast backward is visible.
Declaration
public bool ShowFastBackButton { get; set; }
Property Value
System.Boolean
|
ShowFastForwardButton
Gets or sets whether the button that navigates fast forward is visible.
Declaration
public bool ShowFastForwardButton { get; set; }
Property Value
System.Boolean
|
ShowFirstButton
Gets or sets whether the button that navigates to the first page is visible.
Declaration
public bool ShowFirstButton { get; set; }
Property Value
System.Boolean
|
ShowLastButton
Gets or sets whether the button that navigates to the last page is visible.
Declaration
public bool ShowLastButton { get; set; }
Property Value
System.Boolean
|
ShowNextButton
Gets or sets whether the button that navigates to the next page is visible.
Declaration
public bool ShowNextButton { get; set; }
Property Value
System.Boolean
|
ShowNumericalButtons
Gets or sets whether the buttons that navigate to a concrete page are visible.
Declaration
public bool ShowNumericalButtons { get; set; }
Property Value
System.Boolean
|
ShowPreviousButton
Gets or sets whether the button that navigates to the previous page is visible.
Declaration
public bool ShowPreviousButton { get; set; }
Property Value
System.Boolean
|
ShowTextBoxStripElement
Gets or sets whether the strip element holding the page navigation text box is visible.
Declaration
public bool ShowTextBoxStripElement { get; set; }
Property Value
System.Boolean
|
TableElement
Gets the VirtualGridTableElement which owns this view.
Declaration
public VirtualGridTableElement TableElement { get; }
Property Value
VirtualGridTableElement
|
TextBoxStripElement
Gets the text box strip element.
Declaration
public CommandBarStripElement TextBoxStripElement { get; }
Property Value
CommandBarStripElement
The text box strip element. |
ThemeEffectiveType
Gets the theme.
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
System.Type
The type of the theme effective. |
Overrides
ViewInfo
Gets the GridViewInfo that this view represents.
Declaration
public VirtualGridViewInfo ViewInfo { get; }
Property Value
VirtualGridViewInfo
|
Methods
CreateButtonsStripElementChildElements()
Creates the buttons strip element child elements.
Declaration
protected virtual void CreateButtonsStripElementChildElements()
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateTextBoxStripElementChildElements()
Creates the text box strip element child elements.
Declaration
protected virtual void CreateTextBoxStripElementChildElements()
DisposeManagedResources()
Disposes the managed resources of this instance.
Declaration
protected override void DisposeManagedResources()
Overrides
Focus()
Focuses this instance.
Declaration
public override bool Focus()
Returns
System.Boolean
|
Overrides
InitializeFields()
Initializes the fields of the current instance.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.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
System.Drawing.SizeF
The minimum size required by the element to be completely visible. Cannot be infinity. |
Overrides
Remarks
In this method call to the Measure method of each child must be made.
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the standard .NET PropertyChanged event.
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
UnwireEvents()
Unwires the buttons and text box events.
Declaration
protected virtual void UnwireEvents()
UpdateButton(CommandBarButton, String)
Declaration
protected virtual void UpdateButton(CommandBarButton button, string glyph)
Parameters
CommandBarButton
button
|
System.String
glyph
|
UpdateButtonsStripElement()
Updates the buttons strip element. Called when an update notification arrives.
Declaration
protected virtual void UpdateButtonsStripElement()
UpdateTextBoxStripElement()
Updates the text box strip element. Called when an update notification arrives.
Declaration
protected virtual void UpdateTextBoxStripElement()
UpdateView()
Explicitly synchronizes the view with its owner.
Declaration
public void UpdateView()
WireEvents()
Wires the buttons and text box events.
Declaration
protected virtual void WireEvents()