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
- Aggregates.cs
- WorkflowOperationContext.cs
- FontClient.cs
- SetIterators.cs
- AuthenticationService.cs
- SafeNativeMethods.cs
- SizeKeyFrameCollection.cs
- ProtectedProviderSettings.cs
- WindowsSysHeader.cs
- RelationshipDetailsCollection.cs
- DefaultExpression.cs
- BamlLocalizableResourceKey.cs
- ResolveNameEventArgs.cs
- WebPartEditorCancelVerb.cs
- bidPrivateBase.cs
- MaskedTextBoxDesignerActionList.cs
- OdbcConnectionOpen.cs
- InvokeSchedule.cs
- GZipDecoder.cs
- RotateTransform.cs
- RtfControlWordInfo.cs
- OdbcFactory.cs
- X509UI.cs
- TextBox.cs
- StringCollectionEditor.cs
- CompilationRelaxations.cs
- ScriptingJsonSerializationSection.cs
- FixedElement.cs
- DataGridViewIntLinkedList.cs
- TemplateColumn.cs
- EmptyCollection.cs
- GeneralTransform3DGroup.cs
- Guid.cs
- ViewgenContext.cs
- XmlAttributeProperties.cs
- RadioButtonPopupAdapter.cs
- GenericEnumerator.cs
- SqlWriter.cs
- ImageAutomationPeer.cs
- TimerElapsedEvenArgs.cs
- EntityRecordInfo.cs
- CatchBlock.cs
- SerialPort.cs
- SoapSchemaMember.cs
- SequenceDesignerAccessibleObject.cs
- WindowsListView.cs
- ElementHost.cs
- UriSection.cs
- XmlNodeChangedEventManager.cs
- GraphicsState.cs
- ResourceSetExpression.cs
- TcpPortSharing.cs
- CharKeyFrameCollection.cs
- CollectionConverter.cs
- HandledEventArgs.cs
- SafeNativeMethods.cs
- SqlServer2KCompatibilityAnnotation.cs
- RelationshipEndMember.cs
- XmlSchemaComplexContent.cs
- GeneralTransform2DTo3D.cs
- WebPartManagerInternals.cs
- PropertyEmitter.cs
- XmlSchemaExporter.cs
- RectConverter.cs
- UnmanagedMemoryStreamWrapper.cs
- PopupEventArgs.cs
- Misc.cs
- Flattener.cs
- ElementProxy.cs
- XmlDataSource.cs
- smtppermission.cs
- Underline.cs
- CodeSubDirectoriesCollection.cs
- HttpHandlersSection.cs
- SharingService.cs
- SqlDataSourceQueryEditor.cs
- KeyInterop.cs
- XmlTextEncoder.cs
- AbstractDataSvcMapFileLoader.cs
- CallbackException.cs
- ZipIOCentralDirectoryBlock.cs
- ReceiveContent.cs
- StickyNote.cs
- MergePropertyDescriptor.cs
- CheckedPointers.cs
- ToolStripContentPanel.cs
- CustomTypeDescriptor.cs
- CroppedBitmap.cs
- WindowsStreamSecurityElement.cs
- HtmlMeta.cs
- HelpFileFileNameEditor.cs
- WizardPanel.cs
- DataGridPagingPage.cs
- DataConnectionHelper.cs
- DecimalConverter.cs
- TypeDescriptor.cs
- FontDialog.cs
- Int16Animation.cs
- EventSetterHandlerConverter.cs
- ButtonField.cs