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
- RadialGradientBrush.cs
- RectAnimationUsingKeyFrames.cs
- ByteRangeDownloader.cs
- PlatformNotSupportedException.cs
- DebugTraceHelper.cs
- DefaultAsyncDataDispatcher.cs
- DescendantOverDescendantQuery.cs
- baseshape.cs
- PagePropertiesChangingEventArgs.cs
- WorkflowTerminatedException.cs
- PolicyException.cs
- HttpProtocolReflector.cs
- XamlTemplateSerializer.cs
- SecurityContext.cs
- WhitespaceRuleLookup.cs
- LineBreak.cs
- ColorAnimationUsingKeyFrames.cs
- XmlStrings.cs
- _UriSyntax.cs
- TransactionInformation.cs
- DashStyles.cs
- WorkflowServiceHostFactory.cs
- mediaeventargs.cs
- WizardStepBase.cs
- ColumnClickEvent.cs
- TextTreeUndo.cs
- Compensate.cs
- PropertyNames.cs
- MethodRental.cs
- ColumnTypeConverter.cs
- XmlSchemaSimpleType.cs
- DBCSCodePageEncoding.cs
- DocumentPage.cs
- WindowCollection.cs
- UIntPtr.cs
- Debug.cs
- MasterPageCodeDomTreeGenerator.cs
- PersonalizablePropertyEntry.cs
- FormViewUpdateEventArgs.cs
- LinearQuaternionKeyFrame.cs
- AppDomainInfo.cs
- mediaeventshelper.cs
- PrintingPermissionAttribute.cs
- BindingEditor.xaml.cs
- AttributedMetaModel.cs
- C14NUtil.cs
- NetStream.cs
- TreeNode.cs
- Msmq3PoisonHandler.cs
- DataGridViewLayoutData.cs
- TabItemAutomationPeer.cs
- DictionaryManager.cs
- VisualSerializer.cs
- SslStream.cs
- AppDomainProtocolHandler.cs
- XPathNodeHelper.cs
- Metadata.cs
- CellParagraph.cs
- WebPartsPersonalizationAuthorization.cs
- RootBrowserWindowProxy.cs
- ExpressionBinding.cs
- CodeIdentifier.cs
- XmlValidatingReader.cs
- PageBreakRecord.cs
- DependencyPropertyChangedEventArgs.cs
- ScriptDescriptor.cs
- DocumentEventArgs.cs
- WebPartConnectionsDisconnectVerb.cs
- AnnotationObservableCollection.cs
- Fonts.cs
- QuotedPairReader.cs
- BitmapEffectInput.cs
- DesignRelation.cs
- QueryReaderSettings.cs
- ConnectionManagementElementCollection.cs
- PointHitTestResult.cs
- ExpandCollapseProviderWrapper.cs
- ISAPIApplicationHost.cs
- ReadOnlyHierarchicalDataSourceView.cs
- RenderingEventArgs.cs
- ConfigurationManagerHelper.cs
- _Win32.cs
- SqlClientPermission.cs
- GPStream.cs
- DPCustomTypeDescriptor.cs
- HtmlEncodedRawTextWriter.cs
- HotSpotCollection.cs
- LogSwitch.cs
- ContextBase.cs
- OdbcParameter.cs
- __FastResourceComparer.cs
- DbConnectionPoolGroupProviderInfo.cs
- BamlTreeUpdater.cs
- LogStream.cs
- SmtpReplyReader.cs
- ViewLoader.cs
- TextAdaptor.cs
- IndentedTextWriter.cs
- MetaTableHelper.cs
- IntranetCredentialPolicy.cs