Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorCancelVerb.cs / 1305376 / WebPartEditorCancelVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorCancelVerb : 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.WebPartEditorCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorCancelVerb_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 WebPartEditorCancelVerb : 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.WebPartEditorCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorCancelVerb_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
- EntityCommandCompilationException.cs
- TimeStampChecker.cs
- PropertyInformation.cs
- KeyManager.cs
- AssociationTypeEmitter.cs
- KeyInstance.cs
- AttributeCollection.cs
- FileDialog.cs
- SecurityDescriptor.cs
- IteratorDescriptor.cs
- WebPartExportVerb.cs
- SerializationFieldInfo.cs
- SettingsContext.cs
- FlowDocumentReader.cs
- ReferencedCollectionType.cs
- UnaryNode.cs
- ConfigurationManagerHelperFactory.cs
- HandleCollector.cs
- NotFiniteNumberException.cs
- ToolStripRenderer.cs
- BinaryReader.cs
- HtmlElementEventArgs.cs
- IndexingContentUnit.cs
- SizeConverter.cs
- ResourceLoader.cs
- XamlStackWriter.cs
- SafeSecurityHelper.cs
- ComplexType.cs
- MetadataWorkspace.cs
- AutoResetEvent.cs
- BreakRecordTable.cs
- DbDataAdapter.cs
- GeneralTransform3DTo2DTo3D.cs
- ProtectedConfigurationSection.cs
- ToolboxItemAttribute.cs
- ChineseLunisolarCalendar.cs
- Themes.cs
- ProtocolsConfiguration.cs
- GenericAuthenticationEventArgs.cs
- VBIdentifierDesigner.xaml.cs
- BehaviorEditorPart.cs
- ScrollViewerAutomationPeer.cs
- ClientRuntimeConfig.cs
- InputLanguage.cs
- TraceProvider.cs
- X509SubjectKeyIdentifierClause.cs
- ConnectionStringsExpressionBuilder.cs
- DbConnectionPool.cs
- CheckPair.cs
- SizeValueSerializer.cs
- PenCursorManager.cs
- ToolStripDropDownClosingEventArgs.cs
- GridViewSortEventArgs.cs
- ResourceContainer.cs
- ControlBuilderAttribute.cs
- DeflateInput.cs
- EncodingInfo.cs
- Serializer.cs
- NotifyCollectionChangedEventArgs.cs
- PolyBezierSegment.cs
- Brush.cs
- MenuEventArgs.cs
- HttpRuntimeSection.cs
- TableStyle.cs
- EventLogEntry.cs
- WebCodeGenerator.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- RTLAwareMessageBox.cs
- DataSourceDesigner.cs
- RootDesignerSerializerAttribute.cs
- ValidatingReaderNodeData.cs
- FileDialog_Vista.cs
- DataSourceHelper.cs
- GenericTextProperties.cs
- SymLanguageVendor.cs
- WebScriptServiceHostFactory.cs
- BufferModesCollection.cs
- DataTemplateKey.cs
- FileVersionInfo.cs
- SqlInternalConnection.cs
- ZipIOLocalFileHeader.cs
- HtmlInputButton.cs
- WorkflowRuntimeService.cs
- WebPartHeaderCloseVerb.cs
- ProxyFragment.cs
- KeyedPriorityQueue.cs
- OracleCommandSet.cs
- GlyphsSerializer.cs
- ActivityWithResultValueSerializer.cs
- TimeSpanValidator.cs
- SecurityDescriptor.cs
- DynamicActionMessageFilter.cs
- PhonemeConverter.cs
- DocumentReferenceCollection.cs
- BufferedWebEventProvider.cs
- ListViewItemSelectionChangedEvent.cs
- RoleManagerModule.cs
- EventlogProvider.cs
- XmlDocument.cs
- WebReferencesBuildProvider.cs