Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartCatalogAddVerb.cs / 1305376 / 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
- IntegerValidator.cs
- Expr.cs
- KoreanLunisolarCalendar.cs
- DbSourceParameterCollection.cs
- unsafenativemethodsother.cs
- RegistrySecurity.cs
- SortedSetDebugView.cs
- UIPropertyMetadata.cs
- EntityDataSourceState.cs
- ToolStripPanelRenderEventArgs.cs
- BaseCAMarshaler.cs
- SendKeys.cs
- PageCodeDomTreeGenerator.cs
- QilFactory.cs
- MenuItem.cs
- ChangeTracker.cs
- KoreanCalendar.cs
- EditBehavior.cs
- IxmlLineInfo.cs
- PointCollection.cs
- Exceptions.cs
- wgx_commands.cs
- ParagraphVisual.cs
- TypeElementCollection.cs
- KnownBoxes.cs
- NativeWindow.cs
- PointUtil.cs
- GridViewDeletedEventArgs.cs
- DialogBaseForm.cs
- DataGridViewTopLeftHeaderCell.cs
- AggregateException.cs
- LeftCellWrapper.cs
- ResourceType.cs
- FixedSOMGroup.cs
- ApplicationSettingsBase.cs
- UnorderedHashRepartitionStream.cs
- FormViewRow.cs
- ConnectionInterfaceCollection.cs
- SimplePropertyEntry.cs
- RegionIterator.cs
- PenCursorManager.cs
- PrivilegedConfigurationManager.cs
- StringWriter.cs
- LiteralDesigner.cs
- MemoryPressure.cs
- MouseEventArgs.cs
- SpinWait.cs
- FtpCachePolicyElement.cs
- FilterQueryOptionExpression.cs
- FontWeights.cs
- QueryRewriter.cs
- MenuItemStyle.cs
- HandlerFactoryWrapper.cs
- PromptStyle.cs
- ActiveXMessageFormatter.cs
- Rectangle.cs
- AsyncInvokeContext.cs
- IsolatedStorageFile.cs
- NavigateEvent.cs
- RichTextBox.cs
- ReferencedCollectionType.cs
- Keywords.cs
- ExpressionConverter.cs
- FileLoadException.cs
- FrameworkElementFactory.cs
- BinaryHeap.cs
- LinqDataSourceEditData.cs
- ObjectRef.cs
- RawMouseInputReport.cs
- DependencyProperty.cs
- Screen.cs
- AnonymousIdentificationModule.cs
- ByteStreamMessageUtility.cs
- WebPartAuthorizationEventArgs.cs
- CapabilitiesSection.cs
- ResXDataNode.cs
- HistoryEventArgs.cs
- OrderedDictionary.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- RootBuilder.cs
- MetadataProperty.cs
- UrlMapping.cs
- EncodingDataItem.cs
- ACL.cs
- compensatingcollection.cs
- DbSourceParameterCollection.cs
- ValueSerializer.cs
- DynamicRendererThreadManager.cs
- XmlnsCompatibleWithAttribute.cs
- ObjectCloneHelper.cs
- IntPtr.cs
- WindowsPrincipal.cs
- ConstraintStruct.cs
- Cursor.cs
- x509utils.cs
- TranslateTransform3D.cs
- ColumnHeaderConverter.cs
- TextBlockAutomationPeer.cs
- TableColumn.cs
- ForwardPositionQuery.cs