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
- XmlQualifiedNameTest.cs
- WizardPanelChangingEventArgs.cs
- SqlOuterApplyReducer.cs
- ResXResourceWriter.cs
- ModifierKeysValueSerializer.cs
- ObjectAnimationBase.cs
- HierarchicalDataBoundControlAdapter.cs
- BaseCAMarshaler.cs
- LinqDataSourceContextData.cs
- Multiply.cs
- ConfigurationProperty.cs
- ListBindingHelper.cs
- OleDbFactory.cs
- TextDecorationUnitValidation.cs
- XmlSchemaAny.cs
- ActivityCodeDomSerializationManager.cs
- XmlILCommand.cs
- MemberExpression.cs
- BezierSegment.cs
- Point3DIndependentAnimationStorage.cs
- DoubleAnimationUsingPath.cs
- FileNotFoundException.cs
- _ContextAwareResult.cs
- XmlSerializationWriter.cs
- SafeUserTokenHandle.cs
- ExpressionConverter.cs
- UInt32Storage.cs
- XPathNodePointer.cs
- ObsoleteAttribute.cs
- CodeAssignStatement.cs
- InternalControlCollection.cs
- PeerApplicationLaunchInfo.cs
- _ShellExpression.cs
- InternalRelationshipCollection.cs
- NativeRecognizer.cs
- HttpCookie.cs
- HwndSourceParameters.cs
- FindCriteriaApril2005.cs
- RuleInfoComparer.cs
- DictionaryEditChange.cs
- AliasedSlot.cs
- Point4DConverter.cs
- SerializationException.cs
- StrokeCollection.cs
- DecimalFormatter.cs
- QfeChecker.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- CustomBindingElementCollection.cs
- SqlBulkCopy.cs
- MULTI_QI.cs
- PathHelper.cs
- CryptoApi.cs
- AnnotationAuthorChangedEventArgs.cs
- MonthChangedEventArgs.cs
- MultiAsyncResult.cs
- IntMinMaxAggregationOperator.cs
- TypeConverterValueSerializer.cs
- DataTemplateKey.cs
- StickyNoteContentControl.cs
- TypeNameParser.cs
- SqlConnectionStringBuilder.cs
- Privilege.cs
- MDIWindowDialog.cs
- QilParameter.cs
- Connector.xaml.cs
- ToolStripOverflow.cs
- RpcCryptoContext.cs
- CommandConverter.cs
- DoWhile.cs
- ModuleConfigurationInfo.cs
- StackBuilderSink.cs
- LongTypeConverter.cs
- TrackingMemoryStreamFactory.cs
- ApplyTemplatesAction.cs
- XmlElementCollection.cs
- DriveNotFoundException.cs
- TextCollapsingProperties.cs
- FontSourceCollection.cs
- DesignTimeHTMLTextWriter.cs
- InputManager.cs
- ParserExtension.cs
- WsdlWriter.cs
- coordinatorscratchpad.cs
- CapabilitiesUse.cs
- NamespaceMapping.cs
- SetStateEventArgs.cs
- Nodes.cs
- DataGridTextBoxColumn.cs
- DesignerView.cs
- DataTableCollection.cs
- TextProperties.cs
- TypeUtils.cs
- XmlSerializationGeneratedCode.cs
- RowParagraph.cs
- CompilerParameters.cs
- LockCookie.cs
- DocumentOutline.cs
- ConfigXmlReader.cs
- XmlProcessingInstruction.cs
- X509AudioLogo.cs