Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartHeaderCloseVerb.cs / 1305376 / 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
- SecurityRuntime.cs
- RoutingTable.cs
- Cloud.cs
- TreeView.cs
- ObjectReferenceStack.cs
- ResolveMatches11.cs
- Table.cs
- ResourceLoader.cs
- TaskHelper.cs
- DataGridViewColumnEventArgs.cs
- Int32RectConverter.cs
- RoleManagerEventArgs.cs
- unsafeIndexingFilterStream.cs
- RoutedEventConverter.cs
- AppDomainShutdownMonitor.cs
- XsltQilFactory.cs
- X500Name.cs
- Accessible.cs
- MemoryMappedViewStream.cs
- oledbconnectionstring.cs
- DetailsViewRow.cs
- WebPartConnectionsDisconnectVerb.cs
- XmlSchemaAnnotated.cs
- Tokenizer.cs
- UpWmlPageAdapter.cs
- BaseWebProxyFinder.cs
- ServiceModelConfiguration.cs
- PrintingPermission.cs
- SoapUnknownHeader.cs
- PreProcessInputEventArgs.cs
- UndirectedGraph.cs
- CodeMethodReturnStatement.cs
- WaitingCursor.cs
- XmlSchemaAll.cs
- DES.cs
- StateManagedCollection.cs
- DBAsyncResult.cs
- MailBnfHelper.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ErrorWebPart.cs
- TypeDescriptorContext.cs
- PersonalizableTypeEntry.cs
- JournalEntry.cs
- TextInfo.cs
- UnsafePeerToPeerMethods.cs
- SerialPinChanges.cs
- FormatConvertedBitmap.cs
- BuildResultCache.cs
- ProtocolsConfigurationHandler.cs
- Graph.cs
- WebPartTransformer.cs
- DetailsViewInsertEventArgs.cs
- NamespaceQuery.cs
- loginstatus.cs
- RelationshipWrapper.cs
- WeakReference.cs
- VideoDrawing.cs
- XmlSchemaImporter.cs
- OdbcDataReader.cs
- mansign.cs
- FrameworkObject.cs
- SchemaTableOptionalColumn.cs
- ReferentialConstraint.cs
- Timeline.cs
- Table.cs
- QuaternionRotation3D.cs
- DesignerDataSchemaClass.cs
- KeyValuePairs.cs
- ADMembershipUser.cs
- ClusterSafeNativeMethods.cs
- GetPageNumberCompletedEventArgs.cs
- XPathAncestorIterator.cs
- TabRenderer.cs
- OrderByQueryOptionExpression.cs
- ConfigXmlComment.cs
- UnaryNode.cs
- XslException.cs
- TypeUtils.cs
- OleDbParameterCollection.cs
- HandlerWithFactory.cs
- EntityClientCacheKey.cs
- pingexception.cs
- SqlErrorCollection.cs
- GridViewRowPresenter.cs
- UrlMappingCollection.cs
- Rotation3DAnimation.cs
- HMACMD5.cs
- CodeDelegateCreateExpression.cs
- SafeLibraryHandle.cs
- CompensationTokenData.cs
- XmlAttributeCollection.cs
- StylusEventArgs.cs
- CompModSwitches.cs
- PrintControllerWithStatusDialog.cs
- SoapReflectionImporter.cs
- CompoundFileDeflateTransform.cs
- DPAPIProtectedConfigurationProvider.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ControlCommandSet.cs
- GenericTypeParameterBuilder.cs