Code:
/ DotNET / DotNET / 8.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
- VectorCollectionValueSerializer.cs
- SpeechSynthesizer.cs
- _DisconnectOverlappedAsyncResult.cs
- KeySpline.cs
- SafeReadContext.cs
- VisemeEventArgs.cs
- LinqDataSourceDisposeEventArgs.cs
- KeyGestureConverter.cs
- IPEndPoint.cs
- InvalidBodyAccessException.cs
- DocumentXmlWriter.cs
- EventMap.cs
- DocumentAutomationPeer.cs
- HttpDebugHandler.cs
- DoneReceivingAsyncResult.cs
- TextMetrics.cs
- UIElement3D.cs
- TextRangeEditTables.cs
- MetadataItemEmitter.cs
- XmlRawWriter.cs
- Region.cs
- SoapServerMessage.cs
- Style.cs
- MultiBinding.cs
- DrawingGroup.cs
- PeerUnsafeNativeCryptMethods.cs
- InvalidFilterCriteriaException.cs
- AuthenticatingEventArgs.cs
- ScrollProperties.cs
- ActivityPreviewDesigner.cs
- Interlocked.cs
- GeneralTransformGroup.cs
- DbParameterCollectionHelper.cs
- XmlCompatibilityReader.cs
- DBConnectionString.cs
- XPathArrayIterator.cs
- ContractMapping.cs
- PropVariant.cs
- PropertyChangingEventArgs.cs
- OleDbEnumerator.cs
- DataTableClearEvent.cs
- ValidationPropertyAttribute.cs
- CloseCryptoHandleRequest.cs
- HostingPreferredMapPath.cs
- UInt16.cs
- SqlTopReducer.cs
- AnnotationResourceCollection.cs
- BadImageFormatException.cs
- MethodImplAttribute.cs
- ByteAnimationBase.cs
- ToolStripDropDownClosedEventArgs.cs
- PartitionResolver.cs
- EntitySetBase.cs
- LoginUtil.cs
- TraceRecords.cs
- BehaviorService.cs
- TextInfo.cs
- OverlappedAsyncResult.cs
- Zone.cs
- DataListItemCollection.cs
- NullableIntMinMaxAggregationOperator.cs
- FunctionImportElement.cs
- PublisherMembershipCondition.cs
- DSACryptoServiceProvider.cs
- HotSpotCollection.cs
- Timer.cs
- Int32.cs
- ServiceMetadataContractBehavior.cs
- DataServiceCollectionOfT.cs
- ComAdminInterfaces.cs
- ChannelManagerHelpers.cs
- Mouse.cs
- QueryContinueDragEvent.cs
- GB18030Encoding.cs
- OperationAbortedException.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- _ListenerAsyncResult.cs
- FileBasedResourceGroveler.cs
- Encoder.cs
- FixedSOMContainer.cs
- BlurBitmapEffect.cs
- ColumnPropertiesGroup.cs
- OdbcParameterCollection.cs
- PropertyConverter.cs
- EventSourceCreationData.cs
- HttpConfigurationContext.cs
- AggregationMinMaxHelpers.cs
- PrivilegeNotHeldException.cs
- ZipIOLocalFileBlock.cs
- validation.cs
- ParameterElement.cs
- DmlSqlGenerator.cs
- _HeaderInfoTable.cs
- Merger.cs
- ClientRequest.cs
- IsolatedStorageException.cs
- CheckBoxStandardAdapter.cs
- ThreadStaticAttribute.cs
- TextFormatter.cs
- LOSFormatter.cs