Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartCatalogCloseVerb.cs / 1 / WebPartCatalogCloseVerb.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls.WebParts {
using System;
internal sealed class WebPartCatalogCloseVerb : 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.WebPartCatalogCloseVerb_Description)
]
public override string Description {
get {
object o = ViewState["Description"];
return (o == null) ? SR.GetString(SR.WebPartCatalogCloseVerb_Description) : (string)o;
}
set {
ViewState["Description"] = value;
}
}
[
WebSysDefaultValue(SR.WebPartCatalogCloseVerb_Text)
]
public override string Text {
get {
object o = ViewState["Text"];
return (o == null) ? SR.GetString(SR.WebPartCatalogCloseVerb_Text) : (string)o;
}
set {
ViewState["Text"] = value;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImageEditor.cs
- StorageConditionPropertyMapping.cs
- CloseSequence.cs
- TypeConverterMarkupExtension.cs
- Missing.cs
- AuthenticatedStream.cs
- DbDataSourceEnumerator.cs
- WebCategoryAttribute.cs
- TaskCanceledException.cs
- IntSecurity.cs
- EpmSourceTree.cs
- ThousandthOfEmRealDoubles.cs
- AutomationElementCollection.cs
- CurrencyManager.cs
- ConfigXmlWhitespace.cs
- DbQueryCommandTree.cs
- ColumnPropertiesGroup.cs
- ExpressionConverter.cs
- HttpClientCertificate.cs
- NativeMethods.cs
- DrawingState.cs
- SchemaConstraints.cs
- FileUtil.cs
- SimpleApplicationHost.cs
- DataListCommandEventArgs.cs
- CodeSubDirectoriesCollection.cs
- SymbolMethod.cs
- Claim.cs
- Ref.cs
- Rule.cs
- DispatcherExceptionEventArgs.cs
- DataBindingExpressionBuilder.cs
- VerificationException.cs
- ProcessModelInfo.cs
- IImplicitResourceProvider.cs
- TreeViewHitTestInfo.cs
- Thumb.cs
- LoadWorkflowCommand.cs
- CodeNamespaceCollection.cs
- SkinBuilder.cs
- WebExceptionStatus.cs
- NetCodeGroup.cs
- ReadOnlyPropertyMetadata.cs
- IdnMapping.cs
- FormsAuthenticationEventArgs.cs
- PersonalizationState.cs
- XsltLoader.cs
- KeyNotFoundException.cs
- SecondaryIndex.cs
- SelectionService.cs
- MethodMessage.cs
- ResourceCategoryAttribute.cs
- EventLogSession.cs
- ProcessThread.cs
- XmlSchemaSimpleTypeList.cs
- ReturnType.cs
- RectangleF.cs
- XmlElementCollection.cs
- TextElementCollectionHelper.cs
- MobileTemplatedControlDesigner.cs
- EncryptedHeader.cs
- Rect3D.cs
- Border.cs
- DataControlField.cs
- StrokeNodeOperations.cs
- OleDbSchemaGuid.cs
- BinaryEditor.cs
- UndoEngine.cs
- VerificationAttribute.cs
- PassportAuthenticationEventArgs.cs
- SQLCharsStorage.cs
- ZipPackagePart.cs
- ExpressionBindings.cs
- Native.cs
- HttpCachePolicy.cs
- XmlNamespaceManager.cs
- HandleCollector.cs
- Latin1Encoding.cs
- WebPartExportVerb.cs
- UIElement3D.cs
- ArgumentException.cs
- TrustManagerMoreInformation.cs
- DiscoveryService.cs
- TimeIntervalCollection.cs
- Listbox.cs
- Debug.cs
- LockCookie.cs
- ScriptReferenceBase.cs
- XmlLanguageConverter.cs
- XmlDataSourceNodeDescriptor.cs
- BinaryMethodMessage.cs
- TextEditor.cs
- ModulesEntry.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TrackingStringDictionary.cs
- sitestring.cs
- VisualCollection.cs
- _HeaderInfoTable.cs
- WeakEventTable.cs
- OSEnvironmentHelper.cs