Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorApplyVerb.cs / 1305376 / 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
- DeclarativeConditionsCollection.cs
- InputLangChangeRequestEvent.cs
- RoutedPropertyChangedEventArgs.cs
- CustomErrorCollection.cs
- XmlSchemaDocumentation.cs
- InternalResources.cs
- ListBoxChrome.cs
- LinqDataSourceView.cs
- ExtentKey.cs
- HtmlForm.cs
- ProvidersHelper.cs
- CriticalFinalizerObject.cs
- PlaceHolder.cs
- ConfigurationManagerHelper.cs
- TextDecorationUnitValidation.cs
- XmlNotation.cs
- CursorConverter.cs
- RegexWriter.cs
- HttpResponse.cs
- DoubleAnimationBase.cs
- PersonalizableTypeEntry.cs
- Timer.cs
- VirtualPath.cs
- SQLUtility.cs
- Matrix.cs
- HandlerFactoryCache.cs
- TextElementCollectionHelper.cs
- DependencyPropertyKind.cs
- SelectionHighlightInfo.cs
- InteropBitmapSource.cs
- XmlSignificantWhitespace.cs
- _Semaphore.cs
- StringHelper.cs
- EventlogProvider.cs
- LabelDesigner.cs
- XPathScanner.cs
- CollectionDataContract.cs
- AppSecurityManager.cs
- HelpEvent.cs
- FolderBrowserDialogDesigner.cs
- IPEndPoint.cs
- ExceptionHelpers.cs
- InvalidFilterCriteriaException.cs
- M3DUtil.cs
- OptionalMessageQuery.cs
- Win32Native.cs
- CatalogZoneBase.cs
- DiscoveryClientElement.cs
- FontStyles.cs
- Attributes.cs
- CompositeDuplexBindingElement.cs
- WindowsFormsHostPropertyMap.cs
- ContextQuery.cs
- Transform3DGroup.cs
- DigestTraceRecordHelper.cs
- FormsAuthenticationUserCollection.cs
- ArrangedElementCollection.cs
- PreservationFileWriter.cs
- ConnectionPoint.cs
- BitVector32.cs
- Oid.cs
- Asn1IntegerConverter.cs
- PatternMatchRules.cs
- SubpageParaClient.cs
- BitmapCacheBrush.cs
- SecurityKeyIdentifierClause.cs
- DoubleCollection.cs
- UniqueIdentifierService.cs
- BufferManager.cs
- EntityDataSourceReferenceGroup.cs
- ValueExpressions.cs
- SqlFormatter.cs
- ItemContainerProviderWrapper.cs
- AsmxEndpointPickerExtension.cs
- DateTimeFormatInfo.cs
- DocumentPage.cs
- FrameworkElementFactoryMarkupObject.cs
- BitmapEffectDrawing.cs
- TextElementEditingBehaviorAttribute.cs
- BitStream.cs
- StateItem.cs
- ReadOnlyDictionary.cs
- ThemeableAttribute.cs
- HandlerBase.cs
- GridProviderWrapper.cs
- TextViewSelectionProcessor.cs
- ControlHelper.cs
- DetailsViewModeEventArgs.cs
- RadioButtonFlatAdapter.cs
- PointAnimation.cs
- OrderByBuilder.cs
- DataGridViewTextBoxEditingControl.cs
- DefaultValueTypeConverter.cs
- BinHexEncoding.cs
- BrowserTree.cs
- RecipientInfo.cs
- InfoCardArgumentException.cs
- AssemblyCache.cs
- WebRequestModuleElement.cs
- MimeMapping.cs