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
- AnimatedTypeHelpers.cs
- SqlInternalConnection.cs
- DelegateTypeInfo.cs
- EventArgs.cs
- ColorAnimationBase.cs
- TraceSource.cs
- PerformanceCounter.cs
- HttpApplicationStateBase.cs
- QueryExpression.cs
- BaseParser.cs
- _HelperAsyncResults.cs
- DNS.cs
- XmlValidatingReader.cs
- LockedHandleGlyph.cs
- Panel.cs
- TextViewDesigner.cs
- SystemUnicastIPAddressInformation.cs
- DataTableCollection.cs
- MimePart.cs
- EntityConnectionStringBuilder.cs
- CriticalHandle.cs
- PersonalizationProviderCollection.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ZipIORawDataFileBlock.cs
- WindowPatternIdentifiers.cs
- EpmContentDeSerializer.cs
- RotateTransform3D.cs
- SqlResolver.cs
- SqlDependency.cs
- SignedInfo.cs
- Label.cs
- DataGridViewColumn.cs
- TypeDelegator.cs
- LinqExpressionNormalizer.cs
- XmlEncodedRawTextWriter.cs
- RootProfilePropertySettingsCollection.cs
- FamilyMapCollection.cs
- DrawingImage.cs
- ConfigXmlText.cs
- Help.cs
- SqlCaseSimplifier.cs
- Maps.cs
- TypeDelegator.cs
- Maps.cs
- TextRangeBase.cs
- TitleStyle.cs
- RepeaterCommandEventArgs.cs
- Evidence.cs
- HttpContextBase.cs
- DrawingGroup.cs
- DesignerHelpers.cs
- ListViewItem.cs
- CheckedListBox.cs
- ListViewAutomationPeer.cs
- CombinedGeometry.cs
- cache.cs
- EnumUnknown.cs
- InvalidAsynchronousStateException.cs
- SignatureResourcePool.cs
- TcpChannelHelper.cs
- XamlToRtfWriter.cs
- ImageIndexConverter.cs
- GenerateHelper.cs
- AppDomainShutdownMonitor.cs
- SafeEventHandle.cs
- DataGridItemAutomationPeer.cs
- ExtractCollection.cs
- TextServicesProperty.cs
- XPathItem.cs
- ISAPIRuntime.cs
- Delegate.cs
- ValidatorUtils.cs
- FontNameConverter.cs
- TextTreeUndo.cs
- XmlFormatMapping.cs
- ConstrainedDataObject.cs
- StorageSetMapping.cs
- DataGridViewTopLeftHeaderCell.cs
- DataGridViewColumnTypeEditor.cs
- XmlSchemaType.cs
- ProcessModuleDesigner.cs
- Size3DConverter.cs
- Ipv6Element.cs
- ExpressionList.cs
- SmtpFailedRecipientException.cs
- PostBackOptions.cs
- BitmapEffectGeneralTransform.cs
- CompatibleComparer.cs
- JsonServiceDocumentSerializer.cs
- DeobfuscatingStream.cs
- Scheduling.cs
- dataobject.cs
- Int16Animation.cs
- CornerRadius.cs
- KnowledgeBase.cs
- DataAdapter.cs
- SortedDictionary.cs
- ErrorHandler.cs
- DataTableExtensions.cs
- BulletChrome.cs