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
- HwndKeyboardInputProvider.cs
- EditingCommands.cs
- ReliabilityContractAttribute.cs
- XmlDataLoader.cs
- KeyValuePair.cs
- NullableDecimalMinMaxAggregationOperator.cs
- Model3D.cs
- NetCodeGroup.cs
- ALinqExpressionVisitor.cs
- EncryptedHeaderXml.cs
- QueueTransferProtocol.cs
- WebPartActionVerb.cs
- StateBag.cs
- XmlCharacterData.cs
- TdsParserStateObject.cs
- ImageMetadata.cs
- DocumentGridContextMenu.cs
- PointConverter.cs
- SmtpSection.cs
- DataGridClipboardCellContent.cs
- Container.cs
- DispatcherHooks.cs
- UInt16Converter.cs
- WindowsRichEdit.cs
- HtmlEmptyTagControlBuilder.cs
- EventLogPermission.cs
- LinqDataSourceInsertEventArgs.cs
- MethodSignatureGenerator.cs
- IOException.cs
- PersonalizationEntry.cs
- MachineKeySection.cs
- ApplicationServiceHelper.cs
- DetailsViewUpdateEventArgs.cs
- ConnectionManagementElement.cs
- DataGridViewColumnCollection.cs
- TransactionsSectionGroup.cs
- WebResourceUtil.cs
- NullableDecimalAverageAggregationOperator.cs
- HtmlShimManager.cs
- GridItemProviderWrapper.cs
- Path.cs
- CalendarDateChangedEventArgs.cs
- RegionIterator.cs
- Timer.cs
- ReverseInheritProperty.cs
- Not.cs
- compensatingcollection.cs
- ServiceDescriptionSerializer.cs
- RIPEMD160.cs
- Switch.cs
- Activator.cs
- XmlDataSource.cs
- Pair.cs
- FacetEnabledSchemaElement.cs
- DataGridTablesFactory.cs
- Rectangle.cs
- OleDbConnectionFactory.cs
- TextTabProperties.cs
- EdmProviderManifest.cs
- WebPartZone.cs
- NameSpaceExtractor.cs
- ImageConverter.cs
- LazyTextWriterCreator.cs
- WebPartZoneBase.cs
- PageSettings.cs
- WebUtil.cs
- ClockController.cs
- ModelVisual3D.cs
- StorageEndPropertyMapping.cs
- XmlDocumentSchema.cs
- MatrixAnimationBase.cs
- AddingNewEventArgs.cs
- ToolStripItemImageRenderEventArgs.cs
- ClientCultureInfo.cs
- TextRangeProviderWrapper.cs
- EdmToObjectNamespaceMap.cs
- ObfuscateAssemblyAttribute.cs
- DoubleSumAggregationOperator.cs
- XmlCodeExporter.cs
- SQLSingle.cs
- DbInsertCommandTree.cs
- KoreanCalendar.cs
- AxisAngleRotation3D.cs
- SafeArrayRankMismatchException.cs
- ArrayConverter.cs
- WebPartConnectionsCancelEventArgs.cs
- RuleSettingsCollection.cs
- DataGridViewColumnHeaderCell.cs
- RowToParametersTransformer.cs
- _CookieModule.cs
- ContextItemManager.cs
- TextFormatterImp.cs
- CodeSubDirectoriesCollection.cs
- SchemaElementLookUpTable.cs
- TdsEnums.cs
- HttpConfigurationContext.cs
- indexingfiltermarshaler.cs
- XmlComplianceUtil.cs
- AuthenticationConfig.cs
- AxHost.cs