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
- TdsParserStaticMethods.cs
- xsdvalidator.cs
- SqlCommand.cs
- WCFModelStrings.Designer.cs
- GroupQuery.cs
- SecurityTokenProvider.cs
- BaseAddressPrefixFilterElement.cs
- EnterpriseServicesHelper.cs
- WebPartConnectionsCancelVerb.cs
- MaterialGroup.cs
- Internal.cs
- SharedStatics.cs
- DescendentsWalker.cs
- MenuAdapter.cs
- DecoderFallbackWithFailureFlag.cs
- TextFormatter.cs
- HtmlHead.cs
- ParameterCollection.cs
- _NegotiateClient.cs
- DateTimeValueSerializerContext.cs
- VisualProxy.cs
- ExternalException.cs
- Substitution.cs
- KeyMatchBuilder.cs
- ArraySegment.cs
- ExtensionWindow.cs
- MobileUserControlDesigner.cs
- CodeVariableDeclarationStatement.cs
- EntityWrapper.cs
- SvcMapFileSerializer.cs
- CategoryNameCollection.cs
- TypeConverterHelper.cs
- ResourceDictionary.cs
- XmlEncodedRawTextWriter.cs
- ControlParameter.cs
- ImageBrush.cs
- XamlClipboardData.cs
- SqlFlattener.cs
- __Error.cs
- TypeNameConverter.cs
- TaiwanLunisolarCalendar.cs
- XmlElementElementCollection.cs
- GACMembershipCondition.cs
- DataSourceControlBuilder.cs
- LightweightCodeGenerator.cs
- XmlCharCheckingWriter.cs
- DocumentApplication.cs
- RequestCacheManager.cs
- HttpListenerRequest.cs
- StaticResourceExtension.cs
- TargetControlTypeAttribute.cs
- UnmanagedMarshal.cs
- XmlSchemaInferenceException.cs
- JavascriptCallbackResponseProperty.cs
- IPAddress.cs
- AxisAngleRotation3D.cs
- ZoneButton.cs
- GuidConverter.cs
- StylusLogic.cs
- SurrogateEncoder.cs
- DependencyPropertyKey.cs
- TcpSocketManager.cs
- SystemIPv6InterfaceProperties.cs
- TextEditorTables.cs
- TextLine.cs
- CharacterBuffer.cs
- CreatingCookieEventArgs.cs
- SoapMessage.cs
- HashCodeCombiner.cs
- webproxy.cs
- FontInfo.cs
- DesignerSerializationOptionsAttribute.cs
- UInt32.cs
- PropertyInformationCollection.cs
- ConfigurationStrings.cs
- AsmxEndpointPickerExtension.cs
- DynamicPhysicalDiscoSearcher.cs
- IssuedTokenParametersEndpointAddressElement.cs
- WindowsTitleBar.cs
- Highlights.cs
- CheckBox.cs
- CompoundFileReference.cs
- DrawingVisualDrawingContext.cs
- OrderPreservingPipeliningMergeHelper.cs
- DataGridViewEditingControlShowingEventArgs.cs
- SerTrace.cs
- CatalogZoneBase.cs
- ListViewGroup.cs
- DocumentViewerHelper.cs
- SiteMapProvider.cs
- TextContainerChangeEventArgs.cs
- X509Utils.cs
- Relationship.cs
- SoapMessage.cs
- CollectionViewGroupInternal.cs
- Enum.cs
- InternalCache.cs
- ModuleBuilderData.cs
- DeclarativeCatalogPartDesigner.cs
- KeyValueConfigurationCollection.cs