Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / AttachedPropertyBrowsableAttribute.cs / 1305600 / 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
- ContextMenuAutomationPeer.cs
- ListViewItem.cs
- ViewDesigner.cs
- _StreamFramer.cs
- XmlAttributeOverrides.cs
- SqlDataSourceFilteringEventArgs.cs
- PolyBezierSegmentFigureLogic.cs
- FontSource.cs
- AssemblyEvidenceFactory.cs
- FloaterBaseParaClient.cs
- VirtualizedContainerService.cs
- FilteredDataSetHelper.cs
- StaticSiteMapProvider.cs
- StyleXamlParser.cs
- PageDeviceFont.cs
- PassportAuthenticationModule.cs
- SystemIPInterfaceProperties.cs
- unsafeIndexingFilterStream.cs
- SmtpClient.cs
- EntityTypeBase.cs
- DefaultBinder.cs
- ModuleBuilderData.cs
- FigureHelper.cs
- ExpandedWrapper.cs
- HttpProcessUtility.cs
- SerializationInfoEnumerator.cs
- _SecureChannel.cs
- X509Certificate2.cs
- ValidatorCompatibilityHelper.cs
- BitmapEffectGeneralTransform.cs
- Choices.cs
- MethodBuilderInstantiation.cs
- EdmToObjectNamespaceMap.cs
- GridViewDesigner.cs
- Schema.cs
- ConversionContext.cs
- XmlSchemaSimpleTypeRestriction.cs
- XmlEventCache.cs
- CultureNotFoundException.cs
- XmlSchemaComplexContent.cs
- XPathPatternParser.cs
- HMAC.cs
- SqlComparer.cs
- ADMembershipUser.cs
- ClientTarget.cs
- ComponentEvent.cs
- GatewayIPAddressInformationCollection.cs
- TypeConverterHelper.cs
- TextOutput.cs
- Screen.cs
- precedingsibling.cs
- BufferedGraphics.cs
- XmlUrlResolver.cs
- RuleProcessor.cs
- DataGridCellItemAutomationPeer.cs
- FrameworkTemplate.cs
- autovalidator.cs
- HttpModuleAction.cs
- OfTypeExpression.cs
- EtwTrace.cs
- HttpHandlersSection.cs
- DesignerUtils.cs
- XPathNode.cs
- SqlConnectionStringBuilder.cs
- FigureHelper.cs
- InputScopeConverter.cs
- NativeBuffer.cs
- MenuBindingsEditorForm.cs
- EventItfInfo.cs
- SupportsEventValidationAttribute.cs
- StickyNoteHelper.cs
- StrokeDescriptor.cs
- SystemSounds.cs
- SessionState.cs
- MembershipValidatePasswordEventArgs.cs
- FirstMatchCodeGroup.cs
- WebServiceResponse.cs
- ConfigXmlElement.cs
- XmlDataDocument.cs
- WSSecureConversationFeb2005.cs
- DataGridViewCellValidatingEventArgs.cs
- DbCommandDefinition.cs
- AsyncStreamReader.cs
- EditBehavior.cs
- NullToBooleanConverter.cs
- NativeMethodsCLR.cs
- Thickness.cs
- StorageBasedPackageProperties.cs
- CompensatableTransactionScopeActivityDesigner.cs
- OverrideMode.cs
- SecureUICommand.cs
- BitmapSourceSafeMILHandle.cs
- QueryCursorEventArgs.cs
- SoapIgnoreAttribute.cs
- BaseTemplateBuildProvider.cs
- RegexGroup.cs
- ConsumerConnectionPoint.cs
- Guid.cs
- SystemEvents.cs
- FormsAuthenticationModule.cs