System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object System.Collections.ICollection System.ComponentModel.ITypedList The class encapsulates the properties that allow data-source controls, such as the , , , and , to perform paging. This class is used by control developers when providing paging support to a custom data-bound control. This class uses the best available method to enumerate over the data belonging to the current page. If the underlying data source supports indexed access (such as and ), this class uses it. Otherwise, it uses the enumerator created by the method. For a list of initial property values for an instance of , see the constructor. Encapsulates the paging-related properties of a data-bound control (such as , , , and ) that allow it to perform paging. This class cannot be inherited. Constructor Use this constructor to create and initialize a new instance of the class. The following table shows initial property values for an instance of . Property Initial Value false false false 0 10 0 Initializes a new instance of the class. 1.0.5000.0 2.0.0.0 Property System.Boolean To be added: an object of type 'bool' Use the property to indicate whether custom paging is enabled. Custom paging is an optional type of paging provided specifically by the control. ASP.NET version 2.0 data-bound control (such as , , and ) uses server-side paging and does not support custom paging. Custom paging and server-side paging are mutually exclusive. If you set to true, be sure that is set to false. For more information about custom paging, see . Gets or sets a value indicating whether custom paging is enabled in a data-bound control. 1.0.5000.0 2.0.0.0 Property System.Boolean To be added: an object of type 'bool' Use the property to specify whether a data-bound control has paging enabled. ASP.NET version 2.0 data-bound controls (such as , , and ) also use server-side paging to provide automatic paging functionality. For more information on server-side paging, see . When using the control, you can also provide your own custom paging logic. For more information on custom paging, see and . For more information about paging support for data-bound controls, see the AllowPaging property of the data-bound control. Gets or sets a value indicating whether paging is enabled in a data-bound control. 1.0.5000.0 2.0.0.0 Property 2.0.0.0 System.Boolean To be added. ASP.NET version 2.0 data-bound controls (such as , , and ) provide automatic paging functionality through server-side paging. When using an ASP.NET 2.0 data-bound control, set this property to true. Server-side paging and custom paging are mutually exclusive. If you set to true, be sure that is set to false. Gets or sets a value indicating whether server-side paging is enabled. Method System.Void Use this method to copy the contents of the data source into the specified , starting at the specified index. The is often used to iterate through the items in the data source. Copies all the items from the data source to the specified , starting at the specified index in the . A zero-based that receives the copied items from the data source. The first position in the specified to receive the copied contents. 1.0.5000.0 2.0.0.0 Property System.Int32 To be added: an object of type 'int' Use the property to determine the number of items to be used from the data source. The value returned depends on whether paging is enabled and whether custom paging is used. If paging is disabled (by setting the property to false), the value of the property is returned. If paging is enabled (by setting the property to true) and custom paging is enabled (by setting the property set to true), the value of the property is returned. If paging is enabled (by setting the property to true) and the property is set to false, the value of the property is returned. If paging is enabled (by setting the property to true), custom paging is disabled (by setting the property false), and the property is set to true, the value of the property is subtracted from the value of the property before it is returned. If the property contains null, 0 is returned. Gets the number of items to be used from the data source. 1.0.5000.0 2.0.0.0 Property System.Int32 To be added: an object of type 'int' Use the property to specify or determine the index of the current page. Gets or sets the index of the current page. 1.0.5000.0 2.0.0.0 Property System.Collections.IEnumerable a Use the property to specify or determine the data source being paged. Gets or sets the data source. 1.0.5000.0 2.0.0.0 Property System.Int32 To be added: an object of type 'int' Use the property to determine the number of items in the data source. If custom paging or server-side paging is used, the value of the property is returned; otherwise, the total number of items in the data source is returned. If the property contains null, 0 is returned. Gets the number of items in the data source. 1.0.5000.0 2.0.0.0 Property System.Int32 To be added: an object of type 'int' Use the property to determine the index of the first item on the current page. If the property is set to false, or the or properties are set to true, or the property contains null, 0 is returned. Gets the index of the first record displayed on the page. 1.0.5000.0 2.0.0.0 Method System.Collections.IEnumerator Use this method to create a that can be iterated through to get each item in the data source. To access the item at the current position in the enumerator, use the property. Use the method to move to the next item in the collection. To move the enumerator to its initial position, use the method. When you initially get the enumerator or use the method to move the enumerator to the first item in the collection, you must call the method. Otherwise, the item represented by the property is undefined. Returns a implemented object that contains all items in the data source. A implemented object that contains all items in the data source. 1.0.5000.0 2.0.0.0 Method System.ComponentModel.PropertyDescriptorCollection a Use the method to create a that represents the properties on each item used to bind data. If the property is null or is not a implemented object, null is returned. For more information on the method, see . Returns the that represents the properties on each item used to bind data. The that represents the properties on each item used to bind data. 1.0.5000.0 2.0.0.0 Method System.String a This method is inherited from and is not applicable to this class. It has been implemented to return for all cases. Returns the name of the list. This method does not apply to this class. for all cases. 1.0.5000.0 2.0.0.0 Property System.Boolean To be added: an object of type 'bool' Use the property to determine whether custom paging is enabled. Both the and properties must be true for this property to return true. Gets a value indicating whether custom paging is enabled. 1.0.5000.0 2.0.0.0 Property System.Boolean To be added: an object of type 'bool' Use the property to determine whether the current page is the first page. Gets a value indicating whether the current page is the first page. 1.0.5000.0 2.0.0.0 Property System.Boolean To be added: an object of type 'bool' Use the property to determine whether the current page is the last page. Gets a value indicating whether the current page is the last page. 1.0.5000.0 2.0.0.0 Property System.Boolean To be added: an object of type 'bool' Use the property to determine whether paging is enabled. The property must be true and the property cannot be set to 0 for this property to return true. Gets a value indicating whether paging is enabled. 1.0.5000.0 2.0.0.0 Property System.Boolean To be added: an object of type 'bool' This property is implemented to always return false, which indicates that the data source can be modified in all cases. Gets a value indicating whether the data source is read-only. 1.0.5000.0 2.0.0.0 Property 2.0.0.0 System.Boolean To be added. Server-side paging is enabled when the and properties are both set to true, and the amount of data retrieved by the data source cannot be displayed in a single page. Gets a value indicating whether server-side paging support is enabled. Property System.Boolean To be added: an object of type 'bool' This property is derived from the class and is overridden to always return false to indicate that this class is not thread-safe. For more information on the property, see the property of the interface. Gets a value indicating whether access to the data source is synchronized (thread-safe). 1.0.5000.0 2.0.0.0 Property System.Int32 To be added: an object of type 'int' Use the property to determine the number of pages necessary to display all items in the data source. If the property is null, 0 is returned. If the property is set to false or the property is set to 0 or less, 1 is returned. Gets the total number of pages necessary to display all items in the data source. 1.0.5000.0 2.0.0.0 Property System.Int32 To be added: an object of type 'int' Use the property to specify or determine the number of items to display on a single page. Gets or sets the number of items to display on a single page. 1.0.5000.0 2.0.0.0 Property System.Object To be added: an object of type 'object' The object returned in this implementation is the object itself. For more information on the property, see the property of the interface. Gets the object that can be used to synchronize access to the collection. 1.0.5000.0 2.0.0.0 Property System.Int32 To be added: an object of type 'int' Use the property when custom paging or server-side paging is used to determine the virtual number of items in the data source. For more information on the property, see . Gets or sets the virtual number of items in the data source when custom paging is used. 1.0.5000.0 2.0.0.0