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
- DoubleIndependentAnimationStorage.cs
- TemplateXamlParser.cs
- ObjectDataSourceEventArgs.cs
- ExpandedWrapper.cs
- CallSiteBinder.cs
- ClientProxyGenerator.cs
- TokenBasedSetEnumerator.cs
- RegexCharClass.cs
- X509SecurityToken.cs
- NotifyIcon.cs
- UriExt.cs
- ExpressionBuilderCollection.cs
- TextRangeProviderWrapper.cs
- RuleSet.cs
- RoamingStoreFile.cs
- CompositeFontParser.cs
- SvcMapFileLoader.cs
- RowToParametersTransformer.cs
- ApplicationId.cs
- WebBrowserBase.cs
- IgnoreDataMemberAttribute.cs
- SiteMapDataSourceView.cs
- RenderingBiasValidation.cs
- DetailsViewRow.cs
- NamedPipeAppDomainProtocolHandler.cs
- SymbolEqualComparer.cs
- DocumentApplicationJournalEntry.cs
- ValidationResults.cs
- TextParaLineResult.cs
- TreeNodeCollectionEditor.cs
- Mouse.cs
- SqlClientWrapperSmiStream.cs
- FileDialogCustomPlace.cs
- BaseAddressPrefixFilterElement.cs
- PackagePartCollection.cs
- DetailsViewModeEventArgs.cs
- SrgsText.cs
- FontCacheUtil.cs
- ExtensionQuery.cs
- TypeSource.cs
- WorkerRequest.cs
- ConfigurationElementCollection.cs
- AvTraceFormat.cs
- WindowsScrollBarBits.cs
- LoginDesignerUtil.cs
- DiagnosticsConfigurationHandler.cs
- ServiceBusyException.cs
- OleDbConnectionInternal.cs
- COM2IDispatchConverter.cs
- SafeEventLogReadHandle.cs
- RuleInfoComparer.cs
- WCFServiceClientProxyGenerator.cs
- AppDomainUnloadedException.cs
- XPathExpr.cs
- ResourcePermissionBase.cs
- IDReferencePropertyAttribute.cs
- Lease.cs
- RoleService.cs
- InvalidCastException.cs
- DataGridItemCollection.cs
- DashStyle.cs
- HwndHostAutomationPeer.cs
- FastPropertyAccessor.cs
- Oci.cs
- CustomLineCap.cs
- StrokeSerializer.cs
- XmlILCommand.cs
- ADConnectionHelper.cs
- DbProviderSpecificTypePropertyAttribute.cs
- PopupRootAutomationPeer.cs
- _FtpDataStream.cs
- ToolStripSystemRenderer.cs
- FacetEnabledSchemaElement.cs
- Graph.cs
- EntityDataSourceChangedEventArgs.cs
- NextPreviousPagerField.cs
- ObjectConverter.cs
- DataGridClipboardCellContent.cs
- WarningException.cs
- PipeSecurity.cs
- BadImageFormatException.cs
- CodeCatchClause.cs
- DesignerHost.cs
- Message.cs
- XamlToRtfWriter.cs
- WindowsTreeView.cs
- storepermissionattribute.cs
- FormsAuthenticationTicket.cs
- SecurityException.cs
- UrlAuthFailedErrorFormatter.cs
- BindableAttribute.cs
- AssemblyBuilder.cs
- ObjectListField.cs
- TCPClient.cs
- HttpHandlerAction.cs
- StylusLogic.cs
- LocationUpdates.cs
- Char.cs
- PagesSection.cs
- ResourceDisplayNameAttribute.cs