Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MessageDecoder.cs
- StatusBarItem.cs
- XPathParser.cs
- RangeValuePattern.cs
- ZipIOExtraField.cs
- HandlerFactoryWrapper.cs
- ProxySimple.cs
- HttpFileCollection.cs
- CompressedStack.cs
- ImmComposition.cs
- FileStream.cs
- SmiEventSink_Default.cs
- ViewgenContext.cs
- PenThreadWorker.cs
- EpmContentDeSerializerBase.cs
- ToolboxItem.cs
- ICspAsymmetricAlgorithm.cs
- LinkButton.cs
- TransformedBitmap.cs
- DropSourceBehavior.cs
- XmlExceptionHelper.cs
- TransformCollection.cs
- XPathEmptyIterator.cs
- ClosureBinding.cs
- HostingPreferredMapPath.cs
- ClipboardData.cs
- DataPagerCommandEventArgs.cs
- ImplicitInputBrush.cs
- AuthenticationModulesSection.cs
- Label.cs
- PersistencePipeline.cs
- PresentationTraceSources.cs
- EventManager.cs
- WebPartAddingEventArgs.cs
- wgx_sdk_version.cs
- FilteredDataSetHelper.cs
- ThreadAbortException.cs
- StringUtil.cs
- ServiceChannel.cs
- CodeMethodInvokeExpression.cs
- TableParagraph.cs
- DbParameterCollection.cs
- Color.cs
- XPathDocument.cs
- OdbcConnectionOpen.cs
- Margins.cs
- Int16.cs
- DynamicPropertyHolder.cs
- CqlLexerHelpers.cs
- WhitespaceRuleLookup.cs
- ToolboxControl.cs
- ItemCollection.cs
- ActivityCodeDomReferenceService.cs
- ContextMenuStrip.cs
- UpdateProgress.cs
- SBCSCodePageEncoding.cs
- IdentityNotMappedException.cs
- ListViewTableRow.cs
- DiscoveryDocument.cs
- ButtonFieldBase.cs
- AccessDataSourceDesigner.cs
- DefaultMemberAttribute.cs
- HotSpotCollection.cs
- XmlSchemaComplexType.cs
- SqlProviderManifest.cs
- CompositeFontFamily.cs
- wgx_commands.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- StorageEntityTypeMapping.cs
- Size.cs
- CanonicalizationDriver.cs
- Regex.cs
- SchemaMerger.cs
- ArcSegment.cs
- WorkflowDebuggerSteppingAttribute.cs
- HistoryEventArgs.cs
- TreeViewDataItemAutomationPeer.cs
- WebSysDisplayNameAttribute.cs
- HttpCacheParams.cs
- DataBindingCollection.cs
- SqlDataSourceConfigureFilterForm.cs
- CngAlgorithmGroup.cs
- ReverseInheritProperty.cs
- GridErrorDlg.cs
- QuaternionAnimation.cs
- TextServicesDisplayAttribute.cs
- EditableTreeList.cs
- ImageMetadata.cs
- AdornerLayer.cs
- XmlAnyAttributeAttribute.cs
- FileNotFoundException.cs
- PerformanceCounterManager.cs
- SqlXmlStorage.cs
- URL.cs
- ChangeDirector.cs
- PropertyGridEditorPart.cs
- Win32.cs
- HTMLTextWriter.cs
- EdmComplexTypeAttribute.cs
- DataServiceClientException.cs