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
- WebPartVerb.cs
- WindowPatternIdentifiers.cs
- FunctionNode.cs
- Vector3DCollection.cs
- RegexNode.cs
- XmlQuerySequence.cs
- SetStateEventArgs.cs
- UserNameSecurityTokenAuthenticator.cs
- RichTextBox.cs
- WSSecureConversation.cs
- BitArray.cs
- RoleManagerEventArgs.cs
- cache.cs
- DbgCompiler.cs
- SecurityCapabilities.cs
- UriParserTemplates.cs
- Stackframe.cs
- SuppressMessageAttribute.cs
- ThreadLocal.cs
- SoapIgnoreAttribute.cs
- SafeNativeMethodsOther.cs
- ControlParameter.cs
- AssignDesigner.xaml.cs
- MissingManifestResourceException.cs
- StylusCaptureWithinProperty.cs
- BidPrivateBase.cs
- CssTextWriter.cs
- TemplateNameScope.cs
- BmpBitmapDecoder.cs
- IsolatedStorageFileStream.cs
- Invariant.cs
- DataGridViewImageColumn.cs
- StoryFragments.cs
- ChannelTraceRecord.cs
- ToolboxBitmapAttribute.cs
- FormsAuthenticationUserCollection.cs
- PageSetupDialog.cs
- WebPartConnection.cs
- DateTimeSerializationSection.cs
- ExtenderControl.cs
- typedescriptorpermission.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- WindowsClientCredential.cs
- GridItemProviderWrapper.cs
- RootBrowserWindow.cs
- WorkflowServiceBehavior.cs
- DocumentationServerProtocol.cs
- DataFormats.cs
- WebPartVerb.cs
- _LocalDataStore.cs
- AttachedPropertyMethodSelector.cs
- ActivityWithResultValueSerializer.cs
- DataGridItemCollection.cs
- DoubleCollectionValueSerializer.cs
- ProjectionCamera.cs
- ProfileService.cs
- SystemUnicastIPAddressInformation.cs
- RefExpr.cs
- FixedDSBuilder.cs
- EntityContainer.cs
- TextComposition.cs
- BamlRecordHelper.cs
- ApplicationId.cs
- ToolStripLocationCancelEventArgs.cs
- ParserStreamGeometryContext.cs
- InvalidEnumArgumentException.cs
- DesignerAutoFormat.cs
- PerformanceCountersElement.cs
- FontFamily.cs
- SecurityTokenParameters.cs
- SiteOfOriginContainer.cs
- Label.cs
- SchemaTableOptionalColumn.cs
- RemoteWebConfigurationHostServer.cs
- HttpServerUtilityBase.cs
- Viewport2DVisual3D.cs
- SettingsSection.cs
- XmlNavigatorStack.cs
- SafeNativeMethodsMilCoreApi.cs
- UserPersonalizationStateInfo.cs
- DockingAttribute.cs
- CaseInsensitiveComparer.cs
- _Rfc2616CacheValidators.cs
- Simplifier.cs
- TimeSpanValidator.cs
- DiscreteKeyFrames.cs
- BinHexEncoder.cs
- TextTreeRootTextBlock.cs
- BypassElement.cs
- MouseCaptureWithinProperty.cs
- AbstractExpressions.cs
- UnsafeNativeMethods.cs
- ObjectNavigationPropertyMapping.cs
- ReflectionServiceProvider.cs
- FlowDocumentFormatter.cs
- StatusStrip.cs
- SqlProvider.cs
- IgnoreSectionHandler.cs
- ColumnResizeUndoUnit.cs
- DrawingDrawingContext.cs