In principle, the same as with any other DependencyProperty ; the usual properties on your object serve (or should serve) like simple wrappers around DependencyObject.GetValue and .SetValue , so all you have to do is call GetValue yourself and pass your static readonly instance of your attached DependencyProperty
var value = myButton.GetValue(yourDependencyProperty);
source share