¿Cómo usar la propiedad adjunta dentro de un estilo?

He creado una imagen dentro de un ButtonStyle. Ahora he creado una propiedad adjunta para poder establecer el origen de esa imagen. Debería ser sencillo, pero estoy atascado con eso.

Este es mi estilo de botón acortado:

<Style x:Key="ToolBarButtonStyle"
        TargetType="Button">
    ...
    <Image x:Name="toolbarImage"
            Source="{TemplateBinding PrismExt:ImageSourceAttachable:ImageSource}"
            Width="48"
            Height="48" />
    ...
</Style>

Y esta es la definición de propiedad adjunta, tenga en cuenta que no tengo idea de cómo solucionar la devolución de llamada, ya que la propiedad de dependencia parece ser el botón en lugar de la imagen. Y Button no expone mi imagen dentro de su estilo. Es complicado

namespace SalesContactManagement.Infrastructure.PrismExt
{
    public class ImgSourceAttachable
    {
        public static void SetImgSource(DependencyObject obj, string imgSource)
        {
            obj.SetValue(ImgSourceProperty, imgSource);
        }

        public static string GetImgSource(DependencyObject obj)
        {
            return obj.GetValue(ImgSourceProperty).ToString();
        }

        // Using a DependencyProperty as the backing store for MyProperty.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty ImgSourceProperty =
            DependencyProperty.RegisterAttached("ImgSource", typeof(string), typeof(ImgSourceAttachable), new PropertyMetadata(Callback));

        private static void Callback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            //((Button)d).Source = new BitmapImage(new Uri(Application.Current.Host.Source, e.NewValue.ToString()));
        }
    }
}

Así es como configuro la fuente de la imagen dentro de XAML:

<Button PrismExt:ImgSourceAttachable.ImgSource="./Images/New.png"
        Style="{StaticResource ToolBarButtonStyle}" />

¿Alguna idea por favor? Muchas gracias

Respuestas a la pregunta(1)

Su respuesta a la pregunta