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
- basemetadatamappingvisitor.cs
- UnmanagedBitmapWrapper.cs
- DependencyPropertyDescriptor.cs
- HtmlTable.cs
- XmlLinkedNode.cs
- FunctionQuery.cs
- EntityDataSourceChangingEventArgs.cs
- DATA_BLOB.cs
- DesignTimeParseData.cs
- PlatformCulture.cs
- ProtectedConfigurationSection.cs
- NativeMethods.cs
- Cursor.cs
- CommandField.cs
- MasterPage.cs
- FixedHyperLink.cs
- RelationshipType.cs
- DataGridRow.cs
- PropertySegmentSerializer.cs
- ConfigXmlWhitespace.cs
- Timer.cs
- RuleInfoComparer.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CapabilitiesPattern.cs
- PermissionToken.cs
- SafeNativeMethodsCLR.cs
- xdrvalidator.cs
- ObjectDataSourceStatusEventArgs.cs
- SwitchDesigner.xaml.cs
- grammarelement.cs
- RequiredAttributeAttribute.cs
- DataControlFieldHeaderCell.cs
- PersonalizationProviderHelper.cs
- controlskin.cs
- MaskedTextBox.cs
- MsmqIntegrationSecurityMode.cs
- TextEndOfSegment.cs
- SafeRightsManagementQueryHandle.cs
- _SpnDictionary.cs
- DataGridRow.cs
- BlobPersonalizationState.cs
- LinkClickEvent.cs
- NativeRecognizer.cs
- Token.cs
- MissingFieldException.cs
- MsmqChannelFactoryBase.cs
- LinkUtilities.cs
- Axis.cs
- ScopedKnownTypes.cs
- IncrementalReadDecoders.cs
- SpecularMaterial.cs
- HttpConfigurationSystem.cs
- CardSpaceSelector.cs
- PagesSection.cs
- TargetPerspective.cs
- Visual.cs
- EventDescriptor.cs
- ColorConvertedBitmap.cs
- HitTestResult.cs
- XmlFormatExtensionPointAttribute.cs
- DataGridViewSelectedCellCollection.cs
- Composition.cs
- Compiler.cs
- SessionState.cs
- CharConverter.cs
- XPathBinder.cs
- GotoExpression.cs
- OutputCacheProfile.cs
- FaultDescriptionCollection.cs
- AspCompat.cs
- ContainerAction.cs
- ProfileSection.cs
- Dump.cs
- EntityModelBuildProvider.cs
- TrustManagerMoreInformation.cs
- TypedTableHandler.cs
- GraphicsContainer.cs
- Cloud.cs
- Token.cs
- ActivityDesignerLayoutSerializers.cs
- ArgumentException.cs
- PageContentAsyncResult.cs
- ConfigurationErrorsException.cs
- PointAnimationBase.cs
- SqlUdtInfo.cs
- ConfigurationSectionCollection.cs
- TimeoutException.cs
- TableLayoutColumnStyleCollection.cs
- WhitespaceRule.cs
- OutOfMemoryException.cs
- WebServiceParameterData.cs
- shaperfactoryquerycacheentry.cs
- OutputCacheSection.cs
- TriggerBase.cs
- NameValueSectionHandler.cs
- SimpleType.cs
- QuotedStringFormatReader.cs
- RectangleGeometry.cs
- QueuePathDialog.cs
- Inflater.cs