Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CompilerWrapper.cs
- StylusOverProperty.cs
- StringHandle.cs
- Util.cs
- LinqDataSourceHelper.cs
- ReadOnlyCollectionBase.cs
- StaticContext.cs
- IdentityElement.cs
- CacheAxisQuery.cs
- FixedFlowMap.cs
- TdsParserStateObject.cs
- StyleXamlParser.cs
- ExpressionNode.cs
- AnimatedTypeHelpers.cs
- Util.cs
- MethodToken.cs
- SapiAttributeParser.cs
- XdrBuilder.cs
- IdentifierService.cs
- AdornerHitTestResult.cs
- AnnotationComponentManager.cs
- ChtmlFormAdapter.cs
- CompositionAdorner.cs
- PipeStream.cs
- KeyMatchBuilder.cs
- XappLauncher.cs
- XmlWriter.cs
- TypeSystem.cs
- XmlSignificantWhitespace.cs
- GPPOINT.cs
- TextParagraphView.cs
- SplayTreeNode.cs
- ContentValidator.cs
- WindowsSpinner.cs
- XmlWriterTraceListener.cs
- UserCancellationException.cs
- ChannelServices.cs
- SymbolEqualComparer.cs
- HebrewNumber.cs
- WebPartHelpVerb.cs
- Underline.cs
- Internal.cs
- QilXmlReader.cs
- OpCellTreeNode.cs
- MustUnderstandBehavior.cs
- ExportOptions.cs
- ChangeProcessor.cs
- ScriptDescriptor.cs
- BrowserCapabilitiesFactory35.cs
- WriteTimeStream.cs
- ContentOperations.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Options.cs
- AuthenticationModulesSection.cs
- versioninfo.cs
- CallTemplateAction.cs
- ConnectionManager.cs
- SettingsPropertyValue.cs
- InOutArgumentConverter.cs
- XmlSchemaComplexContentRestriction.cs
- SafeFileMappingHandle.cs
- DataKey.cs
- EntityDataSourceSelectedEventArgs.cs
- DataIdProcessor.cs
- XmlSchemaSet.cs
- SiteOfOriginContainer.cs
- FieldAccessException.cs
- HideDisabledControlAdapter.cs
- EntityDataSourceSelectingEventArgs.cs
- DeferredReference.cs
- BoolExpr.cs
- WebPageTraceListener.cs
- OutputCacheSettingsSection.cs
- SchemaElementLookUpTable.cs
- SafeHandle.cs
- XmlElementAttributes.cs
- XAMLParseException.cs
- DecoderExceptionFallback.cs
- ServiceDeploymentInfo.cs
- ScrollBar.cs
- DesignerCommandSet.cs
- XmlSignatureManifest.cs
- RichTextBox.cs
- StandardMenuStripVerb.cs
- CredentialCache.cs
- WebReferenceOptions.cs
- ListViewTableRow.cs
- Error.cs
- EmptyTextWriter.cs
- SplashScreenNativeMethods.cs
- KeySplineConverter.cs
- ExecutionScope.cs
- FixedDocumentPaginator.cs
- OdbcError.cs
- IsolatedStoragePermission.cs
- TogglePattern.cs
- SqlDataSourceSelectingEventArgs.cs
- TokenBasedSetEnumerator.cs
- OracleParameterBinding.cs
- FixedSOMGroup.cs