Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorOkVerb.cs / 1 / WebPartEditorOkVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorOKVerb : 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.WebPartEditorOKVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_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
- _SslStream.cs
- SafeCryptoHandles.cs
- TextWriter.cs
- ListViewInsertEventArgs.cs
- Exceptions.cs
- TimeoutException.cs
- AssemblyBuilder.cs
- EntityFunctions.cs
- DbConnectionPoolGroup.cs
- CodePageEncoding.cs
- XmlHierarchicalDataSourceView.cs
- RenderDataDrawingContext.cs
- XamlSerializerUtil.cs
- XmlMtomReader.cs
- BaseTemplateCodeDomTreeGenerator.cs
- AdapterSwitches.cs
- FixedSOMImage.cs
- SchemaImporterExtensionElement.cs
- ThreadStaticAttribute.cs
- HighContrastHelper.cs
- SettingsBase.cs
- AssociationEndMember.cs
- ImageIndexEditor.cs
- XmlEventCache.cs
- CellCreator.cs
- SqlFacetAttribute.cs
- LoadGrammarCompletedEventArgs.cs
- GPRECTF.cs
- DefaultDialogButtons.cs
- IgnoreFileBuildProvider.cs
- DataGridCellAutomationPeer.cs
- FormatSettings.cs
- ImageAnimator.cs
- VisualBrush.cs
- TextTreeExtractElementUndoUnit.cs
- BamlLocalizer.cs
- KoreanLunisolarCalendar.cs
- CodeExporter.cs
- PartitionerQueryOperator.cs
- SimpleWebHandlerParser.cs
- FtpWebResponse.cs
- DtrList.cs
- SelectedGridItemChangedEvent.cs
- SecurityElement.cs
- ProxyGenerator.cs
- ScriptReferenceEventArgs.cs
- RoleGroupCollection.cs
- LineGeometry.cs
- SqlServices.cs
- XmlSerializerFaultFormatter.cs
- WebControlsSection.cs
- Form.cs
- SystemResourceKey.cs
- NotificationContext.cs
- InitializerFacet.cs
- GridView.cs
- ToolStripItemImageRenderEventArgs.cs
- DBConcurrencyException.cs
- SqlDuplicator.cs
- ListBoxChrome.cs
- StateRuntime.cs
- Geometry3D.cs
- ErrorFormatter.cs
- ExpressionNormalizer.cs
- OpenFileDialog.cs
- DateTimeConverter2.cs
- DefaultPrintController.cs
- CompoundFileStreamReference.cs
- FormsAuthenticationTicket.cs
- RoleManagerModule.cs
- TrackingQueryElement.cs
- WindowsTokenRoleProvider.cs
- RightsManagementEncryptionTransform.cs
- CodeDefaultValueExpression.cs
- BaseCodePageEncoding.cs
- CompositeActivityTypeDescriptor.cs
- IgnoreSectionHandler.cs
- ParameterBuilder.cs
- System.Data.OracleClient_BID.cs
- HostExecutionContextManager.cs
- XPathEmptyIterator.cs
- mda.cs
- GenericsNotImplementedException.cs
- SQlBooleanStorage.cs
- EntityPropertyMappingAttribute.cs
- MutexSecurity.cs
- ListenerTraceUtility.cs
- MatrixAnimationUsingKeyFrames.cs
- IImplicitResourceProvider.cs
- HttpResponseWrapper.cs
- ScriptManagerProxy.cs
- TypeUnloadedException.cs
- DayRenderEvent.cs
- HtmlTableRow.cs
- FilteredReadOnlyMetadataCollection.cs
- OperationResponse.cs
- wgx_render.cs
- SspiNegotiationTokenAuthenticatorState.cs
- DesignerProperties.cs
- ConfigurationManagerHelper.cs