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
- SqlFlattener.cs
- XsltArgumentList.cs
- BrowserDefinitionCollection.cs
- SqlColumnizer.cs
- MsmqIntegrationInputMessage.cs
- ManagedIStream.cs
- DataBoundLiteralControl.cs
- ManipulationLogic.cs
- SiteMapNodeItem.cs
- RuleSetDialog.Designer.cs
- XmlLanguageConverter.cs
- DataGridViewSortCompareEventArgs.cs
- StrokeFIndices.cs
- BrowserCapabilitiesFactory.cs
- SQLSingleStorage.cs
- Roles.cs
- FrameworkElementAutomationPeer.cs
- StorageEntitySetMapping.cs
- HtmlImage.cs
- MouseWheelEventArgs.cs
- MessageEncodingBindingElementImporter.cs
- NameValueConfigurationCollection.cs
- MouseGestureConverter.cs
- ExtendedTransformFactory.cs
- RemoteWebConfigurationHostStream.cs
- CrossAppDomainChannel.cs
- Int32Collection.cs
- GetBrowserTokenRequest.cs
- NameValuePair.cs
- DesignerTransactionCloseEvent.cs
- DataFormats.cs
- MimeMapping.cs
- IListConverters.cs
- WebDescriptionAttribute.cs
- EventDescriptor.cs
- WmiInstallComponent.cs
- ResponseStream.cs
- ConsumerConnectionPoint.cs
- GroupBox.cs
- ItemDragEvent.cs
- SafeNativeMethods.cs
- SyndicationItem.cs
- JpegBitmapDecoder.cs
- AspNetHostingPermission.cs
- Label.cs
- ScriptServiceAttribute.cs
- HtmlTextArea.cs
- Point3D.cs
- Menu.cs
- TracedNativeMethods.cs
- BindingExpression.cs
- UnsafeNativeMethods.cs
- odbcmetadatacollectionnames.cs
- EdmFunctionAttribute.cs
- HttpServerVarsCollection.cs
- KeyValueConfigurationElement.cs
- GroupedContextMenuStrip.cs
- ExitEventArgs.cs
- OperationAbortedException.cs
- SqlRecordBuffer.cs
- ConfigurationStrings.cs
- AuthenticationConfig.cs
- OdbcCommandBuilder.cs
- DbRetry.cs
- DataGridViewEditingControlShowingEventArgs.cs
- UniformGrid.cs
- ArrayElementGridEntry.cs
- RawAppCommandInputReport.cs
- Descriptor.cs
- CorrelationToken.cs
- ObjectListCommand.cs
- DependencyPropertyHelper.cs
- WindowsGraphics2.cs
- OleDbCommand.cs
- BookmarkEventArgs.cs
- BindingParameterCollection.cs
- DataGridViewHitTestInfo.cs
- QualificationDataAttribute.cs
- PrintController.cs
- _LocalDataStoreMgr.cs
- NextPreviousPagerField.cs
- SerializableAttribute.cs
- HierarchicalDataSourceControl.cs
- DocumentNUp.cs
- NameValueConfigurationCollection.cs
- Baml2006SchemaContext.cs
- UserPersonalizationStateInfo.cs
- ButtonRenderer.cs
- ChannelServices.cs
- RsaSecurityTokenAuthenticator.cs
- PublisherMembershipCondition.cs
- ToolStripSeparatorRenderEventArgs.cs
- FixedPageProcessor.cs
- DBPropSet.cs
- SevenBitStream.cs
- MaskPropertyEditor.cs
- XmlNavigatorFilter.cs
- RootAction.cs
- StringSorter.cs
- _ScatterGatherBuffers.cs