Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PasswordRecovery.cs
- PropertyInfoSet.cs
- DataGridSortCommandEventArgs.cs
- WriteableBitmap.cs
- TabControl.cs
- StackBuilderSink.cs
- LogRestartAreaEnumerator.cs
- FileEnumerator.cs
- MetadataSet.cs
- shaperfactory.cs
- InvokeProviderWrapper.cs
- VisualTreeHelper.cs
- OutputCacheSection.cs
- Int32RectConverter.cs
- TriggerActionCollection.cs
- Int16Converter.cs
- Identifier.cs
- ExpressionSelection.cs
- SoapSchemaExporter.cs
- WebBrowserPermission.cs
- SimplePropertyEntry.cs
- CodeNamespace.cs
- AuthenticationModulesSection.cs
- NamespaceTable.cs
- HandlerMappingMemo.cs
- WpfSharedXamlSchemaContext.cs
- TextTreeObjectNode.cs
- EmbeddedObject.cs
- WebReferencesBuildProvider.cs
- SystemIPInterfaceStatistics.cs
- Color.cs
- MatrixAnimationUsingKeyFrames.cs
- ObjectQuery.cs
- OracleFactory.cs
- MessageContractMemberAttribute.cs
- CodeDelegateInvokeExpression.cs
- LogWriteRestartAreaState.cs
- Hyperlink.cs
- BindingCompleteEventArgs.cs
- ConnectionPointGlyph.cs
- datacache.cs
- SoapException.cs
- TemplateXamlTreeBuilder.cs
- ObservableCollection.cs
- BitmapEffectGeneralTransform.cs
- FontSourceCollection.cs
- StringCollectionEditor.cs
- DataReaderContainer.cs
- CommonXSendMessage.cs
- IndicFontClient.cs
- Domain.cs
- SolidColorBrush.cs
- BaseParagraph.cs
- HttpPostedFile.cs
- DataGridCommandEventArgs.cs
- _UriSyntax.cs
- XmlReaderSettings.cs
- FormatterConverter.cs
- StylusButtonEventArgs.cs
- NoneExcludedImageIndexConverter.cs
- WorkflowApplicationAbortedEventArgs.cs
- PersonalizablePropertyEntry.cs
- Size3D.cs
- FileDialog_Vista_Interop.cs
- SqlServices.cs
- ListViewItemMouseHoverEvent.cs
- MenuTracker.cs
- XmlArrayItemAttributes.cs
- ReachPageContentSerializerAsync.cs
- DynamicDocumentPaginator.cs
- Rotation3D.cs
- ColumnClickEvent.cs
- Metadata.cs
- AnimationClock.cs
- OletxVolatileEnlistment.cs
- NetworkInformationPermission.cs
- ExecutionProperties.cs
- TimeSpan.cs
- ForEachAction.cs
- SchemaManager.cs
- SqlUDTStorage.cs
- Debug.cs
- CallTemplateAction.cs
- TaskExceptionHolder.cs
- Route.cs
- DataGridItemCollection.cs
- StrongNameUtility.cs
- ObjectListCommandsPage.cs
- PerformanceCounterManager.cs
- XmlChildNodes.cs
- NetworkAddressChange.cs
- QilDataSource.cs
- PenLineCapValidation.cs
- RegistrySecurity.cs
- MetadataSection.cs
- StandardCommands.cs
- DataServiceRequestOfT.cs
- ScrollProviderWrapper.cs
- PartialCachingAttribute.cs
- ValidationSummary.cs