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
- GcHandle.cs
- DescendentsWalker.cs
- SqlBooleanizer.cs
- GenericEnumerator.cs
- FtpRequestCacheValidator.cs
- TemplatePagerField.cs
- SortDescription.cs
- JpegBitmapDecoder.cs
- SHA1CryptoServiceProvider.cs
- NGCSerializer.cs
- UrlParameterReader.cs
- CheckBoxField.cs
- WindowsRichEditRange.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ProfessionalColors.cs
- SharedUtils.cs
- CollaborationHelperFunctions.cs
- ExtenderHelpers.cs
- FormViewPagerRow.cs
- DataRecord.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- GenericWebPart.cs
- FixUp.cs
- PolyQuadraticBezierSegment.cs
- CellCreator.cs
- Set.cs
- SerializationAttributes.cs
- CharacterHit.cs
- DispatcherHookEventArgs.cs
- MsdtcWrapper.cs
- WebPartConnectionCollection.cs
- ColorContext.cs
- MetadataHelper.cs
- PathGradientBrush.cs
- ValidatorCompatibilityHelper.cs
- AmbiguousMatchException.cs
- Logging.cs
- PcmConverter.cs
- WebBrowserUriTypeConverter.cs
- CaseExpr.cs
- ListItemViewAttribute.cs
- InvokeMethod.cs
- XXXOnTypeBuilderInstantiation.cs
- RSAPKCS1KeyExchangeFormatter.cs
- RegexFCD.cs
- HtmlInputCheckBox.cs
- OleDbCommand.cs
- DbConnectionPoolOptions.cs
- UpdatableWrapper.cs
- Cursors.cs
- XmlSchemaExternal.cs
- QueryOperatorEnumerator.cs
- HierarchicalDataBoundControl.cs
- ProcessHostMapPath.cs
- EventProviderBase.cs
- DESCryptoServiceProvider.cs
- SafeThreadHandle.cs
- UpdatableWrapper.cs
- OdbcDataReader.cs
- HMACSHA512.cs
- BufferedWebEventProvider.cs
- ReadWriteSpinLock.cs
- TextServicesPropertyRanges.cs
- xsdvalidator.cs
- DetailsViewModeEventArgs.cs
- ExpressionPrefixAttribute.cs
- FocusManager.cs
- FieldMetadata.cs
- MarkupObject.cs
- FixedSOMPage.cs
- DtrList.cs
- ObjectReaderCompiler.cs
- RegexGroupCollection.cs
- JournalNavigationScope.cs
- StoreContentChangedEventArgs.cs
- SoapIgnoreAttribute.cs
- WebBaseEventKeyComparer.cs
- WorkflowServiceNamespace.cs
- EntityClassGenerator.cs
- WebPartCloseVerb.cs
- PrePostDescendentsWalker.cs
- TabItemAutomationPeer.cs
- CodeValidator.cs
- LoginCancelEventArgs.cs
- ConfigurationManagerInternalFactory.cs
- MenuBase.cs
- TextRunCache.cs
- RC2CryptoServiceProvider.cs
- SystemWebExtensionsSectionGroup.cs
- DataGrid.cs
- OptimalTextSource.cs
- DataControlReferenceCollection.cs
- SiteOfOriginContainer.cs
- OracleException.cs
- PersonalizablePropertyEntry.cs
- ConfigurationValidatorBase.cs
- ReliableSessionBindingElement.cs
- COAUTHINFO.cs
- XmlRootAttribute.cs
- DataPagerFieldCollection.cs