Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartHeaderCloseVerb.cs / 1305376 / 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
- ValueQuery.cs
- Transaction.cs
- CompositeDuplexBindingElement.cs
- ApplicationFileCodeDomTreeGenerator.cs
- FlagsAttribute.cs
- UIHelper.cs
- XmlCountingReader.cs
- ISO2022Encoding.cs
- BrowserCapabilitiesCompiler.cs
- WizardStepBase.cs
- TextServicesPropertyRanges.cs
- NameTable.cs
- HighlightComponent.cs
- MouseOverProperty.cs
- Camera.cs
- JumpPath.cs
- LinearGradientBrush.cs
- StringUtil.cs
- RuleSetCollection.cs
- Stacktrace.cs
- InfoCardXmlSerializer.cs
- BooleanAnimationBase.cs
- XmlName.cs
- CodeAssignStatement.cs
- XPathSelectionIterator.cs
- TypeUnloadedException.cs
- Material.cs
- EdmFunction.cs
- ObfuscationAttribute.cs
- XmlAttributes.cs
- TdsParserStaticMethods.cs
- ParameterReplacerVisitor.cs
- XamlStream.cs
- DataChangedEventManager.cs
- WebHttpEndpointElement.cs
- QueryComponents.cs
- StrokeFIndices.cs
- StatusBarItemAutomationPeer.cs
- RegistrySecurity.cs
- _NestedSingleAsyncResult.cs
- StylusDevice.cs
- SchemaMapping.cs
- ToolStripGrip.cs
- OperationResponse.cs
- MessageDesigner.cs
- TextServicesPropertyRanges.cs
- Vector3DAnimationUsingKeyFrames.cs
- ScriptingSectionGroup.cs
- ArrayExtension.cs
- TypedAsyncResult.cs
- ProcessModule.cs
- NotImplementedException.cs
- RegexMatch.cs
- ReliableMessagingVersionConverter.cs
- ItemAutomationPeer.cs
- Int16.cs
- SoapAttributeOverrides.cs
- ChameleonKey.cs
- LogReserveAndAppendState.cs
- Substitution.cs
- BasicExpandProvider.cs
- DrawingContextWalker.cs
- XhtmlMobileTextWriter.cs
- MetadataProperty.cs
- Debug.cs
- ToolStripItemImageRenderEventArgs.cs
- FrameworkName.cs
- XmlNamespaceManager.cs
- OleDbConnection.cs
- ConfigurationElementProperty.cs
- AnimatedTypeHelpers.cs
- ExtenderControl.cs
- MessagePropertyAttribute.cs
- ToolStripGripRenderEventArgs.cs
- TypeConverterAttribute.cs
- _UriTypeConverter.cs
- EnumMemberAttribute.cs
- DataTemplate.cs
- webclient.cs
- InvalidOleVariantTypeException.cs
- processwaithandle.cs
- Type.cs
- GeneratedContractType.cs
- Bezier.cs
- ObjectSecurity.cs
- DynamicRendererThreadManager.cs
- ParenExpr.cs
- ImageSource.cs
- TableCellCollection.cs
- DataBindingList.cs
- PerformanceCounterManager.cs
- ProxyHwnd.cs
- TransformGroup.cs
- ToolConsole.cs
- ScriptReferenceBase.cs
- HitTestWithPointDrawingContextWalker.cs
- ModuleElement.cs
- ExcCanonicalXml.cs
- MessageBox.cs
- HwndSourceKeyboardInputSite.cs