Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ValidationHelpers.cs
- DataBindingList.cs
- ParseNumbers.cs
- RtfControls.cs
- SurrogateDataContract.cs
- ContainerControl.cs
- DataKeyCollection.cs
- XmlChildNodes.cs
- BaseCodeDomTreeGenerator.cs
- cryptoapiTransform.cs
- X509UI.cs
- XmlSchemaRedefine.cs
- NullRuntimeConfig.cs
- XPathChildIterator.cs
- GradientStop.cs
- ConfigurationValidatorAttribute.cs
- EnvironmentPermission.cs
- CharacterBufferReference.cs
- pingexception.cs
- CorrelationValidator.cs
- FontInfo.cs
- RequestUriProcessor.cs
- StringFormat.cs
- SqlReferenceCollection.cs
- ModelFunctionTypeElement.cs
- ParameterCollection.cs
- ServiceParser.cs
- GenericTypeParameterBuilder.cs
- SqlInternalConnectionSmi.cs
- TableLayoutRowStyleCollection.cs
- Repeater.cs
- ListItem.cs
- WaitHandle.cs
- BitmapSourceSafeMILHandle.cs
- PreservationFileReader.cs
- NavigationService.cs
- CollectionChangedEventManager.cs
- GridPattern.cs
- Evidence.cs
- FrameworkElement.cs
- AlignmentYValidation.cs
- EventManager.cs
- ConfigUtil.cs
- ServicePointManagerElement.cs
- FormatException.cs
- ServiceHttpModule.cs
- CodeGenerator.cs
- ObjectCacheHost.cs
- ServiceDescriptionData.cs
- CollectionBase.cs
- StaticExtension.cs
- OptimalTextSource.cs
- PathFigureCollectionConverter.cs
- IApplicationTrustManager.cs
- ObjectDataProvider.cs
- Type.cs
- BuilderPropertyEntry.cs
- DataGridViewCellCancelEventArgs.cs
- StatusBarItem.cs
- WindowsGraphicsCacheManager.cs
- GetWinFXPath.cs
- StateMachineSubscriptionManager.cs
- SafeNativeMethods.cs
- SchemaTableColumn.cs
- dtdvalidator.cs
- SingleObjectCollection.cs
- BitmapDownload.cs
- WindowsListViewItemStartMenu.cs
- FacetDescription.cs
- PhysicalOps.cs
- XmlNamespaceDeclarationsAttribute.cs
- Thumb.cs
- Converter.cs
- RetrieveVirtualItemEventArgs.cs
- XmlChildNodes.cs
- IndexingContentUnit.cs
- WithStatement.cs
- TransformConverter.cs
- SchemaTableOptionalColumn.cs
- DecimalMinMaxAggregationOperator.cs
- ComboBox.cs
- RangeValueProviderWrapper.cs
- Matrix3DConverter.cs
- ColorConvertedBitmap.cs
- userdatakeys.cs
- ObjectAnimationUsingKeyFrames.cs
- DayRenderEvent.cs
- LostFocusEventManager.cs
- PasswordPropertyTextAttribute.cs
- FigureHelper.cs
- DateTimeParse.cs
- RtfToken.cs
- XmlConverter.cs
- PartialTrustVisibleAssemblyCollection.cs
- TypedColumnHandler.cs
- SqlConnection.cs
- HwndStylusInputProvider.cs
- HtmlImage.cs
- NonSerializedAttribute.cs
- ProcessHostConfigUtils.cs