Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorCancelVerb.cs / 1 / WebPartEditorCancelVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorCancelVerb : 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.WebPartEditorCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorCancelVerb_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 WebPartEditorCancelVerb : 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.WebPartEditorCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorCancelVerb_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
- ToolStripItemImageRenderEventArgs.cs
- WebPartMovingEventArgs.cs
- PerformanceCounterNameAttribute.cs
- SubpageParaClient.cs
- CaseInsensitiveComparer.cs
- ResourceIDHelper.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- CodeTypeOfExpression.cs
- NavigationPropertyEmitter.cs
- SchemaNamespaceManager.cs
- StrongNameKeyPair.cs
- ProcessThreadCollection.cs
- Crc32.cs
- IgnoreSectionHandler.cs
- ListSourceHelper.cs
- _SslSessionsCache.cs
- CommonXSendMessage.cs
- Pair.cs
- SqlProfileProvider.cs
- ServiceRouteHandler.cs
- WebRequestModulesSection.cs
- DataListItemCollection.cs
- ErrorTableItemStyle.cs
- IPipelineRuntime.cs
- BatchWriter.cs
- WebPartEventArgs.cs
- Screen.cs
- SqlUDTStorage.cs
- EntitySqlQueryCacheKey.cs
- CompiledQueryCacheEntry.cs
- WebCategoryAttribute.cs
- PersonalizationProviderCollection.cs
- HostingEnvironmentException.cs
- TraceInternal.cs
- sqlinternaltransaction.cs
- XPathDocumentIterator.cs
- PropertyChangedEventManager.cs
- PageVisual.cs
- SliderAutomationPeer.cs
- PartialTrustVisibleAssembly.cs
- ContainerVisual.cs
- xdrvalidator.cs
- BidPrivateBase.cs
- WebPartZone.cs
- BrowserDefinition.cs
- Range.cs
- ListItem.cs
- AssemblyBuilder.cs
- SmuggledIUnknown.cs
- HostingEnvironment.cs
- SchemaNames.cs
- mansign.cs
- SubpageParagraph.cs
- ActivityIdHeader.cs
- PackWebRequestFactory.cs
- XmlConvert.cs
- ViewEvent.cs
- BinaryReader.cs
- listitem.cs
- Viewport3DVisual.cs
- SByteConverter.cs
- SRDisplayNameAttribute.cs
- ReversePositionQuery.cs
- TypeElement.cs
- XmlSchemaAnnotation.cs
- CellRelation.cs
- SoapIgnoreAttribute.cs
- SafeArrayRankMismatchException.cs
- CompilerState.cs
- MergablePropertyAttribute.cs
- NameGenerator.cs
- ReplyChannel.cs
- FontStyle.cs
- _LoggingObject.cs
- RegistryPermission.cs
- NavigatorOutput.cs
- SqlDataSourceCache.cs
- SetterBaseCollection.cs
- SecurityUtils.cs
- ScrollChrome.cs
- ResourceDictionary.cs
- XmlExceptionHelper.cs
- TimerElapsedEvenArgs.cs
- ContentFilePart.cs
- OLEDB_Enum.cs
- HttpStreams.cs
- HWStack.cs
- WebPartUserCapability.cs
- Internal.cs
- CollectionChangedEventManager.cs
- QuotedPrintableStream.cs
- EntityException.cs
- Configuration.cs
- TableLayoutSettingsTypeConverter.cs
- SecurityRuntime.cs
- DriveInfo.cs
- mediaeventargs.cs
- ExceptionNotification.cs
- UriSection.cs
- FieldTemplateFactory.cs