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
- ContentTypeSettingClientMessageFormatter.cs
- EncoderFallback.cs
- DataBoundControl.cs
- Graph.cs
- XmlObjectSerializerContext.cs
- SqlDataSourceView.cs
- StaticFileHandler.cs
- WindowVisualStateTracker.cs
- NotifyInputEventArgs.cs
- UnitySerializationHolder.cs
- XmlSchemaGroup.cs
- UriExt.cs
- ArrowControl.xaml.cs
- DirtyTextRange.cs
- AssemblyCollection.cs
- LogSwitch.cs
- HyperLink.cs
- DetailsViewRow.cs
- NavigationHelper.cs
- LinqDataSourceEditData.cs
- Graphics.cs
- FrameworkTemplate.cs
- CloseSequenceResponse.cs
- DataObjectPastingEventArgs.cs
- OperationGenerator.cs
- _CommandStream.cs
- ClipboardData.cs
- HtmlElementErrorEventArgs.cs
- LocatorBase.cs
- CompilerParameters.cs
- ChannelFactoryBase.cs
- DataGridViewButtonColumn.cs
- XpsException.cs
- WindowsScroll.cs
- Internal.cs
- ControlBindingsCollection.cs
- PackagePartCollection.cs
- MethodAccessException.cs
- HtmlFormWrapper.cs
- ErrorTableItemStyle.cs
- SqlCommandSet.cs
- LocationFactory.cs
- QuestionEventArgs.cs
- ToolStripContentPanelRenderEventArgs.cs
- AsymmetricSignatureDeformatter.cs
- ProtocolViolationException.cs
- AutomationAttributeInfo.cs
- DesignerWebPartChrome.cs
- RectKeyFrameCollection.cs
- RTLAwareMessageBox.cs
- RenderOptions.cs
- FileDialog_Vista_Interop.cs
- NullExtension.cs
- HashJoinQueryOperatorEnumerator.cs
- ServiceMoniker.cs
- ScriptBehaviorDescriptor.cs
- WebServiceMethodData.cs
- ObjectDisposedException.cs
- OutputScopeManager.cs
- MailWriter.cs
- FirstQueryOperator.cs
- ManagedFilter.cs
- InkCanvasSelectionAdorner.cs
- MetadataPropertyAttribute.cs
- SrgsElement.cs
- RegexGroupCollection.cs
- DataGridViewImageColumn.cs
- LifetimeManager.cs
- CDSsyncETWBCLProvider.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- BamlLocalizer.cs
- SortKey.cs
- Executor.cs
- XamlReader.cs
- DescendentsWalker.cs
- DeferrableContent.cs
- DataGrid.cs
- NavigationPropertyEmitter.cs
- SiteMapHierarchicalDataSourceView.cs
- DataGridViewSelectedColumnCollection.cs
- TextServicesCompartmentEventSink.cs
- TreeViewEvent.cs
- DefaultTextStoreTextComposition.cs
- HttpProfileBase.cs
- _FixedSizeReader.cs
- ProfileElement.cs
- SerialPort.cs
- DetailsViewAutoFormat.cs
- PtsCache.cs
- AtomContentProperty.cs
- ServiceHostFactory.cs
- SqlReferenceCollection.cs
- HostingEnvironmentException.cs
- ExtractorMetadata.cs
- DataGridViewComponentPropertyGridSite.cs
- ClassHandlersStore.cs
- SystemMulticastIPAddressInformation.cs
- IisHelper.cs
- RtfToXamlLexer.cs
- InputLanguageProfileNotifySink.cs