Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartCatalogAddVerb.cs / 1305376 / 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; } } } } // 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 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; } } } } // 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
- HitTestParameters.cs
- control.ime.cs
- documentation.cs
- _SslStream.cs
- GroupDescription.cs
- BaseParaClient.cs
- AsyncResult.cs
- OLEDB_Enum.cs
- DataSourceHelper.cs
- AutomationAttributeInfo.cs
- LineServices.cs
- SchemaType.cs
- ServiceEndpointAssociationProvider.cs
- SettingsPropertyCollection.cs
- HtmlSelect.cs
- MethodExpr.cs
- formatter.cs
- NonBatchDirectoryCompiler.cs
- UnknownWrapper.cs
- MatrixCamera.cs
- RuntimeCompatibilityAttribute.cs
- LinkClickEvent.cs
- OdbcConnectionOpen.cs
- EntityTypeEmitter.cs
- DataTableTypeConverter.cs
- AutoResetEvent.cs
- Tablet.cs
- ResourceContainer.cs
- ZipPackagePart.cs
- PerfCounters.cs
- _ShellExpression.cs
- SpStreamWrapper.cs
- WebServiceClientProxyGenerator.cs
- SystemException.cs
- Win32Exception.cs
- InvalidComObjectException.cs
- WindowsListViewGroupSubsetLink.cs
- WindowsEditBoxRange.cs
- Nullable.cs
- DbProviderFactory.cs
- Int64.cs
- CharEntityEncoderFallback.cs
- FormView.cs
- ErrorStyle.cs
- EventRecord.cs
- CopyNodeSetAction.cs
- SevenBitStream.cs
- ResolveMatchesApril2005.cs
- Renderer.cs
- FixedTextPointer.cs
- SiteMapNodeItem.cs
- BindingValueChangedEventArgs.cs
- ClientTargetSection.cs
- FixedNode.cs
- OdbcParameterCollection.cs
- CursorConverter.cs
- CheckBoxBaseAdapter.cs
- Int64AnimationUsingKeyFrames.cs
- SoapFormatter.cs
- LockCookie.cs
- SqlCacheDependencyDatabaseCollection.cs
- OleDbStruct.cs
- GenericTypeParameterBuilder.cs
- DotExpr.cs
- FirstMatchCodeGroup.cs
- KnownColorTable.cs
- CodeCatchClause.cs
- Parallel.cs
- WorkflowViewManager.cs
- HelloOperation11AsyncResult.cs
- NonParentingControl.cs
- EntityModelSchemaGenerator.cs
- MarginsConverter.cs
- Point3DCollectionValueSerializer.cs
- AuthenticationModuleElementCollection.cs
- CancelEventArgs.cs
- SchemaManager.cs
- WebPartDescriptionCollection.cs
- ExpandCollapsePattern.cs
- Point3DAnimation.cs
- XmlSchemaSequence.cs
- TraceUtils.cs
- RtfFormatStack.cs
- NumericUpDownAcceleration.cs
- PropertyDescriptorCollection.cs
- BufferedWebEventProvider.cs
- GridView.cs
- COM2PropertyBuilderUITypeEditor.cs
- QuadraticBezierSegment.cs
- StateDesigner.CommentLayoutGlyph.cs
- RevocationPoint.cs
- AppSettingsSection.cs
- HMACRIPEMD160.cs
- SlipBehavior.cs
- QilInvokeLateBound.cs
- DropTarget.cs
- StreamMarshaler.cs
- DataBoundControlAdapter.cs
- DbBuffer.cs
- ThemeDictionaryExtension.cs