Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PrimarySelectionAdorner.cs
- UIElementCollection.cs
- StylusEditingBehavior.cs
- BuildProvider.cs
- BamlResourceDeserializer.cs
- WindowsStartMenu.cs
- SoapIgnoreAttribute.cs
- PropertyChangingEventArgs.cs
- FacetChecker.cs
- FixedSOMContainer.cs
- SiteMapSection.cs
- TimeStampChecker.cs
- WindowsStartMenu.cs
- DiscriminatorMap.cs
- TemplateKey.cs
- ItemsControlAutomationPeer.cs
- OptimizedTemplateContentHelper.cs
- TimeSpanStorage.cs
- XamlBrushSerializer.cs
- MenuDesigner.cs
- PagerStyle.cs
- RecognizerStateChangedEventArgs.cs
- SocketPermission.cs
- WebBaseEventKeyComparer.cs
- StringReader.cs
- PlanCompiler.cs
- ColorConverter.cs
- SequenceDesigner.cs
- HostedBindingBehavior.cs
- CodeSnippetExpression.cs
- HealthMonitoringSection.cs
- CallbackValidator.cs
- Query.cs
- BadImageFormatException.cs
- TextBoxView.cs
- _CommandStream.cs
- MultiDataTrigger.cs
- XmlBoundElement.cs
- MultiViewDesigner.cs
- CryptoKeySecurity.cs
- TimeSpanStorage.cs
- SapiRecoContext.cs
- DataGridViewCellConverter.cs
- ModuleBuilderData.cs
- ChildTable.cs
- XmlWriter.cs
- WindowsEditBoxRange.cs
- RequestQueryProcessor.cs
- HighlightVisual.cs
- WebPartEditorApplyVerb.cs
- WebSysDescriptionAttribute.cs
- LinearGradientBrush.cs
- NetworkAddressChange.cs
- ADRoleFactoryConfiguration.cs
- ToolStripContainerActionList.cs
- DisableDpiAwarenessAttribute.cs
- SchemaImporterExtensionElement.cs
- WebZone.cs
- SrgsNameValueTag.cs
- ColumnMapCopier.cs
- XmlDocumentType.cs
- SmiRecordBuffer.cs
- X509PeerCertificateAuthentication.cs
- TypeHelpers.cs
- BamlResourceDeserializer.cs
- PropertyMapper.cs
- CurrentChangingEventManager.cs
- WebPartVerbCollection.cs
- CustomErrorsSectionWrapper.cs
- SingleAnimation.cs
- WindowsFormsHostPropertyMap.cs
- DrawingContextDrawingContextWalker.cs
- WebRequestModuleElementCollection.cs
- SectionRecord.cs
- FragmentNavigationEventArgs.cs
- ImageBrush.cs
- RegistryConfigurationProvider.cs
- HitTestFilterBehavior.cs
- DependencyPropertyDescriptor.cs
- BulletedList.cs
- BitmapImage.cs
- NameSpaceExtractor.cs
- TableLayoutCellPaintEventArgs.cs
- LockingPersistenceProvider.cs
- AspNetSynchronizationContext.cs
- GroupJoinQueryOperator.cs
- NetStream.cs
- ContextMarshalException.cs
- DbDataAdapter.cs
- CommandDevice.cs
- Parameter.cs
- GuidelineSet.cs
- ActivityDefaults.cs
- AttributeAction.cs
- DesignerCommandSet.cs
- UpdatePanelTriggerCollection.cs
- FileDialog.cs
- ProfileSection.cs
- grammarelement.cs
- DbMetaDataColumnNames.cs