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 / WebPartEditorApplyVerb.cs / 1 / 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
- FlowNode.cs
- CodeObjectCreateExpression.cs
- MbpInfo.cs
- ReturnType.cs
- MembershipSection.cs
- EntityDesignerDataSourceView.cs
- RequestCacheManager.cs
- WebBrowserNavigatingEventHandler.cs
- AssemblyAttributesGoHere.cs
- metadatamappinghashervisitor.cs
- EnumValAlphaComparer.cs
- StylusCollection.cs
- ViewStateException.cs
- WorkflowRuntimeServiceElementCollection.cs
- XamlWriter.cs
- MissingFieldException.cs
- HijriCalendar.cs
- NoneExcludedImageIndexConverter.cs
- TypedElement.cs
- SmtpException.cs
- ControlPropertyNameConverter.cs
- UnorderedHashRepartitionStream.cs
- ToolStripOverflow.cs
- JournalEntryListConverter.cs
- TdsParserStaticMethods.cs
- DefaultValueTypeConverter.cs
- HttpApplicationStateWrapper.cs
- EntityDataSourceDesignerHelper.cs
- EventListenerClientSide.cs
- ExpressionLink.cs
- ItemList.cs
- CommandExpr.cs
- EntitySet.cs
- OpenTypeLayoutCache.cs
- LinqDataSourceEditData.cs
- CatalogZoneDesigner.cs
- TrustSection.cs
- RecognizeCompletedEventArgs.cs
- XmlEncoding.cs
- PopupEventArgs.cs
- BmpBitmapEncoder.cs
- PeerFlooder.cs
- RulePatternOps.cs
- MenuBase.cs
- BindingOperations.cs
- CommandTreeTypeHelper.cs
- BitmapPalette.cs
- ExpressionLexer.cs
- DataRecordObjectView.cs
- DataServiceRequest.cs
- FormatStringEditor.cs
- localization.cs
- SoapEnumAttribute.cs
- MasterPageParser.cs
- BuildManager.cs
- InputElement.cs
- _DomainName.cs
- KeyProperty.cs
- MaterialGroup.cs
- TextEmbeddedObject.cs
- DriveNotFoundException.cs
- InitializationEventAttribute.cs
- ArrangedElement.cs
- ReflectionPermission.cs
- LocalizedNameDescriptionPair.cs
- ComplexType.cs
- ConfigurationFileMap.cs
- ResourceSet.cs
- FtpCachePolicyElement.cs
- ReferencedType.cs
- DescriptionAttribute.cs
- TextDocumentView.cs
- EntityDataSource.cs
- NullEntityWrapper.cs
- RichTextBoxAutomationPeer.cs
- Publisher.cs
- UTF8Encoding.cs
- SR.cs
- TextSearch.cs
- SHA256Managed.cs
- InplaceBitmapMetadataWriter.cs
- SafeFileHandle.cs
- EndSelectCardRequest.cs
- PrtCap_Base.cs
- View.cs
- RevocationPoint.cs
- TypeListConverter.cs
- DataGridViewColumnHeaderCell.cs
- SizeConverter.cs
- PathFigure.cs
- HtmlSelect.cs
- UnsettableComboBox.cs
- Context.cs
- QueryOperator.cs
- CheckBox.cs
- DesignerSerializerAttribute.cs
- ImageCollectionEditor.cs
- IMembershipProvider.cs
- NetNamedPipeBinding.cs
- SignatureDescription.cs