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
- HostProtectionPermission.cs
- CredentialCache.cs
- ButtonBase.cs
- ImageList.cs
- StylusButton.cs
- XmlChildEnumerator.cs
- LinkedDataMemberFieldEditor.cs
- WindowsGraphics.cs
- VisualStyleRenderer.cs
- DocumentPage.cs
- ConditionalAttribute.cs
- ConversionContext.cs
- BoolExpr.cs
- DiscoveryViaBehavior.cs
- FirstMatchCodeGroup.cs
- ReturnValue.cs
- BitmapEffect.cs
- Merger.cs
- Point3DConverter.cs
- SystemIPInterfaceProperties.cs
- sqlcontext.cs
- DrawingContext.cs
- DataObjectFieldAttribute.cs
- ToolbarAUtomationPeer.cs
- FramingEncoders.cs
- BypassElementCollection.cs
- ClientTargetSection.cs
- ColumnWidthChangingEvent.cs
- XPathAncestorQuery.cs
- CellRelation.cs
- ChangePassword.cs
- SocketElement.cs
- InkCanvasSelectionAdorner.cs
- DataGridViewColumnTypePicker.cs
- IteratorDescriptor.cs
- bindurihelper.cs
- Polyline.cs
- GeometryGroup.cs
- SoapReflectionImporter.cs
- XmlTypeMapping.cs
- IndexedWhereQueryOperator.cs
- KeyGestureValueSerializer.cs
- CompilationSection.cs
- ShapingWorkspace.cs
- OutputCacheProfile.cs
- HttpAsyncResult.cs
- DeploymentSection.cs
- ShaderRenderModeValidation.cs
- CodeObject.cs
- ModelUtilities.cs
- Error.cs
- WebAdminConfigurationHelper.cs
- SequenceNumber.cs
- PrintingPermissionAttribute.cs
- StateBag.cs
- LineServicesRun.cs
- ValueOfAction.cs
- nulltextcontainer.cs
- TdsParserStaticMethods.cs
- CollectionViewProxy.cs
- CryptoHelper.cs
- PrinterResolution.cs
- XmlChildNodes.cs
- DataGridViewRowPostPaintEventArgs.cs
- DrawingBrush.cs
- PageAsyncTask.cs
- TryCatch.cs
- UnsafeNativeMethods.cs
- XmlCharType.cs
- _FtpControlStream.cs
- CodeMemberProperty.cs
- OleDbReferenceCollection.cs
- SchemaExporter.cs
- TypeConverterAttribute.cs
- listitem.cs
- ArgumentOutOfRangeException.cs
- Label.cs
- Connector.cs
- WindowsFormsHelpers.cs
- SeekableMessageNavigator.cs
- DataGridViewLayoutData.cs
- GenericAuthenticationEventArgs.cs
- ClientClassGenerator.cs
- LongTypeConverter.cs
- DataGridViewAutoSizeModeEventArgs.cs
- UnsafeNativeMethodsPenimc.cs
- PointUtil.cs
- ButtonFlatAdapter.cs
- PositiveTimeSpanValidatorAttribute.cs
- CreatingCookieEventArgs.cs
- ViewDesigner.cs
- TransformCryptoHandle.cs
- CodeStatementCollection.cs
- GridViewItemAutomationPeer.cs
- ListDesigner.cs
- ManifestResourceInfo.cs
- CharAnimationBase.cs
- GrowingArray.cs
- PropertyConverter.cs
- FontStretches.cs