Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / TableSectionStyle.cs / 1 / TableSectionStyle.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System.ComponentModel;
using System.Security.Permissions;
///
/// Defines the properties and methods of the class.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System.ComponentModel;
using System.Security.Permissions;
///
/// Defines the properties and methods of the class.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BitmapSizeOptions.cs
- FtpWebRequest.cs
- ConfigXmlAttribute.cs
- TrackingServices.cs
- LocalizableResourceBuilder.cs
- TextOptions.cs
- GlyphRunDrawing.cs
- ProtocolImporter.cs
- FontStretch.cs
- ListParaClient.cs
- InstalledFontCollection.cs
- ClusterSafeNativeMethods.cs
- XmlAttributeProperties.cs
- HtmlInputHidden.cs
- ProfileParameter.cs
- PeerObject.cs
- EmbeddedObject.cs
- Opcode.cs
- ConversionHelper.cs
- ListItemConverter.cs
- DrawingImage.cs
- ExecutionContext.cs
- EventPropertyMap.cs
- PrintingPermission.cs
- ByteStreamGeometryContext.cs
- PassportIdentity.cs
- DataGridRowDetailsEventArgs.cs
- SiteMapSection.cs
- AutomationProperties.cs
- PackagePart.cs
- Exception.cs
- followingsibling.cs
- CreateInstanceBinder.cs
- BamlRecordWriter.cs
- DateRangeEvent.cs
- HtmlTable.cs
- cookieexception.cs
- DiscoveryClientChannelFactory.cs
- TreeNodeStyleCollection.cs
- RequestQueue.cs
- AudioStateChangedEventArgs.cs
- PageVisual.cs
- EditorZoneBase.cs
- ListViewGroupItemCollection.cs
- PeerObject.cs
- RenderDataDrawingContext.cs
- SiteMapPath.cs
- RunInstallerAttribute.cs
- RequiredAttributeAttribute.cs
- VirtualPathUtility.cs
- TogglePatternIdentifiers.cs
- UpdateManifestForBrowserApplication.cs
- ThemeInfoAttribute.cs
- FixedFlowMap.cs
- PackageRelationshipSelector.cs
- AutomationElement.cs
- ResourceExpressionBuilder.cs
- OrderedDictionary.cs
- PropertyCollection.cs
- SafeCryptoHandles.cs
- LogWriteRestartAreaState.cs
- MorphHelpers.cs
- XmlWrappingWriter.cs
- StringToken.cs
- StrokeCollection2.cs
- DataKeyArray.cs
- wmiprovider.cs
- FixedPosition.cs
- SecureConversationDriver.cs
- oledbconnectionstring.cs
- ExtentKey.cs
- LicenseException.cs
- WorkflowTimerService.cs
- ValueProviderWrapper.cs
- BufferedStream.cs
- Constants.cs
- Intellisense.cs
- FrameworkContentElement.cs
- ComponentRenameEvent.cs
- StorageComplexPropertyMapping.cs
- Content.cs
- ArgumentOutOfRangeException.cs
- SafePEFileHandle.cs
- ResourcePool.cs
- SystemIPInterfaceProperties.cs
- MembershipPasswordException.cs
- GeometryGroup.cs
- ComponentCommands.cs
- XmlCharacterData.cs
- LogicalExpr.cs
- TextSpanModifier.cs
- ContainerControl.cs
- XmlExpressionDumper.cs
- DocumentCollection.cs
- EventToken.cs
- Model3DCollection.cs
- BitArray.cs
- PassportIdentity.cs
- HandlerMappingMemo.cs
- EventLogPermissionEntry.cs