//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.Web.UI.WebControls { using System.ComponentModel; /// /// Defines the properties and methods of the class. /// public class TableSectionStyle : Style { /// /// /// Gets or sets the visibility of the table section. /// /// [ WebCategory("Behavior"), DefaultValue(true), WebSysDescription(SR.TableSectionStyle_Visible), NotifyParentProperty(true) ] public bool Visible { get { object visible = ViewState["Visible"]; return ((visible == null) ? true : (bool)visible); } set { ViewState["Visible"] = value; } } } }