Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to set horizontal alignment for an image in datagridtemplate column in wpf

$
0
0

Hi,

I have a WPF application. In that I have a DataGridTemplateColumn with a textblock and an image. I need textblock to be left aligned and image to be right aligned in that column.

I am creating this DataGridTemplateColumn in .cs file. Can someboby tell me how to set these alignments.

Regards,

Mohana


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>