Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EntityDataSourceColumn.cs
- AtomContentProperty.cs
- WebPartTracker.cs
- HttpCapabilitiesEvaluator.cs
- SmiRecordBuffer.cs
- XmlSerializerSection.cs
- ApplicationProxyInternal.cs
- Permission.cs
- MultipleViewProviderWrapper.cs
- ServiceMemoryGates.cs
- PanelStyle.cs
- EventRoute.cs
- AliasedSlot.cs
- DataSvcMapFile.cs
- AnnouncementDispatcherAsyncResult.cs
- IISUnsafeMethods.cs
- DebugInfoGenerator.cs
- ReflectPropertyDescriptor.cs
- UseLicense.cs
- DataListItemEventArgs.cs
- Int64AnimationBase.cs
- ReliabilityContractAttribute.cs
- LockedBorderGlyph.cs
- CommandBindingCollection.cs
- HttpGetProtocolImporter.cs
- ManagedIStream.cs
- Camera.cs
- StateMachineWorkflowDesigner.cs
- ApplicationHost.cs
- BamlWriter.cs
- GroupDescription.cs
- serverconfig.cs
- XmlObjectSerializer.cs
- TaskHelper.cs
- RegexFCD.cs
- ResourceDisplayNameAttribute.cs
- SqlPersonalizationProvider.cs
- MenuCommands.cs
- DbConnectionFactory.cs
- TemplateBindingExpression.cs
- ImpersonateTokenRef.cs
- ActionItem.cs
- EntityDesignerDataSourceView.cs
- XsdBuildProvider.cs
- SchemaElementDecl.cs
- SmtpNtlmAuthenticationModule.cs
- GuidConverter.cs
- HttpListenerRequestUriBuilder.cs
- CodeComment.cs
- WindowsUpDown.cs
- XmlObjectSerializer.cs
- PolyLineSegmentFigureLogic.cs
- BoolLiteral.cs
- FileLogRecordEnumerator.cs
- ActivityInterfaces.cs
- TagPrefixCollection.cs
- BitSet.cs
- GridViewColumnCollectionChangedEventArgs.cs
- MessageSmuggler.cs
- AutoResizedEvent.cs
- _CacheStreams.cs
- LayoutExceptionEventArgs.cs
- AuditLevel.cs
- TraceSection.cs
- URLAttribute.cs
- CompilerCollection.cs
- documentsequencetextpointer.cs
- ResourcePool.cs
- EventLogPermissionAttribute.cs
- HttpBindingExtension.cs
- SystemIPGlobalStatistics.cs
- ColorAnimationUsingKeyFrames.cs
- Matrix3DValueSerializer.cs
- ResXResourceSet.cs
- Menu.cs
- WebPartEventArgs.cs
- SplitterCancelEvent.cs
- LinearGradientBrush.cs
- OrthographicCamera.cs
- DiscriminatorMap.cs
- BaseCodeDomTreeGenerator.cs
- FrameworkElementAutomationPeer.cs
- CommandBinding.cs
- remotingproxy.cs
- HtmlForm.cs
- FieldAccessException.cs
- EmptyStringExpandableObjectConverter.cs
- PageCache.cs
- EventSourceCreationData.cs
- DatatypeImplementation.cs
- SingleConverter.cs
- LambdaExpression.cs
- RijndaelManagedTransform.cs
- CopyNodeSetAction.cs
- SettingsContext.cs
- DeflateEmulationStream.cs
- ClientCredentials.cs
- ButtonAutomationPeer.cs
- SHA1.cs
- Model3D.cs