Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FileLogRecord.cs
- AnyReturnReader.cs
- StaticTextPointer.cs
- XPathEmptyIterator.cs
- ProgressBarAutomationPeer.cs
- SqlFormatter.cs
- TextSelectionProcessor.cs
- ServiceModelActivity.cs
- FlowNode.cs
- ControlCodeDomSerializer.cs
- Duration.cs
- PropertyItem.cs
- COM2ExtendedBrowsingHandler.cs
- Config.cs
- PasswordRecovery.cs
- SectionInput.cs
- PackageRelationshipSelector.cs
- DelegatingMessage.cs
- NumberFunctions.cs
- OrderedDictionary.cs
- ToolStripContainerDesigner.cs
- VirtualPathProvider.cs
- InvalidProgramException.cs
- Assert.cs
- cache.cs
- KnownColorTable.cs
- PersistencePipeline.cs
- DesignTimeParseData.cs
- MetadataArtifactLoaderResource.cs
- TypePropertyEditor.cs
- Accessors.cs
- TreeView.cs
- DataGridViewComboBoxCell.cs
- ClientProxyGenerator.cs
- SpeakProgressEventArgs.cs
- PreservationFileReader.cs
- StringDictionaryCodeDomSerializer.cs
- NativeMethods.cs
- CodeObjectCreateExpression.cs
- ColorConverter.cs
- RecipientInfo.cs
- TypedReference.cs
- GridViewCancelEditEventArgs.cs
- OutputScopeManager.cs
- Add.cs
- Effect.cs
- TreeNode.cs
- DocumentViewerBaseAutomationPeer.cs
- ForeignConstraint.cs
- LockedBorderGlyph.cs
- CssTextWriter.cs
- CopyNamespacesAction.cs
- ItemsControlAutomationPeer.cs
- EntityDesignerDataSourceView.cs
- IgnoreSectionHandler.cs
- AuthenticationSection.cs
- PasswordDeriveBytes.cs
- Focus.cs
- TableSectionStyle.cs
- InstanceCompleteException.cs
- LineGeometry.cs
- ManipulationStartingEventArgs.cs
- PageWrapper.cs
- ComplexTypeEmitter.cs
- LowerCaseStringConverter.cs
- BooleanAnimationUsingKeyFrames.cs
- CodeNamespaceCollection.cs
- InterleavedZipPartStream.cs
- Calendar.cs
- List.cs
- PersonalizationStateInfoCollection.cs
- Point3DAnimationBase.cs
- rsa.cs
- ColumnReorderedEventArgs.cs
- ArrayConverter.cs
- RewritingPass.cs
- CreateUserWizard.cs
- ProcessHost.cs
- FixedTextView.cs
- DesignOnlyAttribute.cs
- ExecutionEngineException.cs
- TemplateKeyConverter.cs
- WindowsAuthenticationModule.cs
- ReadOnlyObservableCollection.cs
- ResourcePermissionBase.cs
- ByteStreamGeometryContext.cs
- RoleServiceManager.cs
- TreeNodeCollection.cs
- BlurEffect.cs
- CopyNamespacesAction.cs
- SmiEventSink_DeferedProcessing.cs
- Context.cs
- Path.cs
- FixedSOMPage.cs
- SiteMapDataSource.cs
- DragDrop.cs
- TemplatePartAttribute.cs
- DrawingBrush.cs
- EntryIndex.cs
- RtfControlWordInfo.cs