Hi Team,
I need to align my xamtextgrid to center and want my background color to completely fill the cell.
By default text is left aligned and entire cell is filled with back ground color.
If i make text alignment to center using
<Setter Property="HorizontalAlignment" Value="Center" /> <Setter Property="HorizontalContentAlignment" Value="Center" />
text is alligned to center but background color is filled around that text only leaving remainng cell in white color. Which does not looks good.=
i want it to be centerd with back ground color covering entire cell.
If i use TextAlignment property with center value nothing happens.
I am really fed up of this. this is very simple requirement.
Please let me know how to handle this scenario as soon as possible.
Hello Vanarse,
Thank you for your post.
I have been looking into the functionality that you trying to achieve. If I understand correctly your requirement, what I can suggest is to create style for your editors(for example XamNumericEditor, XamTextEditor..) and set its Background property to the color you wish. I created short sample project that demonstrate this approach, please take a look and let me know if it does not cover your expectations.
If you require any further assistance on this matter, please do not hesitate to let me know.
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.