DataGridPagerStyle::Visible Property

 

Gets or sets a value indicating whether the pager is displayed in the DataGrid control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property bool Visible {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true to display the pager; otherwise, false. The default value is true.

Use the Visible property to specify whether the pager is displayed in the DataGrid control.

The following code example demonstrates how to use the Visible property to display and hide the pager element in the DataGrid control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: