I have 5 Images and a border, when the user clicks an image, I want the border to slide over until it is directly over the Image that was clicked.
I am having a hard time figuring out this transform stuff. I am good with C# but new to wpf. I am quite certain that the translatetransform is what I need, but I have no idea how to implement it. Can someone show me, or point me to a good tutorial on this topic.
var RT=new TranslateTransform(90,0);
SelectBorder.RenderTransform = RT;
SelectBorder.BeginAnimation(...//I don't know what a dependency object is
I would recommend reading the documentation, it has a full example of how to use the method. (Also you would start the animation on the transform not the Border)