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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormViewInsertEventArgs.cs
- XmlExpressionDumper.cs
- ScrollItemPattern.cs
- RangeBaseAutomationPeer.cs
- ToolboxItemCollection.cs
- AuthenticateEventArgs.cs
- QualificationDataItem.cs
- SemanticKeyElement.cs
- WebPartCatalogCloseVerb.cs
- EventLogEntry.cs
- SortQueryOperator.cs
- TemplateBindingExpression.cs
- DataSourceControlBuilder.cs
- Item.cs
- InteropBitmapSource.cs
- XsltLibrary.cs
- AnimationTimeline.cs
- TCEAdapterGenerator.cs
- DefaultValidator.cs
- ObjectDataSourceView.cs
- TextSimpleMarkerProperties.cs
- SigningCredentials.cs
- GeneralTransform3DTo2DTo3D.cs
- ConfigXmlReader.cs
- ImageSourceConverter.cs
- ServiceModelExtensionCollectionElement.cs
- WindowsSysHeader.cs
- DesigntimeLicenseContextSerializer.cs
- ExtensionQuery.cs
- ValidatorCompatibilityHelper.cs
- ArrayTypeMismatchException.cs
- UnsignedPublishLicense.cs
- ClassHandlersStore.cs
- SizeF.cs
- GridViewItemAutomationPeer.cs
- AsymmetricSignatureFormatter.cs
- AsyncPostBackTrigger.cs
- Stylus.cs
- ViewStateChangedEventArgs.cs
- XmlHelper.cs
- WebFaultException.cs
- AsyncSerializedWorker.cs
- ProcessHostConfigUtils.cs
- DataGridViewSelectedRowCollection.cs
- Model3D.cs
- CompressStream.cs
- NullableFloatAverageAggregationOperator.cs
- TrustManagerMoreInformation.cs
- LinqDataSourceStatusEventArgs.cs
- ProjectionCamera.cs
- QueryStringParameter.cs
- FragmentQueryKB.cs
- X509Certificate2.cs
- FixedSOMLineRanges.cs
- CqlLexerHelpers.cs
- PropertyInformationCollection.cs
- BaseDataBoundControl.cs
- SoapSchemaMember.cs
- DataColumnMappingCollection.cs
- XamlFigureLengthSerializer.cs
- TraceSwitch.cs
- FormParameter.cs
- RubberbandSelector.cs
- EllipseGeometry.cs
- WSTransactionSection.cs
- TemplatePropertyEntry.cs
- SecuritySessionSecurityTokenProvider.cs
- FilteredXmlReader.cs
- CheckedPointers.cs
- UnsafeNativeMethods.cs
- SqlExpressionNullability.cs
- NavigationExpr.cs
- FieldMetadata.cs
- OleDbErrorCollection.cs
- SystemIPv6InterfaceProperties.cs
- PlainXmlSerializer.cs
- CAGDesigner.cs
- DecoderExceptionFallback.cs
- ProviderManager.cs
- CodeArrayIndexerExpression.cs
- DispatchChannelSink.cs
- CodeCommentStatementCollection.cs
- DataGrid.cs
- DataGridTextBox.cs
- SystemDiagnosticsSection.cs
- ColorInterpolationModeValidation.cs
- Span.cs
- Converter.cs
- DateTimeSerializationSection.cs
- NamespaceQuery.cs
- ApplicationBuildProvider.cs
- _SafeNetHandles.cs
- CodeCompiler.cs
- Internal.cs
- Ref.cs
- InternalCompensate.cs
- CacheAxisQuery.cs
- ClientType.cs
- RectangleF.cs
- Separator.cs