Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- GraphicsContainer.cs
- SchemaComplexType.cs
- FontFamilyConverter.cs
- CancelEventArgs.cs
- NegotiateStream.cs
- SHA512CryptoServiceProvider.cs
- FixedTextSelectionProcessor.cs
- SharedStatics.cs
- RadioButtonList.cs
- EmptyReadOnlyDictionaryInternal.cs
- GroupBox.cs
- XslAstAnalyzer.cs
- MetaForeignKeyColumn.cs
- AppDomainCompilerProxy.cs
- FileUtil.cs
- UnknownWrapper.cs
- LedgerEntry.cs
- IndexerNameAttribute.cs
- HttpEncoderUtility.cs
- SafeNativeMethods.cs
- SmtpMail.cs
- BasicBrowserDialog.cs
- Pkcs7Signer.cs
- HtmlEncodedRawTextWriter.cs
- Attributes.cs
- DataGridTextBox.cs
- MsmqIntegrationValidationBehavior.cs
- NativeRightsManagementAPIsStructures.cs
- StoreContentChangedEventArgs.cs
- GridItemPatternIdentifiers.cs
- SpellerHighlightLayer.cs
- ToolStripStatusLabel.cs
- ReceiveSecurityHeaderEntry.cs
- SerializationSectionGroup.cs
- DataRelationCollection.cs
- SafeIUnknown.cs
- UseLicense.cs
- RichTextBox.cs
- CodeDOMUtility.cs
- NameValuePermission.cs
- SerialPort.cs
- ElementsClipboardData.cs
- CancellationToken.cs
- XmlIlTypeHelper.cs
- AutoResetEvent.cs
- ControlType.cs
- MimePart.cs
- CompositeKey.cs
- FreezableCollection.cs
- Setter.cs
- GridViewSortEventArgs.cs
- PolicyException.cs
- SqlDataSourceCache.cs
- ActivatedMessageQueue.cs
- MsmqChannelFactory.cs
- PersonalizationEntry.cs
- EnterpriseServicesHelper.cs
- InfoCardAsymmetricCrypto.cs
- ObjectManager.cs
- SoapTypeAttribute.cs
- CustomAttribute.cs
- SmtpNegotiateAuthenticationModule.cs
- SqlException.cs
- PackageRelationshipSelector.cs
- Base64Encoding.cs
- ImpersonationContext.cs
- DataViewManager.cs
- EntityWrapperFactory.cs
- ClosableStream.cs
- TimeSpanOrInfiniteValidator.cs
- SerialPinChanges.cs
- HatchBrush.cs
- MemoryRecordBuffer.cs
- Choices.cs
- StringReader.cs
- Operand.cs
- XmlQualifiedNameTest.cs
- CharConverter.cs
- DbMetaDataFactory.cs
- AccessDataSourceView.cs
- AddressHeaderCollection.cs
- AvTraceDetails.cs
- IssuanceLicense.cs
- ContentFilePart.cs
- ContextMenu.cs
- XmlSchemaType.cs
- QilReference.cs
- RoleGroup.cs
- LockRenewalTask.cs
- ErrorTableItemStyle.cs
- ResourceAttributes.cs
- CheckBoxRenderer.cs
- IdentityValidationException.cs
- AuthorizationContext.cs
- ContentElement.cs
- SqlNotificationEventArgs.cs
- ExceptionUtil.cs
- BaseCollection.cs
- MDIWindowDialog.cs
- ServiceAuthorizationBehavior.cs