TreeListPagerStyle
RadTreeList use instance of this class to set style of thir PagerItem-s when rendering
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class TreeListPagerStyle : TreeListTableItemStyle, IComponent, IDisposable, IStateManager
Inheritance: objectMarshalByRefObjectComponentStyleTableItemStyleTreeListTableItemStyleTreeListPagerStyle...
Implements:
Inherited Members
Properties
Gets or set a value indicating whether the Pager will be visible regardless of the number of items. (See the remarks)
[Bindable(true)]
public bool AlwaysVisible { get; set; }
true, if pager will be displayed, regardless of the number of TreeList items, othewise false. By fefault it is false.
In order to display the TreeList pager regardless of the number of records returned and the page size, you should set this property to true. Its default value is false.
The ToolTip that will be applied to the ChangePageSize Button control.
[Bindable(true)]
public string ChangePageSizeButtonToolTip { get; set; }
The summary attribute that will be applied to the table which holds the ChangePageSize RadComboBox control.
[Bindable(true)]
public string ChangePageSizeComboBoxTableSummary { get; set; }
The ToolTip that will be applied to the input element in the ChangePageSize RadComboBox control.
[Bindable(true)]
public string ChangePageSizeComboBoxToolTip { get; set; }
Text that will appear before the dropdown for changing the page size.
[Bindable(true)]
public string ChangePageSizeLabelText { get; set; }
Text for the 'Change' button when Mode is Advanced.
[Bindable(true)]
public string ChangePageSizeLinkButtonText { get; set; }
The ToolTip that will be applied to the ChangePageSize TextBox control.
[Bindable(true)]
public string ChangePageSizeTextBoxToolTip { get; set; }
ToolTip that would appear if Mode is PrevNext for 'next' page button
[Bindable(true)]
public string FirstPageToolTip { get; set; }
The ToolTip that will be applied to the GoToPage input element.
[Bindable(true)]
public string GoToPageButtonToolTip { get; set; }
Text that will appear before current page number when Mode is Advanced.
[Bindable(true)]
public string GoToPageLabelText { get; set; }
Text for the 'Go' button when Mode is Advanced.
[Bindable(true)]
public string GoToPageLinkButtonText { get; set; }
The ToolTip that will be applied to the GoToPage TextBox control.
[Bindable(true)]
public string GoToPageTextBoxToolTip { get; set; }
Gets a value indicating whether the default pager will be used, i.e. no customizations have been made.
[Browsable(false)]
public override bool IsDefault { get; }
Returns true if none of the properties have been set.
Overrides:
Gets a value indicating whether the pager is displayed on the bottom of the treelist.
[Browsable(false)]
public bool IsPagerOnBottom { get; }
Returns true if the pager will be displayed on the bottom of the treelist. Otherwise false.
Gets a value indicating whether the pager is displayed on the top of the treelist.
[Browsable(false)]
public bool IsPagerOnTop { get; }
Returns true if the pager will be displayed on the top of the treelist. Otherwise false.
ToolTip that would appear if Mode is PrevNext for 'last' page button
[Bindable(true)]
public string LastPageToolTip { get; set; }
Gets or sets the mode of Telerik RadTreeList Pager. The mode defines what the pager will contain. This property accepts as values only members of the TreeListPagerMode.
[Bindable(true)]
public TreeListPagerMode Mode { get; set; }
Returns the pager mode as one of the values of the RadTreeListPagerMode Enumeration.
ToolTip that would appear if Mode is PrevNext for 'next' page button
[Bindable(true)]
public string NextPageToolTip { get; set; }
Gets a reference to the owner RadTreeList object.
[Browsable(false)]
public RadTreeList OwnerTreeList { get; protected set; }
Gets or sets the number of buttons that would be rendered if pager Mode is NumericPages
[Bindable(true)]
public int PageButtonCount { get; set; }
returns the number of button that will be displayed. The default value is 10 buttons.
By default 10 buttons will be displayed. If the number of treelist pages is greater than 10, ellipsis will be displayed.
Text that will appear after the current page number and before count of all pages when Mode is Advanced.
[Bindable(true)]
public string PageOfLabelText { get; set; }
Gets or sets the type of the page size drop down control.
public PagerDropDownControlType PageSizeControlType { get; set; }
ToolTip that would appear if Mode is Slider for 'Decrease' button.
[Bindable(true)]
public string PageSliderDecreaseToolTip { get; set; }
ToolTip that would appear if Mode is Slider for 'Drag' button.
[Bindable(true)]
public string PageSliderDragToolTip { get; set; }
ToolTip that would appear if Mode is Slider for 'Increase' button.
[Bindable(true)]
public string PageSliderIncreaseToolTip { get; set; }
Text that will appear if Mode is Slider for current page.
[Bindable(true)]
public string PageSliderPagerLabel { get; set; }
Gets or sets the Position of pager item(s).Accepts only values, members of the TreeListPagerPosition.
[Bindable(true)]
public TreeListPagerPosition Position { get; set; }
Returns the Pager position as a value, member of the RadTreeListPagerPosition Enumeration.
ToolTip that would appear if Mode is PrevNext for 'prev' page button
[Bindable(true)]
public string PrevPageToolTip { get; set; }
Methods
Copies the style settings from a passed Style object. Before it is used for type specific settings a cast to TreeListPagerStyle is attempted.
public override void CopyFrom(Style s)
A Style object containing the style settings which should be applied to the pager.
Overrides:
Merges the current style settings with those of a passed Style object. Before it is used for type specific settings a cast to TreeListPagerStyle is attempted.
public override void MergeWith(Style s)
A Style object containing the style settings which should be merged with those of the pager.
Overrides:
Resets all style settings in the pager item.
public override void Reset()
Overrides: