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
- WindowsEditBoxRange.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ProfileSettings.cs
- AuthorizationSection.cs
- X509CertificateCollection.cs
- MSAAWinEventWrap.cs
- FieldNameLookup.cs
- BaseEntityWrapper.cs
- ScriptModule.cs
- DataFormats.cs
- WebPartConnectionsEventArgs.cs
- ContextStaticAttribute.cs
- SystemException.cs
- AssociationSetMetadata.cs
- HelpKeywordAttribute.cs
- Serializer.cs
- ConfigurationStrings.cs
- ConvertersCollection.cs
- HandleExceptionArgs.cs
- TransactionScope.cs
- RawStylusInputCustomData.cs
- Random.cs
- KnownTypes.cs
- CodeDomExtensionMethods.cs
- NotifyCollectionChangedEventArgs.cs
- OracleException.cs
- MenuItemAutomationPeer.cs
- QueryContinueDragEventArgs.cs
- FunctionNode.cs
- KoreanLunisolarCalendar.cs
- EntityDataSourceContextCreatedEventArgs.cs
- PersonalizationProviderHelper.cs
- versioninfo.cs
- SymbolDocumentInfo.cs
- TextParaClient.cs
- CoreSwitches.cs
- Timeline.cs
- CommandHelper.cs
- SelectionEditor.cs
- CacheHelper.cs
- AesManaged.cs
- CommandField.cs
- NamedObject.cs
- LinqTreeNodeEvaluator.cs
- Hex.cs
- RijndaelManaged.cs
- RectAnimationClockResource.cs
- WebPartConnectionsConnectVerb.cs
- GenerateTemporaryTargetAssembly.cs
- EmptyQuery.cs
- BinaryParser.cs
- _AutoWebProxyScriptEngine.cs
- PanelDesigner.cs
- HwndSourceParameters.cs
- ToolbarAUtomationPeer.cs
- QuinticEase.cs
- ComplexPropertyEntry.cs
- ObjectListTitleAttribute.cs
- _ConnectStream.cs
- UserControlParser.cs
- MessageBuffer.cs
- PixelFormat.cs
- DictionaryCustomTypeDescriptor.cs
- ForAllOperator.cs
- SystemIPInterfaceStatistics.cs
- MultiPropertyDescriptorGridEntry.cs
- PaintEvent.cs
- TextMetrics.cs
- CrossSiteScriptingValidation.cs
- BindingNavigator.cs
- SelectedCellsChangedEventArgs.cs
- ContextMenu.cs
- LogEntry.cs
- TraceSection.cs
- TimeSpanOrInfiniteConverter.cs
- SerializerProvider.cs
- InsufficientExecutionStackException.cs
- StyleTypedPropertyAttribute.cs
- FormViewUpdatedEventArgs.cs
- SqlConnectionPoolProviderInfo.cs
- CheckBoxRenderer.cs
- TargetInvocationException.cs
- TakeOrSkipQueryOperator.cs
- EventLogTraceListener.cs
- SrgsItemList.cs
- ListViewPagedDataSource.cs
- VariableValue.cs
- RelationshipConstraintValidator.cs
- HttpEncoderUtility.cs
- ConnectionAcceptor.cs
- RegexInterpreter.cs
- PublisherMembershipCondition.cs
- ModelVisual3D.cs
- MailWebEventProvider.cs
- MbpInfo.cs
- SplineQuaternionKeyFrame.cs
- ProtocolReflector.cs
- ConfigurationStrings.cs
- ObjectSet.cs
- ParameterBuilder.cs