Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartCatalogCloseVerb.cs / 1 / 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
- BitmapEffectOutputConnector.cs
- DtdParser.cs
- CapabilitiesAssignment.cs
- NetWebProxyFinder.cs
- CalculatedColumn.cs
- StringOutput.cs
- TextBreakpoint.cs
- VolatileEnlistmentState.cs
- EventWaitHandle.cs
- XmlAttributeCollection.cs
- DocumentPageView.cs
- SafeNativeMethodsMilCoreApi.cs
- KeyValueConfigurationElement.cs
- Matrix3DValueSerializer.cs
- SoapEnumAttribute.cs
- CuspData.cs
- DataServiceResponse.cs
- SystemTcpStatistics.cs
- TemplateParser.cs
- CollectionViewSource.cs
- SettingsAttributeDictionary.cs
- MobileControlPersister.cs
- AgileSafeNativeMemoryHandle.cs
- ConditionalAttribute.cs
- _LocalDataStore.cs
- NotSupportedException.cs
- x509utils.cs
- XamlInt32CollectionSerializer.cs
- ValidationManager.cs
- AssertSection.cs
- ResponseBodyWriter.cs
- FrameDimension.cs
- TextCompositionEventArgs.cs
- XPathArrayIterator.cs
- cookiecontainer.cs
- StylusPointPropertyInfo.cs
- DefaultEventAttribute.cs
- PlatformNotSupportedException.cs
- AsymmetricKeyExchangeDeformatter.cs
- DelegatingTypeDescriptionProvider.cs
- ResourceDictionary.cs
- nulltextnavigator.cs
- XMLSchema.cs
- Triplet.cs
- DependencyObjectPropertyDescriptor.cs
- MessageQueueEnumerator.cs
- Parameter.cs
- XmlSchemaImport.cs
- HttpBrowserCapabilitiesBase.cs
- MSG.cs
- TemplateField.cs
- WindowsClaimSet.cs
- MD5.cs
- EventSinkHelperWriter.cs
- InvokePatternIdentifiers.cs
- FloaterParagraph.cs
- StyleSelector.cs
- BinaryWriter.cs
- StaticFileHandler.cs
- InstanceData.cs
- CompilerGlobalScopeAttribute.cs
- BaseResourcesBuildProvider.cs
- StringDictionary.cs
- MenuAdapter.cs
- SynchronizationContext.cs
- XmlAutoDetectWriter.cs
- MethodCallTranslator.cs
- MetadataItemCollectionFactory.cs
- GraphicsContainer.cs
- XmlSerializerVersionAttribute.cs
- ISCIIEncoding.cs
- XmlnsDictionary.cs
- Pair.cs
- TextBoxView.cs
- GlyphRunDrawing.cs
- EntityContainerEntitySet.cs
- HttpApplicationFactory.cs
- ParameterReplacerVisitor.cs
- SymLanguageType.cs
- ListBindableAttribute.cs
- WebControlParameterProxy.cs
- InfoCardServiceInstallComponent.cs
- ExpressionsCollectionConverter.cs
- HttpProcessUtility.cs
- SmiContext.cs
- Zone.cs
- SerializerDescriptor.cs
- DataGridViewCellParsingEventArgs.cs
- WebPartsPersonalization.cs
- XamlDesignerSerializationManager.cs
- GraphicsPath.cs
- SessionStateItemCollection.cs
- GorillaCodec.cs
- IProducerConsumerCollection.cs
- BinaryNode.cs
- WindowsTitleBar.cs
- IBuiltInEvidence.cs
- dataSvcMapFileLoader.cs
- sqlpipe.cs
- FixedPageAutomationPeer.cs