Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XhtmlBasicListAdapter.cs
- Command.cs
- PointLight.cs
- TransportSecurityProtocolFactory.cs
- FilterableAttribute.cs
- LoadWorkflowAsyncResult.cs
- ADConnectionHelper.cs
- LeftCellWrapper.cs
- _ChunkParse.cs
- SoapSchemaExporter.cs
- WMICapabilities.cs
- TraceSection.cs
- TemplateField.cs
- XmlSchemaInclude.cs
- ContextCorrelationInitializer.cs
- PermissionSetEnumerator.cs
- HandledMouseEvent.cs
- FlowDocument.cs
- ClientProxyGenerator.cs
- StreamGeometry.cs
- ErrorStyle.cs
- RuleInfoComparer.cs
- ImageMapEventArgs.cs
- ColorAnimationUsingKeyFrames.cs
- indexingfiltermarshaler.cs
- DataContractSerializerOperationGenerator.cs
- DeferredBinaryDeserializerExtension.cs
- TableLayoutPanelCellPosition.cs
- AnnotationObservableCollection.cs
- MediaSystem.cs
- SQLCharsStorage.cs
- ToolStripSeparatorRenderEventArgs.cs
- CodeStatement.cs
- IsolatedStoragePermission.cs
- XmlBinaryWriterSession.cs
- ErasingStroke.cs
- GlyphRun.cs
- DataServiceException.cs
- WorkflowItemPresenter.cs
- LocalizationComments.cs
- StylusPointPropertyInfo.cs
- Vector3D.cs
- QueryAccessibilityHelpEvent.cs
- SettingsSavedEventArgs.cs
- XPathNode.cs
- SchemaMerger.cs
- StringUtil.cs
- _LoggingObject.cs
- ColumnPropertiesGroup.cs
- CompilerWrapper.cs
- SecurityUniqueId.cs
- WebControl.cs
- Internal.cs
- TreeView.cs
- FixedHighlight.cs
- TdsParserSafeHandles.cs
- DependencyObjectProvider.cs
- LogExtentCollection.cs
- ItemsControlAutomationPeer.cs
- IOException.cs
- ObjectStateFormatter.cs
- LinearKeyFrames.cs
- StyleBamlTreeBuilder.cs
- _NetRes.cs
- XmlMembersMapping.cs
- InkCanvasSelectionAdorner.cs
- cookie.cs
- EdmType.cs
- PublisherIdentityPermission.cs
- Attributes.cs
- AliasedSlot.cs
- RowUpdatingEventArgs.cs
- AnonymousIdentificationModule.cs
- TemplateControl.cs
- WsdlParser.cs
- FrameworkElement.cs
- TextMessageEncodingElement.cs
- RegexFCD.cs
- SafeNativeMethodsOther.cs
- NetNamedPipeSecurityMode.cs
- ClickablePoint.cs
- ReverseQueryOperator.cs
- DataGridViewLinkColumn.cs
- ValidationHelper.cs
- FontFamily.cs
- DBConcurrencyException.cs
- CommonDialog.cs
- IRCollection.cs
- DynamicMethod.cs
- SqlUDTStorage.cs
- CreateCardRequest.cs
- TextPenaltyModule.cs
- SctClaimSerializer.cs
- FlowNode.cs
- Int64KeyFrameCollection.cs
- WebPartExportVerb.cs
- MediaContextNotificationWindow.cs
- FrameworkContentElement.cs
- SevenBitStream.cs
- ScrollBarAutomationPeer.cs