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
- ApplicationInfo.cs
- CellRelation.cs
- ContainerFilterService.cs
- ConfigXmlCDataSection.cs
- ListView.cs
- NotSupportedException.cs
- NegotiateStream.cs
- ConnectionConsumerAttribute.cs
- TypefaceMetricsCache.cs
- ClientUrlResolverWrapper.cs
- util.cs
- Renderer.cs
- DataGridViewTextBoxCell.cs
- ManifestBasedResourceGroveler.cs
- PathGradientBrush.cs
- StoreItemCollection.Loader.cs
- CodeStatementCollection.cs
- MethodAccessException.cs
- PageTheme.cs
- InputReport.cs
- HttpClientProtocol.cs
- RegisteredExpandoAttribute.cs
- QueryReaderSettings.cs
- SimpleType.cs
- TypeBrowserDialog.cs
- WebFormDesignerActionService.cs
- InvokeBase.cs
- TaskCanceledException.cs
- MatchingStyle.cs
- ScaleTransform3D.cs
- IPEndPointCollection.cs
- Double.cs
- CatalogZoneBase.cs
- FunctionMappingTranslator.cs
- DataGridViewCellValidatingEventArgs.cs
- HostingEnvironmentSection.cs
- DataGridViewUtilities.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SoapAttributeAttribute.cs
- InkCanvas.cs
- BinaryObjectReader.cs
- XmlObjectSerializerReadContextComplexJson.cs
- AppSettingsExpressionEditor.cs
- OutKeywords.cs
- PrimitiveType.cs
- HorizontalAlignConverter.cs
- InputLanguageManager.cs
- SqlMetaData.cs
- ExtractedStateEntry.cs
- BinarySerializer.cs
- OciEnlistContext.cs
- FullTextBreakpoint.cs
- MessageHeaderDescription.cs
- TextWriter.cs
- WindowsButton.cs
- XNodeValidator.cs
- AnnotationResourceCollection.cs
- ColumnPropertiesGroup.cs
- PeerTransportSecuritySettings.cs
- XmlArrayAttribute.cs
- ProfileService.cs
- TransformDescriptor.cs
- ViewKeyConstraint.cs
- ExpressionEditorAttribute.cs
- wgx_exports.cs
- SqlProvider.cs
- HuffmanTree.cs
- TypeAccessException.cs
- SortKey.cs
- DBSqlParserColumn.cs
- CustomAttributeBuilder.cs
- TextRunTypographyProperties.cs
- DataSetMappper.cs
- HttpProfileGroupBase.cs
- SQLGuidStorage.cs
- Switch.cs
- ValueOfAction.cs
- WebPartChrome.cs
- BlockUIContainer.cs
- BindingMAnagerBase.cs
- controlskin.cs
- SQLBytes.cs
- CleanUpVirtualizedItemEventArgs.cs
- HttpWebRequestElement.cs
- DataRowCollection.cs
- ProfileModule.cs
- AnnotationService.cs
- TabItemWrapperAutomationPeer.cs
- XsltInput.cs
- BuildProviderCollection.cs
- ArraySubsetEnumerator.cs
- DSASignatureDeformatter.cs
- MethodImplAttribute.cs
- NotSupportedException.cs
- MaskedTextBox.cs
- SchemeSettingElementCollection.cs
- XmlKeywords.cs
- Binding.cs
- CharUnicodeInfo.cs
- Equal.cs