Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartCatalogAddVerb.cs / 1 / WebPartCatalogAddVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartCatalogAddVerb : 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.WebPartCatalogAddVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartCatalogAddVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartCatalogAddVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartCatalogAddVerb_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. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartCatalogAddVerb : 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.WebPartCatalogAddVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartCatalogAddVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartCatalogAddVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartCatalogAddVerb_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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IIS7UserPrincipal.cs
- BulletChrome.cs
- BinaryFormatterWriter.cs
- EntryPointNotFoundException.cs
- EntityClientCacheEntry.cs
- HtmlForm.cs
- JavaScriptSerializer.cs
- Debug.cs
- UnmanagedMarshal.cs
- AtomPub10CategoriesDocumentFormatter.cs
- NativeMethods.cs
- SqlError.cs
- ScriptingSectionGroup.cs
- HighContrastHelper.cs
- WmlListAdapter.cs
- IsolationInterop.cs
- HatchBrush.cs
- DataSourceView.cs
- DateTimeFormatInfoScanner.cs
- SoapSchemaExporter.cs
- HttpServerChannel.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- CodeTypeReferenceCollection.cs
- TypedColumnHandler.cs
- ImageCodecInfo.cs
- TextModifier.cs
- MSAANativeProvider.cs
- ObjectQueryExecutionPlan.cs
- ApplicationContext.cs
- IListConverters.cs
- Atom10FormatterFactory.cs
- SizeAnimationClockResource.cs
- TextEncodedRawTextWriter.cs
- WebPartActionVerb.cs
- SqlWorkflowInstanceStoreLock.cs
- X509Chain.cs
- DesignerActionListCollection.cs
- ProvideValueServiceProvider.cs
- ConfigurationStrings.cs
- DocumentEventArgs.cs
- HttpException.cs
- WebColorConverter.cs
- IdentityNotMappedException.cs
- Point3DValueSerializer.cs
- RowBinding.cs
- ScriptComponentDescriptor.cs
- BitmapVisualManager.cs
- SQLGuid.cs
- FileSecurity.cs
- XPathChildIterator.cs
- DataTable.cs
- TableFieldsEditor.cs
- COM2ExtendedBrowsingHandler.cs
- DataFormat.cs
- BamlBinaryWriter.cs
- BrowserCapabilitiesFactoryBase.cs
- ContextMenu.cs
- WeakEventTable.cs
- GZipStream.cs
- MonitoringDescriptionAttribute.cs
- ModelVisual3D.cs
- Image.cs
- embossbitmapeffect.cs
- TextViewDesigner.cs
- _LoggingObject.cs
- PhysicalFontFamily.cs
- AccessDataSource.cs
- ExceptionUtility.cs
- StateRuntime.cs
- OutputCacheProfile.cs
- PrintControllerWithStatusDialog.cs
- UdpAnnouncementEndpoint.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- XmlSchemaImport.cs
- BypassElementCollection.cs
- PropertyCollection.cs
- Tuple.cs
- ErrorCodes.cs
- TransformerConfigurationWizardBase.cs
- PassportIdentity.cs
- DataGridViewImageColumn.cs
- cookiecontainer.cs
- CombinedTcpChannel.cs
- ProviderIncompatibleException.cs
- EnvironmentPermission.cs
- DetailsViewPageEventArgs.cs
- WorkflowRequestContext.cs
- Pair.cs
- DataGridViewDesigner.cs
- ToolboxItemCollection.cs
- TemplateField.cs
- SchemaDeclBase.cs
- TdsParser.cs
- CommandHelpers.cs
- EntityDataSourceReferenceGroup.cs
- ViewRendering.cs
- ISFClipboardData.cs
- milexports.cs
- SpellerInterop.cs
- ObjectHandle.cs