Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorApplyVerb.cs / 1305376 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CacheOutputQuery.cs
- WebPartConnectionsCancelVerb.cs
- DocumentPage.cs
- DesignerCapabilities.cs
- SaveFileDialogDesigner.cs
- UpDownEvent.cs
- DataGridViewLinkColumn.cs
- WinInet.cs
- RuleProcessor.cs
- ObjectTag.cs
- ErrorEventArgs.cs
- DataContractSerializer.cs
- JpegBitmapEncoder.cs
- RSAPKCS1SignatureFormatter.cs
- ConfigUtil.cs
- TraceHandlerErrorFormatter.cs
- ConfigurationLocationCollection.cs
- UpdateManifestForBrowserApplication.cs
- ResourceAssociationType.cs
- MLangCodePageEncoding.cs
- LayoutUtils.cs
- ControlsConfig.cs
- LogLogRecord.cs
- DynamicRendererThreadManager.cs
- EditorZoneBase.cs
- RuntimeIdentifierPropertyAttribute.cs
- CodeStatement.cs
- RoleGroup.cs
- SqlClientFactory.cs
- CornerRadiusConverter.cs
- PersonalizableAttribute.cs
- PhysicalAddress.cs
- InputProcessorProfiles.cs
- BlurEffect.cs
- Track.cs
- IInstanceTable.cs
- FormatterServices.cs
- MessageQueueEnumerator.cs
- HtmlInputButton.cs
- SecurityTokenParameters.cs
- LogLogRecord.cs
- Identity.cs
- ConstructorBuilder.cs
- OciHandle.cs
- DefaultProxySection.cs
- TemplatedWizardStep.cs
- HierarchicalDataSourceDesigner.cs
- DocumentSequence.cs
- XamlRtfConverter.cs
- NumericUpDownAccelerationCollection.cs
- ParserStreamGeometryContext.cs
- AuthenticationModuleElementCollection.cs
- OrthographicCamera.cs
- TextPattern.cs
- AsyncPostBackErrorEventArgs.cs
- WebPartMenuStyle.cs
- IisTraceListener.cs
- TitleStyle.cs
- MeshGeometry3D.cs
- IntSecurity.cs
- CompositeCollectionView.cs
- StringCollection.cs
- AttachInfo.cs
- EmptyStringExpandableObjectConverter.cs
- PathSegment.cs
- XPathNodeHelper.cs
- Rotation3D.cs
- AsyncPostBackTrigger.cs
- UnsafeNativeMethods.cs
- AudioSignalProblemOccurredEventArgs.cs
- XamlTreeBuilderBamlRecordWriter.cs
- MaterializeFromAtom.cs
- DataServiceClientException.cs
- InvalidEnumArgumentException.cs
- DurableOperationContext.cs
- ActivityBuilder.cs
- XmlDocumentSchema.cs
- CatalogPart.cs
- SHA384.cs
- WebHttpElement.cs
- SafeRegistryHandle.cs
- ExtensibleClassFactory.cs
- Run.cs
- XsltException.cs
- ObjectCacheHost.cs
- FlowDocumentReaderAutomationPeer.cs
- ObjectAssociationEndMapping.cs
- ListViewGroup.cs
- FontUnitConverter.cs
- MultipartContentParser.cs
- CultureInfoConverter.cs
- DataGridColumnFloatingHeader.cs
- StringReader.cs
- HMAC.cs
- Model3D.cs
- PbrsForward.cs
- WebPartConnectionsCancelEventArgs.cs
- TypeLoadException.cs
- SetStoryboardSpeedRatio.cs
- GacUtil.cs