Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / ListBindableAttribute.cs / 1 / ListBindableAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel {
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Security.Permissions;
///
/// [To be supplied.]
///
[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;
}
///
///
/// Returns the hashcode for this object.
///
///
public override int GetHashCode() {
return base.GetHashCode();
}
///
/// [To be supplied.]
///
public override bool IsDefaultAttribute() {
return (this.Equals(Default) || isDefault);
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EdmItemError.cs
- uribuilder.cs
- IconHelper.cs
- RequestNavigateEventArgs.cs
- WizardPanelChangingEventArgs.cs
- DynamicExpression.cs
- AvTraceDetails.cs
- OutOfProcStateClientManager.cs
- LabelEditEvent.cs
- PersonalizablePropertyEntry.cs
- ChameleonKey.cs
- MiniMapControl.xaml.cs
- ContentElementAutomationPeer.cs
- ScriptingRoleServiceSection.cs
- TabOrder.cs
- OleAutBinder.cs
- GlyphRunDrawing.cs
- EdmTypeAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- HttpBufferlessInputStream.cs
- SqlSelectClauseBuilder.cs
- RowType.cs
- HTMLTextWriter.cs
- SyndicationDeserializer.cs
- BrowserInteropHelper.cs
- DeploymentSection.cs
- DesignTableCollection.cs
- ProxyAttribute.cs
- XmlFormatExtensionPointAttribute.cs
- JavaScriptObjectDeserializer.cs
- WindowsListViewItem.cs
- WindowsAltTab.cs
- DesignerTextWriter.cs
- EndEvent.cs
- SqlError.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- CustomErrorCollection.cs
- CodeThrowExceptionStatement.cs
- XmlNodeChangedEventManager.cs
- BaseCodePageEncoding.cs
- TemplateParser.cs
- SiteOfOriginPart.cs
- DSASignatureDeformatter.cs
- CustomError.cs
- MatrixCamera.cs
- SolidBrush.cs
- HelpProvider.cs
- DocumentPageViewAutomationPeer.cs
- DataStreams.cs
- HttpCachePolicyWrapper.cs
- DbDataSourceEnumerator.cs
- WindowsTooltip.cs
- Italic.cs
- XmlNodeList.cs
- DataFormats.cs
- AnnotationResourceCollection.cs
- RelatedCurrencyManager.cs
- ResourcesChangeInfo.cs
- RenderData.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- TextCollapsingProperties.cs
- GenericTypeParameterBuilder.cs
- HistoryEventArgs.cs
- SocketElement.cs
- SizeF.cs
- DeferredSelectedIndexReference.cs
- BrushMappingModeValidation.cs
- ObjectSerializerFactory.cs
- AddInAttribute.cs
- HandlerBase.cs
- EntityKeyElement.cs
- InputDevice.cs
- ErrorLog.cs
- NativeRecognizer.cs
- MenuItem.cs
- Console.cs
- FormViewPageEventArgs.cs
- EdgeProfileValidation.cs
- ImmComposition.cs
- PagedDataSource.cs
- SerialStream.cs
- MimeMapping.cs
- ObjectViewEntityCollectionData.cs
- DetailsViewUpdateEventArgs.cs
- XslException.cs
- NameValueConfigurationElement.cs
- HandlerFactoryWrapper.cs
- CompilerParameters.cs
- WebPartConnectionsCancelEventArgs.cs
- SqlConnectionString.cs
- SoapSchemaExporter.cs
- ImpersonationContext.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- IProvider.cs
- Inline.cs
- HMACSHA384.cs
- ClientRuntimeConfig.cs
- VectorConverter.cs
- ValidationErrorCollection.cs
- Label.cs