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
- SystemBrushes.cs
- _CommandStream.cs
- IsolatedStorageException.cs
- ManagedIStream.cs
- UInt64Converter.cs
- DataKeyArray.cs
- NotImplementedException.cs
- RegexRunnerFactory.cs
- Viewport2DVisual3D.cs
- ParseElement.cs
- PropVariant.cs
- ISAPIRuntime.cs
- SamlAssertionKeyIdentifierClause.cs
- rsa.cs
- SafeThemeHandle.cs
- HScrollProperties.cs
- BaseValidator.cs
- Interlocked.cs
- RichTextBoxAutomationPeer.cs
- ImageAttributes.cs
- SynchronizedPool.cs
- OracleLob.cs
- HashRepartitionEnumerator.cs
- DataGridViewCellCancelEventArgs.cs
- StringFormat.cs
- MenuItemBinding.cs
- PassportIdentity.cs
- CalloutQueueItem.cs
- CacheMode.cs
- SSmlParser.cs
- BaseUriHelper.cs
- CacheEntry.cs
- TdsParameterSetter.cs
- TcpHostedTransportConfiguration.cs
- EmptyElement.cs
- AssemblyResourceLoader.cs
- NavigationWindow.cs
- xdrvalidator.cs
- EndEvent.cs
- CounterCreationData.cs
- TouchFrameEventArgs.cs
- ReflectEventDescriptor.cs
- StyleSheet.cs
- ApplicationServiceHelper.cs
- SafeSystemMetrics.cs
- NotificationContext.cs
- AuthorizationSection.cs
- DbFunctionCommandTree.cs
- CodeTypeMember.cs
- PointConverter.cs
- UnaryNode.cs
- WebPartAuthorizationEventArgs.cs
- XmlProcessingInstruction.cs
- DescriptionAttribute.cs
- ErrorFormatter.cs
- SuppressMessageAttribute.cs
- OracleFactory.cs
- EmptyReadOnlyDictionaryInternal.cs
- TreeViewImageGenerator.cs
- CollectionType.cs
- MultiDataTrigger.cs
- KerberosTokenFactoryCredential.cs
- IndentTextWriter.cs
- EditorZoneAutoFormat.cs
- DbgUtil.cs
- NativeObjectSecurity.cs
- DoubleAnimation.cs
- X509CertificateInitiatorServiceCredential.cs
- TransformPattern.cs
- SynchronizationContext.cs
- OrderedDictionary.cs
- SslStreamSecurityUpgradeProvider.cs
- EmptyStringExpandableObjectConverter.cs
- Evidence.cs
- CustomCredentialPolicy.cs
- UrlAuthorizationModule.cs
- ConstraintStruct.cs
- RecipientInfo.cs
- TextStore.cs
- DataViewListener.cs
- HMAC.cs
- MarkupCompilePass2.cs
- XPathArrayIterator.cs
- DataPagerFieldCollection.cs
- TouchesCapturedWithinProperty.cs
- DifferencingCollection.cs
- SafeNativeHandle.cs
- SimpleWebHandlerParser.cs
- DbExpressionRules.cs
- CqlLexerHelpers.cs
- MappingItemCollection.cs
- ProtocolsConfiguration.cs
- PageAsyncTaskManager.cs
- GeometryHitTestResult.cs
- ExceptionHandlerDesigner.cs
- DispatcherProcessingDisabled.cs
- ControlBuilderAttribute.cs
- DataPagerFieldItem.cs
- FtpWebRequest.cs
- CommonDialog.cs