Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ListBindableAttribute.cs / 1305376 / ListBindableAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.All)] public sealed class ListBindableAttribute : Attribute { ///[To be supplied.] ////// public static readonly ListBindableAttribute Yes = new ListBindableAttribute(true); ///[To be supplied.] ////// public static readonly ListBindableAttribute No = new ListBindableAttribute(false); ///[To be supplied.] ////// public static readonly ListBindableAttribute Default = Yes; private bool listBindable = false; private bool isDefault = false; ///[To be supplied.] ////// public ListBindableAttribute(bool listBindable) { this.listBindable = listBindable; } ///[To be supplied.] ////// public ListBindableAttribute(BindableSupport flags) { this.listBindable = (flags != BindableSupport.No); this.isDefault = (flags == BindableSupport.Default); } ///[To be supplied.] ////// public bool ListBindable { get { return listBindable; } } ///[To be supplied.] ////// public override bool Equals(object obj) { if (obj == this) { return true; } ListBindableAttribute other = obj as ListBindableAttribute; return other != null && other.ListBindable == listBindable; } ///[To be supplied.] ////// public override int GetHashCode() { return base.GetHashCode(); } ////// Returns the hashcode for this object. /// ////// public override bool IsDefaultAttribute() { return (this.Equals(Default) || isDefault); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MaskedTextBox.cs
- VoiceObjectToken.cs
- QueueAccessMode.cs
- TextParaClient.cs
- ObjectListComponentEditor.cs
- BaseTemplateParser.cs
- ScriptManagerProxy.cs
- WindowsScrollBarBits.cs
- OleDbMetaDataFactory.cs
- CheckoutException.cs
- BinaryCommonClasses.cs
- TextTreeUndo.cs
- ToolStripOverflow.cs
- FormCollection.cs
- PaintValueEventArgs.cs
- updateconfighost.cs
- ProtocolReflector.cs
- CompatibleIComparer.cs
- ListBindingHelper.cs
- DateTimeParse.cs
- GeneralTransform3DGroup.cs
- SimpleApplicationHost.cs
- DataGridPagerStyle.cs
- ManagedCodeMarkers.cs
- ItemChangedEventArgs.cs
- ListViewDesigner.cs
- EncoderNLS.cs
- UIntPtr.cs
- RepeaterDataBoundAdapter.cs
- RtfControls.cs
- MDIClient.cs
- StringConverter.cs
- LongPath.cs
- SortFieldComparer.cs
- TypeNameConverter.cs
- ElementsClipboardData.cs
- MethodBuilder.cs
- OutputCacheSection.cs
- EntityDataSourceViewSchema.cs
- VectorValueSerializer.cs
- CatalogPartCollection.cs
- ServiceMetadataBehavior.cs
- Decimal.cs
- ApplicationServiceHelper.cs
- AnnotationComponentManager.cs
- ExtractorMetadata.cs
- DoubleAnimationUsingKeyFrames.cs
- SqlDataSourceCommandEventArgs.cs
- SqlGatherConsumedAliases.cs
- ToolStripDropDownMenu.cs
- SiteMapDataSourceView.cs
- DescendantQuery.cs
- ConfigurationSectionCollection.cs
- OptimalTextSource.cs
- EnumMemberAttribute.cs
- ContextQuery.cs
- PointAnimation.cs
- CatalogZoneBase.cs
- LockedHandleGlyph.cs
- BufferedStream.cs
- FontTypeConverter.cs
- Object.cs
- MetaColumn.cs
- SQLByte.cs
- XsdValidatingReader.cs
- GridViewRow.cs
- OdbcConnectionString.cs
- XmlSignatureManifest.cs
- Scanner.cs
- CommandEventArgs.cs
- AmbiguousMatchException.cs
- Mouse.cs
- ContainerParagraph.cs
- NodeFunctions.cs
- TypeDependencyAttribute.cs
- EmptyCollection.cs
- InkSerializer.cs
- PipeConnection.cs
- DocumentAutomationPeer.cs
- XamlVector3DCollectionSerializer.cs
- AttributeProviderAttribute.cs
- TextEditorContextMenu.cs
- XmlCustomFormatter.cs
- FixedTextBuilder.cs
- SimpleBitVector32.cs
- ObjectTag.cs
- AddInToken.cs
- BehaviorEditorPart.cs
- ConfigurationStrings.cs
- InstanceKeyNotReadyException.cs
- UserControlBuildProvider.cs
- CommonProperties.cs
- SQLMoney.cs
- AddDataControlFieldDialog.cs
- DataReceivedEventArgs.cs
- SerializationInfoEnumerator.cs
- CodeGen.cs
- diagnosticsswitches.cs
- PointValueSerializer.cs
- ListBox.cs