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
- ObjectComplexPropertyMapping.cs
- AssemblyBuilder.cs
- Win32Native.cs
- CompoundFileDeflateTransform.cs
- ProfileProvider.cs
- TableDesigner.cs
- Control.cs
- XMLSchema.cs
- versioninfo.cs
- SspiHelper.cs
- XamlToRtfWriter.cs
- DataGridPageChangedEventArgs.cs
- DataSourceConverter.cs
- FastPropertyAccessor.cs
- SchemaDeclBase.cs
- ImmutableObjectAttribute.cs
- TreeChangeInfo.cs
- InvalidAsynchronousStateException.cs
- TimeSpanSecondsConverter.cs
- InkCanvasSelection.cs
- StoryFragments.cs
- SessionState.cs
- ListViewUpdatedEventArgs.cs
- SemanticBasicElement.cs
- CompiledIdentityConstraint.cs
- Trace.cs
- Span.cs
- OuterGlowBitmapEffect.cs
- DrawingContextDrawingContextWalker.cs
- ExpressionReplacer.cs
- MarkupExtensionParser.cs
- StrokeNode.cs
- AssociationEndMember.cs
- DrawingContextWalker.cs
- Figure.cs
- TimeBoundedCache.cs
- PropertyChangedEventArgs.cs
- DataSysAttribute.cs
- TransportOutputChannel.cs
- ToolStripDropTargetManager.cs
- SecurityMode.cs
- ClientSettingsStore.cs
- PhysicalOps.cs
- RequestCachingSection.cs
- AdjustableArrowCap.cs
- XamlFilter.cs
- MessageBodyMemberAttribute.cs
- PenThreadWorker.cs
- OutputCache.cs
- TreeWalkHelper.cs
- ConnectionsZone.cs
- ValidatorAttribute.cs
- QuaternionAnimationUsingKeyFrames.cs
- WsatServiceAddress.cs
- NonPrimarySelectionGlyph.cs
- EntityDataSourceStatementEditor.cs
- CustomError.cs
- WinEventQueueItem.cs
- WindowsGraphics.cs
- ListControlDesigner.cs
- APCustomTypeDescriptor.cs
- MsmqChannelFactory.cs
- XmlSchemaInfo.cs
- DecoderNLS.cs
- unsafeIndexingFilterStream.cs
- CommandManager.cs
- DesignerTransaction.cs
- ExpressionVisitorHelpers.cs
- PageThemeParser.cs
- ArraySubsetEnumerator.cs
- ColorTranslator.cs
- BindingManagerDataErrorEventArgs.cs
- MethodToken.cs
- XmlSchemas.cs
- DataGridItem.cs
- ListViewCommandEventArgs.cs
- QuinticEase.cs
- ByeMessageApril2005.cs
- AutoCompleteStringCollection.cs
- DescendantQuery.cs
- FamilyMap.cs
- SymDocumentType.cs
- ServiceModelConfigurationSectionCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- ToolStripCustomTypeDescriptor.cs
- DynamicValidatorEventArgs.cs
- HotCommands.cs
- TreeViewImageIndexConverter.cs
- FlowDocumentPaginator.cs
- sqlcontext.cs
- LoginDesignerUtil.cs
- SerializationException.cs
- dsa.cs
- SplitContainer.cs
- DataRow.cs
- UrlUtility.cs
- UTF8Encoding.cs
- EnumBuilder.cs
- Query.cs
- Panel.cs