ShowFooter Property

DataGrid.ShowFooter Property

Gets or sets a value that indicates whether the footer is displayed in the DataGrid control.

[Visual Basic]
Public Overridable Property ShowFooter As Boolean
public virtual bool ShowFooter {get; set;}
public: __property virtual bool get_ShowFooter();
public: __property virtual void set_ShowFooter(bool);
public function get ShowFooter() : Boolean;
public function set ShowFooter(Boolean);

Property Value

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


Set this property to true to display the footer in the DataGrid control. The appearance of the footer is controlled by using the FooterStyle property.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataGrid Class | DataGrid Members | System.Web.UI.WebControls Namespace | FooterStyle

© 2015 Microsoft