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
- ToggleButton.cs
- TextBox.cs
- EasingKeyFrames.cs
- LicenseException.cs
- MediaElementAutomationPeer.cs
- DragDeltaEventArgs.cs
- DownloadProgressEventArgs.cs
- SerialPinChanges.cs
- ValueHandle.cs
- TextBreakpoint.cs
- DependencyPropertyKey.cs
- DataBindEngine.cs
- BitArray.cs
- FlagsAttribute.cs
- ConnectionPoint.cs
- TemplateEditingService.cs
- WebPartManager.cs
- DbConnectionPoolGroup.cs
- InvalidCastException.cs
- HijriCalendar.cs
- Rect3D.cs
- XmlTextWriter.cs
- ReachPageContentCollectionSerializerAsync.cs
- ObjectViewFactory.cs
- CodeNamespace.cs
- PolyQuadraticBezierSegment.cs
- TransactionState.cs
- AmbiguousMatchException.cs
- AsyncPostBackErrorEventArgs.cs
- PropertyPanel.cs
- TextBounds.cs
- PageAsyncTask.cs
- CheckBoxStandardAdapter.cs
- MultiBinding.cs
- WeakRefEnumerator.cs
- HitTestWithPointDrawingContextWalker.cs
- Activation.cs
- HttpVersion.cs
- RedirectionProxy.cs
- SqlFileStream.cs
- DataList.cs
- XmlSchemaSimpleTypeUnion.cs
- PropertyEmitter.cs
- ToolStripSettings.cs
- Variant.cs
- HttpResponseBase.cs
- BatchWriter.cs
- InputBinder.cs
- CodeBlockBuilder.cs
- ObjectItemCachedAssemblyLoader.cs
- InputLanguage.cs
- Buffer.cs
- Set.cs
- IImplicitResourceProvider.cs
- ElementsClipboardData.cs
- Utils.cs
- AuthorizationSection.cs
- ChangePassword.cs
- Popup.cs
- TextEditorParagraphs.cs
- ImageCodecInfoPrivate.cs
- UIPermission.cs
- UpdatePanelTrigger.cs
- HybridObjectCache.cs
- ListSourceHelper.cs
- GridView.cs
- ZipIOExtraFieldPaddingElement.cs
- ResourceContainer.cs
- InvalidPropValue.cs
- ViewLoader.cs
- ConsumerConnectionPoint.cs
- Button.cs
- _CommandStream.cs
- BitmapEffectDrawingContextWalker.cs
- UnsafePeerToPeerMethods.cs
- TextInfo.cs
- Rect.cs
- MD5.cs
- ObjectIDGenerator.cs
- ConfigXmlComment.cs
- ProtocolViolationException.cs
- EraserBehavior.cs
- followingquery.cs
- TextSpanModifier.cs
- FirstMatchCodeGroup.cs
- DateTimeSerializationSection.cs
- ExtendedPropertyDescriptor.cs
- EnvironmentPermission.cs
- InfoCardPolicy.cs
- KeyNotFoundException.cs
- Point4D.cs
- ConstrainedDataObject.cs
- EditorResources.cs
- XpsSerializerFactory.cs
- TableCell.cs
- DockPatternIdentifiers.cs
- ResourceExpression.cs
- recordstatescratchpad.cs
- ErrorRuntimeConfig.cs
- ActivationArguments.cs