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 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TaskFactory.cs
- MetadataSource.cs
- ListViewHitTestInfo.cs
- WorkflowWebHostingModule.cs
- ApplicationProxyInternal.cs
- RegexCompilationInfo.cs
- PolicyImporterElementCollection.cs
- SharedStatics.cs
- HttpHandlerAction.cs
- ListBox.cs
- Metadata.cs
- DocumentXPathNavigator.cs
- URLAttribute.cs
- PersonalizablePropertyEntry.cs
- EqualityComparer.cs
- RpcResponse.cs
- SweepDirectionValidation.cs
- ZipIOExtraFieldElement.cs
- QuaternionKeyFrameCollection.cs
- Rectangle.cs
- DataBoundControlAdapter.cs
- XsltException.cs
- HashRepartitionStream.cs
- EntityContainerEntitySetDefiningQuery.cs
- ListViewSortEventArgs.cs
- HtmlToClrEventProxy.cs
- StringArrayConverter.cs
- ErrorWrapper.cs
- AutomationEvent.cs
- ImageListUtils.cs
- unsafenativemethodstextservices.cs
- ResourceBinder.cs
- ScrollViewerAutomationPeer.cs
- SafeFileHandle.cs
- Guid.cs
- TaskHelper.cs
- WebBrowserHelper.cs
- PhysicalFontFamily.cs
- OuterGlowBitmapEffect.cs
- StreamAsIStream.cs
- ListViewSelectEventArgs.cs
- SimpleHandlerBuildProvider.cs
- Membership.cs
- SqlAliaser.cs
- HttpAsyncResult.cs
- SpnegoTokenProvider.cs
- RtType.cs
- EnumerableRowCollectionExtensions.cs
- BamlStream.cs
- MethodRental.cs
- BrowserCapabilitiesFactory35.cs
- SkinBuilder.cs
- SmtpException.cs
- ImageCodecInfo.cs
- ParameterCollectionEditor.cs
- MachineKey.cs
- COM2EnumConverter.cs
- ObjectItemAssemblyLoader.cs
- PathNode.cs
- VirtualPath.cs
- _TransmitFileOverlappedAsyncResult.cs
- SQLInt32.cs
- RewritingProcessor.cs
- DetailsViewInsertedEventArgs.cs
- UnsafeNativeMethods.cs
- RSAOAEPKeyExchangeDeformatter.cs
- RelatedPropertyManager.cs
- ConfigurationElementProperty.cs
- AppDomainAttributes.cs
- WindowInteropHelper.cs
- SynchronizationLockException.cs
- DbDataSourceEnumerator.cs
- ProtocolsConfigurationHandler.cs
- DispatchWrapper.cs
- WebBrowserUriTypeConverter.cs
- SuppressIldasmAttribute.cs
- SqlFlattener.cs
- DataControlImageButton.cs
- XPathException.cs
- FormatConvertedBitmap.cs
- InvalidCommandTreeException.cs
- NegotiateStream.cs
- PropagatorResult.cs
- SeekableReadStream.cs
- OracleParameter.cs
- SynchronizationFilter.cs
- _HTTPDateParse.cs
- EventProviderWriter.cs
- HtmlInputReset.cs
- EventToken.cs
- DeclaredTypeElementCollection.cs
- FlowchartStart.xaml.cs
- wgx_render.cs
- StaticFileHandler.cs
- Stream.cs
- HttpApplicationFactory.cs
- TypeToken.cs
- MultiView.cs
- AsyncPostBackTrigger.cs
- TableProviderWrapper.cs