Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / WebSysDisplayNameAttribute.cs / 1 / WebSysDisplayNameAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DisplayNameAttribute marks a property, event, or extender with a /// DisplayName. Visual designers can display this DisplayName when referencing /// the member. /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class)] internal sealed class WebSysDisplayNameAttribute : DisplayNameAttribute { private bool replaced; ////// internal WebSysDisplayNameAttribute(string DisplayName) : base(DisplayName) { } ///Constructs a new sys DisplayName. ////// public override string DisplayName { get { if (!replaced) { replaced = true; DisplayNameValue = SR.GetString(base.DisplayName); } return base.DisplayName; } } public override object TypeId { get { return typeof(DisplayNameAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Retrieves the DisplayName text. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CroppedBitmap.cs
- NameValueSectionHandler.cs
- DynamicDocumentPaginator.cs
- DataGridViewButtonColumn.cs
- FreezableCollection.cs
- GenerateTemporaryAssemblyTask.cs
- PnrpPeerResolver.cs
- Vector3D.cs
- PermissionRequestEvidence.cs
- LayoutEvent.cs
- UniformGrid.cs
- WorkflowTransactionService.cs
- SoapEnumAttribute.cs
- PenCursorManager.cs
- DbConnectionPoolOptions.cs
- RenderOptions.cs
- InputReportEventArgs.cs
- NavigationService.cs
- RegionIterator.cs
- PropertyChangingEventArgs.cs
- TableItemStyle.cs
- LayoutManager.cs
- SqlNode.cs
- Graph.cs
- AtomMaterializerLog.cs
- NetworkInformationPermission.cs
- ConditionChanges.cs
- Exception.cs
- _IPv6Address.cs
- Geometry.cs
- SignatureDescription.cs
- RuleRef.cs
- HostDesigntimeLicenseContext.cs
- FtpRequestCacheValidator.cs
- SqlWebEventProvider.cs
- WorkflowInstanceExtensionCollection.cs
- UIAgentMonitorHandle.cs
- LookupNode.cs
- ClipboardProcessor.cs
- ResXDataNode.cs
- TargetConverter.cs
- ColorConvertedBitmapExtension.cs
- GridToolTip.cs
- ReceiveParametersContent.cs
- CriticalExceptions.cs
- WebSysDisplayNameAttribute.cs
- TagPrefixCollection.cs
- CoTaskMemHandle.cs
- Console.cs
- WinFormsSpinner.cs
- MethodBuilder.cs
- HtmlString.cs
- RuntimeConfig.cs
- GradientStopCollection.cs
- PasswordPropertyTextAttribute.cs
- ZipIORawDataFileBlock.cs
- LambdaCompiler.Statements.cs
- _TLSstream.cs
- ImpersonationContext.cs
- DetailsViewPageEventArgs.cs
- DecimalKeyFrameCollection.cs
- GlobalizationSection.cs
- BinaryFormatterSinks.cs
- ExceptionHandlerDesigner.cs
- MenuScrollingVisibilityConverter.cs
- pingexception.cs
- ImageField.cs
- QueryValue.cs
- SignedXml.cs
- TransformerConfigurationWizardBase.cs
- StylusPointProperties.cs
- IsolatedStoragePermission.cs
- EmptyImpersonationContext.cs
- CachedBitmap.cs
- ScrollBarRenderer.cs
- FolderBrowserDialogDesigner.cs
- TreeViewHitTestInfo.cs
- COM2ColorConverter.cs
- HttpHandlerAction.cs
- BindingObserver.cs
- WindowsFormsSectionHandler.cs
- SkipStoryboardToFill.cs
- NopReturnReader.cs
- InkCanvasInnerCanvas.cs
- HttpBrowserCapabilitiesWrapper.cs
- baseaxisquery.cs
- ResourceContainer.cs
- TrackingStringDictionary.cs
- ProviderSettings.cs
- HandledMouseEvent.cs
- ToolStripDropDownMenu.cs
- Form.cs
- RuntimeConfigLKG.cs
- CompiledQueryCacheKey.cs
- XmlTextEncoder.cs
- TemplateBindingExpression.cs
- Latin1Encoding.cs
- TreeChangeInfo.cs
- UnsafeNativeMethods.cs
- NotifyIcon.cs