Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / DefaultBindingPropertyAttribute.cs / 1 / 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(); } } }/// 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
- WindowsListViewItemStartMenu.cs
- ProfileManager.cs
- documentsequencetextpointer.cs
- StreamReader.cs
- EdmFunctionAttribute.cs
- EntityStoreSchemaFilterEntry.cs
- NavigationPropertyAccessor.cs
- TextRangeEditLists.cs
- AppDomainUnloadedException.cs
- MessageBox.cs
- InkCanvasSelection.cs
- StrokeNodeEnumerator.cs
- WebPartDisplayModeEventArgs.cs
- RuntimeConfig.cs
- LongPath.cs
- XPathNodePointer.cs
- FileChangesMonitor.cs
- WebMethodAttribute.cs
- Faults.cs
- ServiceSecurityContext.cs
- CalendarAutomationPeer.cs
- TextEditorTables.cs
- TypeTypeConverter.cs
- PageContent.cs
- ParseChildrenAsPropertiesAttribute.cs
- TracingConnection.cs
- SapiRecoInterop.cs
- PreloadedPackages.cs
- XmlCustomFormatter.cs
- FamilyTypeface.cs
- CompileLiteralTextParser.cs
- SqlTransaction.cs
- TraceSection.cs
- StreamGeometry.cs
- StringValidatorAttribute.cs
- QilLoop.cs
- HttpException.cs
- WebPartZoneAutoFormat.cs
- MarkupExtensionParser.cs
- TimeStampChecker.cs
- WebDescriptionAttribute.cs
- RawStylusSystemGestureInputReport.cs
- WSSecurityOneDotZeroSendSecurityHeader.cs
- precedingquery.cs
- ConsoleTraceListener.cs
- ExecutorLocksHeldException.cs
- SQLByte.cs
- RealProxy.cs
- DataGridColumnCollection.cs
- securitycriticaldata.cs
- EventHandlersStore.cs
- Vector3dCollection.cs
- StrokeNode.cs
- NotifyIcon.cs
- DataBinding.cs
- FontFamilyIdentifier.cs
- NotFiniteNumberException.cs
- ThreadAttributes.cs
- SimpleFieldTemplateUserControl.cs
- AsynchronousChannelMergeEnumerator.cs
- NativeWindow.cs
- SecurityCriticalDataForSet.cs
- AdRotator.cs
- ObjectItemAttributeAssemblyLoader.cs
- MetadataCacheItem.cs
- SchemaElement.cs
- XamlUtilities.cs
- TypeInitializationException.cs
- CachedBitmap.cs
- ToolBarOverflowPanel.cs
- Vector.cs
- ThreadStartException.cs
- Funcletizer.cs
- SystemIPv6InterfaceProperties.cs
- ToolConsole.cs
- TransportSecurityHelpers.cs
- PackageDigitalSignature.cs
- ScrollData.cs
- TypeInfo.cs
- FormatterServices.cs
- TemplateBindingExtensionConverter.cs
- EntryPointNotFoundException.cs
- PrimitiveDataContract.cs
- TableLayoutCellPaintEventArgs.cs
- ToolStripStatusLabel.cs
- SqlDataSource.cs
- UnitySerializationHolder.cs
- XmlILIndex.cs
- ParagraphVisual.cs
- AccessibleObject.cs
- WindowShowOrOpenTracker.cs
- AdornedElementPlaceholder.cs
- TransactionManager.cs
- UnsafeNativeMethods.cs
- Int64.cs
- PreviewPageInfo.cs
- PointAnimationUsingPath.cs
- ReadOnlyCollectionBase.cs
- NumberSubstitution.cs
- DefaultPropertyAttribute.cs