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
- ColorComboBox.cs
- CheckBoxBaseAdapter.cs
- CorrelationScope.cs
- DistinctQueryOperator.cs
- DataGridLinkButton.cs
- ConfigurationElementProperty.cs
- Menu.cs
- RoutedEventValueSerializer.cs
- DbProviderFactory.cs
- SqlDataSourceQueryEditorForm.cs
- CapabilitiesState.cs
- MemberProjectionIndex.cs
- DirectoryGroupQuery.cs
- TreeViewEvent.cs
- ProxySimple.cs
- ResourceContainer.cs
- XmlWhitespace.cs
- SafeWaitHandle.cs
- UpdatePanelTrigger.cs
- ContainerAction.cs
- ExpressionBindingCollection.cs
- LocalizationParserHooks.cs
- StringStorage.cs
- SystemColorTracker.cs
- MobileTextWriter.cs
- ZipIOLocalFileBlock.cs
- SettingsBindableAttribute.cs
- CompositionDesigner.cs
- URLAttribute.cs
- ConfigurationStrings.cs
- TreeNodeMouseHoverEvent.cs
- cache.cs
- DomNameTable.cs
- RegistrySecurity.cs
- PropertyDescriptors.cs
- InkCanvasSelection.cs
- XmlAutoDetectWriter.cs
- SmiXetterAccessMap.cs
- ImmutableAssemblyCacheEntry.cs
- ControlParser.cs
- BamlRecordWriter.cs
- BooleanToVisibilityConverter.cs
- _NestedMultipleAsyncResult.cs
- FunctionDescription.cs
- CurrentTimeZone.cs
- SqlDataRecord.cs
- FileSystemEventArgs.cs
- ColorTranslator.cs
- MetricEntry.cs
- AssemblyUtil.cs
- ImageSource.cs
- AudioFileOut.cs
- ColorPalette.cs
- Win32MouseDevice.cs
- BaseDataBoundControl.cs
- RoleServiceManager.cs
- DataGridClipboardHelper.cs
- SqlUDTStorage.cs
- ToolStripSettings.cs
- EventTask.cs
- HotCommands.cs
- SequentialWorkflowRootDesigner.cs
- UseAttributeSetsAction.cs
- SafeReadContext.cs
- InternalDispatchObject.cs
- MiniConstructorInfo.cs
- HyperLink.cs
- TiffBitmapEncoder.cs
- SrgsSubset.cs
- RegisteredExpandoAttribute.cs
- HandlerBase.cs
- PointHitTestResult.cs
- DataKey.cs
- Bits.cs
- RegistrySecurity.cs
- Polygon.cs
- WindowsRichEdit.cs
- DataGridViewAdvancedBorderStyle.cs
- XmlUtilWriter.cs
- MasterPage.cs
- SqlParameterCollection.cs
- InfoCardBinaryReader.cs
- MetaTableHelper.cs
- WebPartVerbCollection.cs
- CodeTypeParameter.cs
- TextBoxAutoCompleteSourceConverter.cs
- XmlDataSourceView.cs
- OdbcHandle.cs
- TableAdapterManagerMethodGenerator.cs
- StringAnimationBase.cs
- SineEase.cs
- ListenDesigner.cs
- SchemaImporterExtensionsSection.cs
- TemplateControlParser.cs
- WindowsPen.cs
- PreservationFileWriter.cs
- SigningProgress.cs
- HttpCacheVaryByContentEncodings.cs
- SortExpressionBuilder.cs
- DocumentSchemaValidator.cs