title: Get DependencyProperties using reflection (Type.GetProperties)?
body: <p>I got a custom Type that as a couple of fields, and I'd like to only get Dependency Properties.</p>
  
  <p>Here is the code that returns all properties :</p>
  
  <pre><code>propertyInfos = myType.GetProperties();
  
  foreach (PropertyInfo propertyInfo in propertyInfos)
  {
      Console.WriteLine(propertyInfo.Name);
  }
  </code></pre>
  
  <p>I know I have to add something in parameter for GetProperties, somethg with BindingFlags.XXX but I check everything that is possible as XX and didn't find something that sounds good to me...</p>