Returns the collection of dependency properties available on specified type.
Namespace: FirstFloor.SilverlightSpy.InteropAssembly: FirstFloor.SilverlightSpy.Interop (in FirstFloor.SilverlightSpy.Interop.dll) Version: 4.0.0.0 (4.0.4.0)
Syntax
| C# |
|---|
public static IEnumerable<DependencyPropertyInfo> DependencyProperties( this Type type, bool deep ) |
| Visual Basic |
|---|
<ExtensionAttribute> _ Public Shared Function DependencyProperties ( _ type As Type, _ deep As Boolean _ ) As IEnumerable(Of DependencyPropertyInfo) |
| Visual C++ |
|---|
[ExtensionAttribute] public: static IEnumerable<DependencyPropertyInfo^>^ DependencyProperties( Type^ type, bool deep ) |
Parameters
- type
- Type: System..::..Type
The type.
- deep
- Type: System..::..Boolean
if set to true also return properties defined on base types.
Return Value
A collection of dependency property info instances.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Remarks
The returned properties do not include attached dependency properties.