I am using Silverlight XamGrid. When I don't set the the height and width the content will push off my screen. I don't want to set a height or width because I want to maximize the users screen size. How can I accomplish this using XamGrid?
Thanks
Will
Hello,
I have been looking into your question and as far as I understand your issue is that if you set an explicit size of the gird it would not be bound to the Window size and therefore going through the Window states (for example maximizing) will not affect the grid size. In order to prevent this behavior you can set Grids VerticalAlignment and/or HorizontalAlignment.
I am sending you a very descriptive MSDN article on Alignment, Padding and Margin. All of these are being exposed by our xamDataGrid as well:
http://msdn.microsoft.com/en-us/library/ms751709.aspx
Please let me know if my answer meets your requirements or I misunderstand your scenario.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics Inc.
www.infragistics.com/support