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 / WebPartEditorOkVerb.cs / 1 / WebPartEditorOkVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorOKVerb : 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.WebPartEditorOKVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_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 WebPartEditorOKVerb : 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.WebPartEditorOKVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_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
- Action.cs
- PocoEntityKeyStrategy.cs
- CachedBitmap.cs
- HyperLink.cs
- StopRoutingHandler.cs
- RegularExpressionValidator.cs
- Vector3DAnimationUsingKeyFrames.cs
- TreeNodeEventArgs.cs
- SqlDataAdapter.cs
- ContextInformation.cs
- DataRowExtensions.cs
- TextBlock.cs
- IPipelineRuntime.cs
- Drawing.cs
- CompoundFileReference.cs
- XmlSchemaObject.cs
- RowToParametersTransformer.cs
- IssuedSecurityTokenProvider.cs
- ScrollViewer.cs
- FormViewPageEventArgs.cs
- TokenFactoryBase.cs
- RectangleConverter.cs
- EDesignUtil.cs
- XmlArrayItemAttributes.cs
- NetCodeGroup.cs
- XhtmlBasicPageAdapter.cs
- SmtpMail.cs
- SafeFileHandle.cs
- ButtonBaseAdapter.cs
- RenderTargetBitmap.cs
- ClientCultureInfo.cs
- KeyValuePairs.cs
- PublisherIdentityPermission.cs
- ManualResetEvent.cs
- NativeCppClassAttribute.cs
- SoapFormatExtensions.cs
- DataBoundControlHelper.cs
- Application.cs
- Point3DCollection.cs
- TypographyProperties.cs
- FixedPage.cs
- SchemaImporterExtensionElement.cs
- VBCodeProvider.cs
- Registry.cs
- ExceptionTrace.cs
- BitmapImage.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- RangeValuePatternIdentifiers.cs
- PersianCalendar.cs
- BaseDataListPage.cs
- RadioButtonList.cs
- basevalidator.cs
- TextMarkerSource.cs
- SettingsPropertyIsReadOnlyException.cs
- TreeView.cs
- AdornerDecorator.cs
- SqlCaseSimplifier.cs
- TypeSystemHelpers.cs
- PropertyValueChangedEvent.cs
- RuntimeConfigLKG.cs
- MenuItemBinding.cs
- DataIdProcessor.cs
- VisualCollection.cs
- ShadowGlyph.cs
- DataGridCellItemAutomationPeer.cs
- TcpHostedTransportConfiguration.cs
- ControlEvent.cs
- CommandHelper.cs
- RadioButtonBaseAdapter.cs
- WeakReferenceKey.cs
- SystemWebSectionGroup.cs
- WSHttpBinding.cs
- BindingExpressionBase.cs
- SamlAssertion.cs
- ToolboxItemCollection.cs
- versioninfo.cs
- NumberSubstitution.cs
- AspNetHostingPermission.cs
- ObjectPersistData.cs
- InkCanvas.cs
- MultitargetingHelpers.cs
- Overlapped.cs
- GenericPrincipal.cs
- ScrollChrome.cs
- CodeLabeledStatement.cs
- PresentationSource.cs
- Metafile.cs
- FormsAuthenticationTicket.cs
- PaperSource.cs
- DocumentSequenceHighlightLayer.cs
- BitmapFrame.cs
- Parser.cs
- NavigationWindowAutomationPeer.cs
- Typography.cs
- InputMethod.cs
- PropertyCondition.cs
- SmiMetaDataProperty.cs
- RegexCompilationInfo.cs
- RtfNavigator.cs
- CheckBoxList.cs