Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartHeaderCloseVerb.cs / 1 / WebPartHeaderCloseVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartHeaderCloseVerb : 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.WebPartHeaderCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartHeaderCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartHeaderCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartHeaderCloseVerb_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 WebPartHeaderCloseVerb : 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.WebPartHeaderCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartHeaderCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartHeaderCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartHeaderCloseVerb_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
- BooleanSwitch.cs
- StrokeDescriptor.cs
- AssemblyAttributesGoHere.cs
- AvTraceFormat.cs
- WhitespaceRuleReader.cs
- SiteMapNodeCollection.cs
- TemplatePropertyEntry.cs
- ResourceAssociationSetEnd.cs
- ColumnHeaderConverter.cs
- PropertyOverridesTypeEditor.cs
- TextDecorationCollection.cs
- CustomErrorsSection.cs
- ResourceExpressionEditorSheet.cs
- WebControlAdapter.cs
- MenuItem.cs
- WebDisplayNameAttribute.cs
- ObjectItemNoOpAssemblyLoader.cs
- PointCollectionValueSerializer.cs
- NavigationWindow.cs
- ContainerSelectorGlyph.cs
- TypeReference.cs
- UInt16Storage.cs
- ServiceChannelFactory.cs
- WebRequestModuleElement.cs
- DocumentApplication.cs
- PropertyEmitterBase.cs
- RSAPKCS1SignatureDeformatter.cs
- DispatcherObject.cs
- NavigationHelper.cs
- DefaultPropertyAttribute.cs
- UnsafeNativeMethods.cs
- ByteConverter.cs
- EarlyBoundInfo.cs
- TypeBuilderInstantiation.cs
- SerializationFieldInfo.cs
- WebPartZoneDesigner.cs
- BuildManagerHost.cs
- AssemblyHash.cs
- CaseInsensitiveHashCodeProvider.cs
- StaticTextPointer.cs
- BinaryObjectInfo.cs
- SoapAttributeAttribute.cs
- InputLanguage.cs
- StringFunctions.cs
- ResourceExpressionBuilder.cs
- InstanceOwnerQueryResult.cs
- NavigationPropertyEmitter.cs
- DataBindingHandlerAttribute.cs
- TryExpression.cs
- FormsAuthenticationTicket.cs
- SmiTypedGetterSetter.cs
- TextSpanModifier.cs
- HttpWriter.cs
- ImageClickEventArgs.cs
- MatrixStack.cs
- BamlTreeMap.cs
- BaseDataBoundControl.cs
- control.ime.cs
- XmlSchemaAppInfo.cs
- CodeCatchClauseCollection.cs
- ShaperBuffers.cs
- basevalidator.cs
- TypeConvertions.cs
- ToolStripManager.cs
- PartialArray.cs
- LayoutUtils.cs
- CodeRegionDirective.cs
- QueryModel.cs
- Keywords.cs
- Document.cs
- MsmqInputChannelListener.cs
- CompilerErrorCollection.cs
- LayoutUtils.cs
- OnOperation.cs
- BitmapEncoder.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- ScrollChrome.cs
- ToolboxComponentsCreatingEventArgs.cs
- BaseEntityWrapper.cs
- ConstructorExpr.cs
- XmlSchemaValidator.cs
- ReflectPropertyDescriptor.cs
- HtmlInputFile.cs
- CLSCompliantAttribute.cs
- MenuItem.cs
- SequenceDesigner.xaml.cs
- sortedlist.cs
- ProfileEventArgs.cs
- InfoCardCryptoHelper.cs
- ViewCellSlot.cs
- ConfigurationManagerHelper.cs
- DrawingServices.cs
- AttributeCollection.cs
- Native.cs
- AddingNewEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- XmlHierarchyData.cs
- TreeNodeBindingCollection.cs
- SettingsSection.cs
- PeerCustomResolverElement.cs