I have strange behaviour of my application. I display nine buttons( four different style - App.xaml ) in window but sometimes one or two buttons disappear. It isn't regular. Sometimes button contain only one part(small rectangle or content). Buttons are similar but a bit different. That's why i have to display four different buttons style. Any suggestions how to solve this problem?
App.xaml
Window1.xaml
R JPosted Aug 30, 2014, 1:03 AM
This could be the issue with the style settings and the way you coded window page.. Code on the window xaml page is not correct practice. I have coded the page for you. Apply the styles what ever you require. If you still have issues let me know how the UI should look like. I can help you on that.
WPF has great feature called Independent resolution so never try to hard code the height and widths of controls in WPF. Always use WPF grids with rows and column definitions.
Tomek TomekPosted Sep 5, 2014, 3:29 AM
i followed your suggestion and now is working OK.
Tomek