Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BindingNavigatorDesigner.cs
- MemberRelationshipService.cs
- GenericWebPart.cs
- ObjectDataProvider.cs
- XsdDataContractExporter.cs
- ComplexBindingPropertiesAttribute.cs
- SmtpNtlmAuthenticationModule.cs
- UTF7Encoding.cs
- ExtenderProvidedPropertyAttribute.cs
- Currency.cs
- ExtractCollection.cs
- AnyReturnReader.cs
- KeyManager.cs
- CustomError.cs
- PeerTransportElement.cs
- LinqDataSourceDisposeEventArgs.cs
- ConstraintCollection.cs
- EventLogWatcher.cs
- WebPartCatalogCloseVerb.cs
- ServiceBusyException.cs
- QuotedPairReader.cs
- BooleanSwitch.cs
- SiteMembershipCondition.cs
- ScrollProviderWrapper.cs
- DbConnectionPoolOptions.cs
- MessageSecurityOverMsmq.cs
- DataGridItem.cs
- Base64Stream.cs
- SignedPkcs7.cs
- PropertyExpression.cs
- XamlTypeMapper.cs
- ModelTypeConverter.cs
- HierarchicalDataSourceConverter.cs
- baseshape.cs
- XmlBoundElement.cs
- ClientFormsIdentity.cs
- EncryptedPackage.cs
- RegexCaptureCollection.cs
- OptimalBreakSession.cs
- Context.cs
- ListViewItem.cs
- ToolStripDropDownItem.cs
- TreeNodeBindingCollection.cs
- ListBindingHelper.cs
- BitmapEffectState.cs
- Point3DAnimationBase.cs
- PropertyItemInternal.cs
- ColumnBinding.cs
- RequestNavigateEventArgs.cs
- SamlDoNotCacheCondition.cs
- DependencySource.cs
- SingleConverter.cs
- XmlDataSourceNodeDescriptor.cs
- TrustManagerMoreInformation.cs
- TextPointerBase.cs
- MatrixAnimationUsingKeyFrames.cs
- Pair.cs
- ProxyWebPartConnectionCollection.cs
- SqlCaseSimplifier.cs
- NetMsmqBindingElement.cs
- Brush.cs
- SourceSwitch.cs
- FlowLayoutSettings.cs
- TransformPatternIdentifiers.cs
- SelfIssuedAuthAsymmetricKey.cs
- ComPlusTypeLoader.cs
- DataBoundControlHelper.cs
- DeviceContext.cs
- WhitespaceSignificantCollectionAttribute.cs
- RightsManagementSuppressedStream.cs
- BindToObject.cs
- DrawingGroup.cs
- TransformedBitmap.cs
- PartialCachingAttribute.cs
- TextEffect.cs
- MarkupCompilePass2.cs
- WCFServiceClientProxyGenerator.cs
- KoreanLunisolarCalendar.cs
- ExpressionBinding.cs
- FlowDocumentFormatter.cs
- StackSpiller.Bindings.cs
- NativeMethods.cs
- PixelFormatConverter.cs
- Rfc2898DeriveBytes.cs
- AvTrace.cs
- SmtpLoginAuthenticationModule.cs
- SmiGettersStream.cs
- FontStyles.cs
- MutexSecurity.cs
- UiaCoreProviderApi.cs
- Misc.cs
- DataGridTextBox.cs
- AbstractDataSvcMapFileLoader.cs
- GlyphElement.cs
- XmlSchemaImport.cs
- GACIdentityPermission.cs
- SamlConditions.cs
- KeyedHashAlgorithm.cs
- _NestedMultipleAsyncResult.cs
- ReadWriteSpinLock.cs