Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / DefaultBindingPropertyAttribute.cs / 1305376 / DefaultBindingPropertyAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.Diagnostics; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] public sealed class DefaultBindingPropertyAttribute : Attribute { private readonly string name; ///Specifies the default binding property for a component. ////// public DefaultBindingPropertyAttribute() { this.name = null; } ////// Initializes a new instance of /// the ///class. /// /// public DefaultBindingPropertyAttribute(string name) { this.name = name; } ////// Initializes a new instance of /// the ///class. /// /// public string Name { get { return name; } } ////// Gets the name of the default binding property for the component this attribute is /// bound to. /// ////// public static readonly DefaultBindingPropertyAttribute Default = new DefaultBindingPropertyAttribute(); public override bool Equals(object obj) { DefaultBindingPropertyAttribute other = obj as DefaultBindingPropertyAttribute; return other != null && other.Name == name; } public override int GetHashCode() { return base.GetHashCode(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Specifies the default value for the ///, which is . This /// field is read-only. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompositeControl.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- ComponentResourceManager.cs
- WCFBuildProvider.cs
- Exceptions.cs
- _SafeNetHandles.cs
- LineGeometry.cs
- SmiContext.cs
- ColumnMap.cs
- SmtpLoginAuthenticationModule.cs
- QilChoice.cs
- DateTimeSerializationSection.cs
- DependencyPropertyValueSerializer.cs
- X509ClientCertificateAuthentication.cs
- StrokeNode.cs
- DecoderExceptionFallback.cs
- DoubleConverter.cs
- EntityContainerAssociationSet.cs
- DSASignatureFormatter.cs
- SchemaCollectionPreprocessor.cs
- SafeEventHandle.cs
- StylusPointPropertyInfo.cs
- TemplateKey.cs
- TypeLoadException.cs
- WindowsTitleBar.cs
- ReadOnlyCollection.cs
- Condition.cs
- CalloutQueueItem.cs
- WebPartDescriptionCollection.cs
- NameValuePair.cs
- EncryptedKey.cs
- MenuItemBindingCollection.cs
- versioninfo.cs
- MetabaseServerConfig.cs
- BasePattern.cs
- VarRefManager.cs
- DataTable.cs
- TextDecorationLocationValidation.cs
- AtlasWeb.Designer.cs
- fixedPageContentExtractor.cs
- DbExpressionVisitor_TResultType.cs
- BuildProviderUtils.cs
- uribuilder.cs
- Compress.cs
- ListViewPagedDataSource.cs
- XmlNullResolver.cs
- Graphics.cs
- WebPart.cs
- SessionStateModule.cs
- EndpointDiscoveryElement.cs
- WebBrowserProgressChangedEventHandler.cs
- CodeDOMUtility.cs
- InstanceHandleConflictException.cs
- SQLGuid.cs
- NewArray.cs
- EventsTab.cs
- WebRequest.cs
- GridViewRowEventArgs.cs
- ImpersonationContext.cs
- COAUTHIDENTITY.cs
- ProfilePropertyMetadata.cs
- NoneExcludedImageIndexConverter.cs
- XmlSchemaValidator.cs
- ChannelServices.cs
- Monitor.cs
- ResourcesBuildProvider.cs
- SoapAttributeOverrides.cs
- figurelength.cs
- PassportAuthentication.cs
- TreeBuilder.cs
- ByteStack.cs
- ConditionalAttribute.cs
- RefExpr.cs
- DBCommandBuilder.cs
- WindowsListViewGroupHelper.cs
- SerialPinChanges.cs
- TypeForwardedToAttribute.cs
- ConfigurationManagerInternalFactory.cs
- HandlerFactoryWrapper.cs
- DeclarativeCatalogPart.cs
- SimpleHandlerBuildProvider.cs
- Light.cs
- XmlDataContract.cs
- ConfigsHelper.cs
- DataGridViewButtonColumn.cs
- PageParser.cs
- SecureUICommand.cs
- X509CertificateChain.cs
- SafeIUnknown.cs
- DesignerSerializationOptionsAttribute.cs
- XmlMemberMapping.cs
- ClientSideQueueItem.cs
- GestureRecognizer.cs
- OutputCacheModule.cs
- SettingsBase.cs
- FontStyleConverter.cs
- WebPartConnectVerb.cs
- Propagator.JoinPropagator.cs
- ServiceHttpModule.cs
- CultureMapper.cs