Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
450
XamDataGrid ImageColumn binded Attached Property doesnt work
posted

Hi , I am Using XamDataGrid In which I have Image column which is binded to a command using attached property(ImageClickEvent), my attach property class contains method 

private static void OnImageSeltected(DependencyObject d, DependencyPropertyChangedEventArgs e)
{

}

which doesnt get executed 

I have binded image in following manner

 <Image    local:ImageClickEvent.SelectedImage="{Binding ImageSelector,RelativeSource={RelativeSource AncestorType={x:Type Window}}}"   Source="Images\shuffle_up.png" />

I have attached the sample as well. Could you please let me know where i am going wrong.

Thanks

Prashant Chavan

RuntimeContextMenu.rar