Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartCatalogCloseVerb.cs / 1305376 / WebPartCatalogCloseVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartCatalogCloseVerb : 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.WebPartCatalogCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartCatalogCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartCatalogCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartCatalogCloseVerb_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 WebPartCatalogCloseVerb : 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.WebPartCatalogCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartCatalogCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartCatalogCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartCatalogCloseVerb_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
- OleCmdHelper.cs
- Matrix.cs
- MethodRental.cs
- ControlBuilder.cs
- ClientTargetCollection.cs
- altserialization.cs
- WindowsFormsEditorServiceHelper.cs
- PropertyGeneratedEventArgs.cs
- GridViewRowCollection.cs
- filewebrequest.cs
- TextEditorSpelling.cs
- TextEvent.cs
- SafeBitVector32.cs
- Debug.cs
- EdmFunctionAttribute.cs
- recordstatescratchpad.cs
- ContainerVisual.cs
- PropertyInfo.cs
- NegotiationTokenAuthenticatorState.cs
- ImageCollectionEditor.cs
- future.cs
- PrimaryKeyTypeConverter.cs
- GraphicsState.cs
- ErrorProvider.cs
- DesignerAttribute.cs
- SecurityAppliedMessage.cs
- DataGridCaption.cs
- MetadataWorkspace.cs
- Constraint.cs
- MenuItemBindingCollection.cs
- GiveFeedbackEvent.cs
- IntegerValidatorAttribute.cs
- SafePointer.cs
- DocumentGridContextMenu.cs
- Predicate.cs
- ChannelBinding.cs
- KeySplineConverter.cs
- FormatConvertedBitmap.cs
- HostAdapter.cs
- TemplateDefinition.cs
- SerializationFieldInfo.cs
- MLangCodePageEncoding.cs
- TdsParserStateObject.cs
- SqlFormatter.cs
- Pkcs7Recipient.cs
- SystemInformation.cs
- HtmlContainerControl.cs
- OdbcConnectionStringbuilder.cs
- PointCollection.cs
- ADMembershipUser.cs
- MenuItemBinding.cs
- ParameterModifier.cs
- StrongNameUtility.cs
- InlineCategoriesDocument.cs
- XmlTextReaderImpl.cs
- ConfigurationLockCollection.cs
- EntityClientCacheKey.cs
- NativeMethods.cs
- DataSpaceManager.cs
- HttpGetServerProtocol.cs
- SectionInformation.cs
- SvcMapFileSerializer.cs
- ObjectStateFormatter.cs
- DataGridViewElement.cs
- OleDbStruct.cs
- BypassElementCollection.cs
- AuthenticatingEventArgs.cs
- MemberDomainMap.cs
- XmlSchemaAnnotation.cs
- FileFormatException.cs
- RoleManagerSection.cs
- WebBrowserProgressChangedEventHandler.cs
- XslTransform.cs
- PermissionSetTriple.cs
- ClientCredentialsSecurityTokenManager.cs
- SoapRpcServiceAttribute.cs
- StorageAssociationTypeMapping.cs
- DesignerHierarchicalDataSourceView.cs
- LoaderAllocator.cs
- CodeTypeConstructor.cs
- ResourceAssociationType.cs
- MethodToken.cs
- TextOnlyOutput.cs
- PageAdapter.cs
- AspNetSynchronizationContext.cs
- MembershipUser.cs
- MetadataHelper.cs
- TypeToken.cs
- PersistenceException.cs
- BinaryObjectWriter.cs
- TextSpanModifier.cs
- SimpleApplicationHost.cs
- peernodestatemanager.cs
- XmlAutoDetectWriter.cs
- TraceSection.cs
- CompilerResults.cs
- RuleSettingsCollection.cs
- StylusLogic.cs
- SourceInterpreter.cs
- SmtpMail.cs