Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPField Class
SPField Properties
 Hidden Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SPField.Hidden Property (Microsoft.SharePoint)
Gets or sets a Boolean value that specifies whether the field is displayed in the list.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Property Hidden As Boolean
Visual Basic (Usage)
Dim instance As SPField
Dim value As Boolean

value = instance.Hidden

instance.Hidden = value
C#
public bool Hidden { get; set; }

Property Value

true if the field is hidden; otherwise, false.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Application Page to change the Hidden property of a SharePoint List (SPList) or Field (SPField)      Rafelo   |   Edit   |   Show History

I've developed a custom application page that allows a site administrators to toggle the Hidden Property of any SharePoint List of Field. The page displays all the lists and fields in the site regardless of their hidden status. The code sample and a link to the downloadable page can be found at http://blog.rafelo.com/2008/06/exposing-and-creating-hidden-sharepoint.html. I hope it helps. Any feedback is appreciated

Rafelo
http://blog.rafelo.com/

Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker