Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / AttachedPropertyBrowsableAttribute.cs / 1 / AttachedPropertyBrowsableAttribute.cs
namespace System.Windows { using MS.Internal.WindowsBase; using System; ////// This is the base class for all attached property browsable attributes. /// TypeDescriptor will call IsBrowsable for each attribute it discovers /// on the method metadata. Note that the method TypeDescriptor examines /// is always the method on the class returned from the dependency property's /// OwnerType property. If another type calls AddOwner, the new property is /// considered a "direct" property, not an attached property, and no search /// for a matching method will be performed. /// public abstract class AttachedPropertyBrowsableAttribute : Attribute { //------------------------------------------------------ // // Internal Properties // //----------------------------------------------------- ////// Used to determine the browsable algorithm. Normally, all /// AttachedPropertyBrowsable attributes must return true from /// IsBrowsable in order for the property to be considered browsable /// for the given dependency object. If UnionResults is true, the /// IsBrowsable result from all AttachedPropertyBrowsable attributes /// of the same type will be logically or-ed together, and the result /// will be used to test for browsability. UnionResults only applies /// to attributes of the same type. /// internal virtual bool UnionResults { get { return false; } } //----------------------------------------------------- // // Internal Methods // //----------------------------------------------------- ////// Returns true if the object allows the given dependency property /// should be visible on the given dependency object. /// [FriendAccessAllowed] // Built into Base, also used by Framework. internal abstract bool IsBrowsable(DependencyObject d, DependencyProperty dp); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MemberRelationshipService.cs
- FileLevelControlBuilderAttribute.cs
- DynamicResourceExtensionConverter.cs
- SettingsSection.cs
- EnumerableRowCollectionExtensions.cs
- CodeTypeDeclaration.cs
- AdRotator.cs
- CalendarTable.cs
- DefaultBindingPropertyAttribute.cs
- SQLString.cs
- TextServicesProperty.cs
- CodeCommentStatementCollection.cs
- SignatureGenerator.cs
- GcSettings.cs
- rsa.cs
- FileDialog.cs
- ConfigXmlText.cs
- HotSpot.cs
- SelectionHighlightInfo.cs
- AssociatedControlConverter.cs
- ReflectTypeDescriptionProvider.cs
- XmlObjectSerializerReadContext.cs
- ImmutableAssemblyCacheEntry.cs
- AttributeData.cs
- EdmProperty.cs
- ContextMenuAutomationPeer.cs
- AnnotationAdorner.cs
- ExeContext.cs
- UpdatePanelTriggerCollection.cs
- DefaultValidator.cs
- CompositeDataBoundControl.cs
- CompilationUnit.cs
- ValidatorCompatibilityHelper.cs
- TextBlockAutomationPeer.cs
- SamlAssertionKeyIdentifierClause.cs
- SchemaTableOptionalColumn.cs
- MarshalByValueComponent.cs
- PreservationFileWriter.cs
- ProbeMatchesMessage11.cs
- AtomMaterializerLog.cs
- ComponentRenameEvent.cs
- SizeF.cs
- ETagAttribute.cs
- _ConnectStream.cs
- ProjectionCamera.cs
- EntitySqlQueryCacheEntry.cs
- SimpleExpression.cs
- List.cs
- XmlSignatureProperties.cs
- DependentList.cs
- DbMetaDataColumnNames.cs
- Vector3DAnimationBase.cs
- TextWriter.cs
- FrameworkElement.cs
- Comparer.cs
- RemotingAttributes.cs
- WebPartEditorOkVerb.cs
- LineSegment.cs
- OutputCacheSettingsSection.cs
- SystemParameters.cs
- InstanceKeyView.cs
- TemplateManager.cs
- MenuTracker.cs
- DataTemplateSelector.cs
- FolderLevelBuildProviderCollection.cs
- HttpModuleAction.cs
- DigitalSignature.cs
- StandardRuntimeEnumValidator.cs
- StylusSystemGestureEventArgs.cs
- ConfigurationFileMap.cs
- SmtpReplyReaderFactory.cs
- EpmContentSerializerBase.cs
- TextServicesCompartment.cs
- MyContact.cs
- CryptoHandle.cs
- FrameworkElement.cs
- PropertyGridEditorPart.cs
- BCLDebug.cs
- XmlLanguage.cs
- TableSectionStyle.cs
- PointIndependentAnimationStorage.cs
- PropertiesTab.cs
- ParagraphResult.cs
- CardSpaceShim.cs
- FormViewPagerRow.cs
- SchemaImporterExtensionElementCollection.cs
- ImageDesigner.cs
- SystemKeyConverter.cs
- XamlSerializerUtil.cs
- FixedNode.cs
- PropertyManager.cs
- SettingsPropertyWrongTypeException.cs
- ChtmlTextWriter.cs
- FamilyTypefaceCollection.cs
- HMACSHA256.cs
- PropertyDescriptorComparer.cs
- DecoratedNameAttribute.cs
- SqlFlattener.cs
- ECDiffieHellmanPublicKey.cs
- SendReply.cs