Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SqlDataSourceSelectingEventArgs.cs
- WebHttpElement.cs
- EDesignUtil.cs
- ManagedIStream.cs
- ForceCopyBuildProvider.cs
- SchemaImporterExtension.cs
- GacUtil.cs
- CookieProtection.cs
- MulticastDelegate.cs
- UInt32Converter.cs
- DirectoryGroupQuery.cs
- TrackPointCollection.cs
- ConfigurationValue.cs
- XamlTypeMapperSchemaContext.cs
- FlowPosition.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- Converter.cs
- ObjectDataSourceDisposingEventArgs.cs
- SQLInt64Storage.cs
- CommonDialog.cs
- EditorZoneBase.cs
- ConnectionManagementElement.cs
- Rfc2898DeriveBytes.cs
- InvariantComparer.cs
- LogicalExpr.cs
- ControlDesignerState.cs
- Panel.cs
- CodeVariableDeclarationStatement.cs
- RecordManager.cs
- TextEvent.cs
- TextWriterTraceListener.cs
- EngineSiteSapi.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- TileModeValidation.cs
- SortedList.cs
- ReferencedAssembly.cs
- FrameworkContentElement.cs
- StringResourceManager.cs
- RegexCharClass.cs
- IgnoreDataMemberAttribute.cs
- EntityDataSourceViewSchema.cs
- DataTableMapping.cs
- FlowDocument.cs
- TextTreeNode.cs
- XamlBrushSerializer.cs
- SessionStateUtil.cs
- DispatcherExceptionEventArgs.cs
- CompoundFileReference.cs
- FormViewUpdateEventArgs.cs
- ManagedWndProcTracker.cs
- UnmanagedHandle.cs
- InstanceData.cs
- BuildResultCache.cs
- DataControlLinkButton.cs
- PolyQuadraticBezierSegment.cs
- NumberFormatter.cs
- DescendantQuery.cs
- ClockGroup.cs
- UIElement3DAutomationPeer.cs
- PtsHelper.cs
- RewritingPass.cs
- CodeDomSerializerBase.cs
- CharAnimationUsingKeyFrames.cs
- ListItem.cs
- ExceptionRoutedEventArgs.cs
- TreeViewImageKeyConverter.cs
- LocalClientSecuritySettings.cs
- QueryCoreOp.cs
- ScriptResourceAttribute.cs
- ToolStripSplitStackLayout.cs
- EmptyReadOnlyDictionaryInternal.cs
- DecoderFallback.cs
- PointAnimation.cs
- BitmapSizeOptions.cs
- ListDictionaryInternal.cs
- AsyncPostBackErrorEventArgs.cs
- DetailsViewInsertedEventArgs.cs
- ContextStaticAttribute.cs
- FormViewRow.cs
- XPathBuilder.cs
- WebBrowserUriTypeConverter.cs
- GridView.cs
- FormDocumentDesigner.cs
- ColorAnimationUsingKeyFrames.cs
- ProvidePropertyAttribute.cs
- basevalidator.cs
- ObjectConverter.cs
- CodeStatement.cs
- ProfileGroupSettingsCollection.cs
- SpeechUI.cs
- HandleExceptionArgs.cs
- ProxyOperationRuntime.cs
- CollaborationHelperFunctions.cs
- embossbitmapeffect.cs
- storepermission.cs
- PathFigure.cs
- CompModHelpers.cs
- InputLanguageCollection.cs
- CryptoSession.cs
- OdbcHandle.cs