Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartHeaderCloseVerb.cs / 1 / WebPartHeaderCloseVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartHeaderCloseVerb : WebPartActionVerb { // Properties must look at viewstate directly instead of the property in the base class, // so we can distinguish between an unset property and a property set to String.Empty. [ WebSysDefaultValue(SR.WebPartHeaderCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartHeaderCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartHeaderCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartHeaderCloseVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartHeaderCloseVerb : WebPartActionVerb { // Properties must look at viewstate directly instead of the property in the base class, // so we can distinguish between an unset property and a property set to String.Empty. [ WebSysDefaultValue(SR.WebPartHeaderCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartHeaderCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartHeaderCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartHeaderCloseVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextEmbeddedObject.cs
- SqlGatherProducedAliases.cs
- TableLayoutPanel.cs
- StylusLogic.cs
- PresentationTraceSources.cs
- SurrogateEncoder.cs
- WindowsListViewGroupHelper.cs
- OdbcCommand.cs
- ConditionedDesigner.cs
- InternalBufferOverflowException.cs
- HttpServerVarsCollection.cs
- BaseDataBoundControl.cs
- SymbolMethod.cs
- EntityException.cs
- MenuAdapter.cs
- KnownBoxes.cs
- ExpressionBuilder.cs
- AssertUtility.cs
- GenericAuthenticationEventArgs.cs
- reliableinputsessionchannel.cs
- SharedUtils.cs
- AttributeTableBuilder.cs
- BmpBitmapDecoder.cs
- CodeStatementCollection.cs
- MonitorWrapper.cs
- XmlCodeExporter.cs
- MeshGeometry3D.cs
- ProfileService.cs
- IpcClientChannel.cs
- controlskin.cs
- PrintPreviewControl.cs
- AccessControlEntry.cs
- UserUseLicenseDictionaryLoader.cs
- PeerNode.cs
- PtsPage.cs
- Int32Collection.cs
- ScriptingAuthenticationServiceSection.cs
- EmissiveMaterial.cs
- DataRowExtensions.cs
- BufferAllocator.cs
- FormViewDeletedEventArgs.cs
- FileDialog_Vista.cs
- CustomAttribute.cs
- SyndicationDeserializer.cs
- DesignerGeometryHelper.cs
- EventLogStatus.cs
- DrawingContextDrawingContextWalker.cs
- documentsequencetextcontainer.cs
- HMACSHA1.cs
- FontUnit.cs
- SaveFileDialog.cs
- CommandDevice.cs
- CodeBlockBuilder.cs
- GridView.cs
- ResXResourceWriter.cs
- TripleDESCryptoServiceProvider.cs
- Aggregates.cs
- XmlSchemaElement.cs
- InputScopeConverter.cs
- DateTimeOffset.cs
- AttachedPropertiesService.cs
- MailAddressCollection.cs
- WinEventQueueItem.cs
- TextDecorations.cs
- PrintController.cs
- XslNumber.cs
- MembershipPasswordException.cs
- ProbeRequestResponseAsyncResult.cs
- DbConnectionInternal.cs
- DefinitionProperties.cs
- SoapObjectInfo.cs
- ComAwareEventInfo.cs
- ApplicationDirectory.cs
- GetCryptoTransformRequest.cs
- TextParentUndoUnit.cs
- CodeTypeMemberCollection.cs
- UnsafeNativeMethodsTablet.cs
- FixedSOMImage.cs
- BooleanExpr.cs
- HtmlCommandAdapter.cs
- XmlDataLoader.cs
- WebControl.cs
- MobileControlsSectionHelper.cs
- StreamResourceInfo.cs
- ListBoxChrome.cs
- WindowHideOrCloseTracker.cs
- XamlVector3DCollectionSerializer.cs
- FeatureSupport.cs
- Exceptions.cs
- SHA1CryptoServiceProvider.cs
- CommandLineParser.cs
- StrokeRenderer.cs
- ScriptManager.cs
- streamingZipPartStream.cs
- ContainerFilterService.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- EncoderBestFitFallback.cs
- ClientTargetCollection.cs
- RegistrationProxy.cs
- GridProviderWrapper.cs