Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorApplyVerb.cs / 1 / WebPartEditorApplyVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorApplyVerb : 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.WebPartEditorApplyVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorApplyVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_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 WebPartEditorApplyVerb : 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.WebPartEditorApplyVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorApplyVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_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
- ResponseBodyWriter.cs
- CellQuery.cs
- BitmapEffectInput.cs
- DayRenderEvent.cs
- TraceLevelStore.cs
- FullTrustAssemblyCollection.cs
- CompositeCollectionView.cs
- HttpException.cs
- UnorderedHashRepartitionStream.cs
- EmbeddedObject.cs
- SettingsPropertyNotFoundException.cs
- PackageProperties.cs
- MarginsConverter.cs
- ClosableStream.cs
- NamedPipeChannelListener.cs
- EnumValidator.cs
- OledbConnectionStringbuilder.cs
- RoleGroup.cs
- XsltCompileContext.cs
- TypeDescriptionProvider.cs
- UpdateManifestForBrowserApplication.cs
- WorkflowLayouts.cs
- TypePropertyEditor.cs
- FileDialogCustomPlacesCollection.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- XpsFilter.cs
- QuestionEventArgs.cs
- FontStretch.cs
- ActivityTypeCodeDomSerializer.cs
- ReadOnlyPropertyMetadata.cs
- BitmapFrame.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- IsolatedStorageFileStream.cs
- cookiecontainer.cs
- Page.cs
- PackageRelationshipSelector.cs
- Compiler.cs
- DropShadowEffect.cs
- CommentGlyph.cs
- Int64AnimationBase.cs
- MappingItemCollection.cs
- RouteParser.cs
- RemotingSurrogateSelector.cs
- Rect3DValueSerializer.cs
- DefaultExpression.cs
- UIAgentMonitor.cs
- ExpressionSelection.cs
- ActiveXSite.cs
- PublishLicense.cs
- Setter.cs
- safelink.cs
- XmlSchemaAttribute.cs
- AtomParser.cs
- PartitionedDataSource.cs
- ReadOnlyCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- DriveNotFoundException.cs
- OleDbWrapper.cs
- SrgsGrammarCompiler.cs
- GroupStyle.cs
- KnownTypeHelper.cs
- SqlOuterApplyReducer.cs
- PlanCompiler.cs
- DataObjectEventArgs.cs
- ItemMap.cs
- SqlError.cs
- MinimizableAttributeTypeConverter.cs
- XmlTextReaderImpl.cs
- EntityDataSourceViewSchema.cs
- Pts.cs
- Command.cs
- RightsDocument.cs
- SystemWebExtensionsSectionGroup.cs
- TerminatorSinks.cs
- DbProviderFactory.cs
- nulltextnavigator.cs
- ColorAnimationBase.cs
- TableRow.cs
- CorrelationTokenInvalidatedHandler.cs
- TextHidden.cs
- ReferentialConstraint.cs
- AttachedPropertyMethodSelector.cs
- ILGenerator.cs
- DataGridViewComboBoxCell.cs
- ItemContainerGenerator.cs
- RsaSecurityToken.cs
- PowerStatus.cs
- SecurityElement.cs
- StorageMappingFragment.cs
- XslNumber.cs
- _OSSOCK.cs
- EmptyStringExpandableObjectConverter.cs
- TypedElement.cs
- WindowsListViewGroup.cs
- shaperfactoryquerycacheentry.cs
- Button.cs
- WorkflowDebuggerSteppingAttribute.cs
- DependencyObjectProvider.cs
- XmlNamespaceDeclarationsAttribute.cs
- TableParagraph.cs