Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridCellItemAutomationPeer.cs
- OpCellTreeNode.cs
- ResourcePermissionBaseEntry.cs
- TextOptions.cs
- FieldNameLookup.cs
- ToolStripItemTextRenderEventArgs.cs
- PerfCounters.cs
- SemanticBasicElement.cs
- QuaternionConverter.cs
- EndOfStreamException.cs
- ManagementObjectSearcher.cs
- AsymmetricKeyExchangeDeformatter.cs
- PrinterUnitConvert.cs
- Clipboard.cs
- InstalledVoice.cs
- GetIsBrowserClientRequest.cs
- FlowDocumentPage.cs
- DiagnosticTraceSchemas.cs
- TypedReference.cs
- LinearKeyFrames.cs
- WebPartsPersonalizationAuthorization.cs
- DisplayToken.cs
- Module.cs
- LinqDataSourceView.cs
- GlyphManager.cs
- PropertyTabChangedEvent.cs
- TypeInfo.cs
- XAMLParseException.cs
- ToolStripStatusLabel.cs
- ConstantSlot.cs
- StyleCollection.cs
- KnownTypesHelper.cs
- ObjectStateFormatter.cs
- AsyncOperation.cs
- Message.cs
- Base64Encoder.cs
- Point3DIndependentAnimationStorage.cs
- HighlightVisual.cs
- ClientProxyGenerator.cs
- ResponseStream.cs
- SkinBuilder.cs
- OpenTypeCommon.cs
- UpDownBaseDesigner.cs
- DeliveryRequirementsAttribute.cs
- TogglePatternIdentifiers.cs
- WmlObjectListAdapter.cs
- EmptyArray.cs
- AssemblyResourceLoader.cs
- FaultHandlingFilter.cs
- PassportAuthenticationEventArgs.cs
- Marshal.cs
- ItemType.cs
- RectValueSerializer.cs
- ServiceMetadataPublishingElement.cs
- RolePrincipal.cs
- ReverseInheritProperty.cs
- MetadataItemEmitter.cs
- SEHException.cs
- PassportAuthentication.cs
- XmlArrayItemAttribute.cs
- StaticExtensionConverter.cs
- Polyline.cs
- TagNameToTypeMapper.cs
- CombinedGeometry.cs
- PersianCalendar.cs
- Calendar.cs
- SiteMapHierarchicalDataSourceView.cs
- MenuScrollingVisibilityConverter.cs
- MD5CryptoServiceProvider.cs
- StrokeNodeOperations.cs
- HtmlTable.cs
- Button.cs
- StreamWithDictionary.cs
- SourceItem.cs
- DataRelationPropertyDescriptor.cs
- ShutDownListener.cs
- WFItemsToSpacerVisibility.cs
- InkCanvas.cs
- RequestCachePolicy.cs
- DES.cs
- sqlinternaltransaction.cs
- ImageCodecInfoPrivate.cs
- NullableDoubleMinMaxAggregationOperator.cs
- DataGridRow.cs
- UIPermission.cs
- SchemaImporterExtensionsSection.cs
- RadioButton.cs
- MdiWindowListItemConverter.cs
- IsolatedStoragePermission.cs
- ObservableDictionary.cs
- PropagatorResult.cs
- UnsafeNetInfoNativeMethods.cs
- Mouse.cs
- CodeGeneratorOptions.cs
- Panel.cs
- ServiceReference.cs
- PathFigureCollection.cs
- UniqueIdentifierService.cs
- OleDbCommand.cs
- TableCell.cs