I have a grid, which has 2 rows and 3 columns. I need 2 background images for my grid - one will be on the top of the other. (ZIndex of one background ...
I have a grid, which has 2 rows and 3 columns. I need 2 background images for my grid - one will be on the top of the other. (ZIndex of one background ...
I have a Grid with two GridSplitters: <Grid> <Grid.RowDefinitions> <RowDefinition Height="1*" /> </Grid.RowDefin ...
I have an WPF usercontrol which contains following grid. The problem with above grid is that button is not placed just after the Label content, ins ...
I have tried ColumnDefinition Width="5*" and also with 3*, 1* to ColumnDefinition which aplied to Grid container and the parent control is ListBox but ...
I'm trying to make a snake game in WPF and I decided to use a grid to display the board. The snake is supposed to move its x and y position changing t ...
game grid interface I am doing a 15 puzzle game on wpf and xaml where you need to move the empty tile in a grid to solve the puzzle. (see the linked ...
I have this code on which I want to show my layout problem. Rectangles represent objects such as datagrids or graphs. The first two rectangles are ...
I have a problem with my first ListView usage. My custom item should have (currently) 2 rows with 3 columns each containing a label (1st column width= ...
I have some grid with border (grid name is "maingrid") Then I have another window with a constructor and with grid too (grid name is "somegrid") ...
One can only use a ValidationRule with binding; what's a good way to use Validation.ErrorTemplate with Grid based upon its contents rather than its pr ...
I have a pretty simple requirement that I can't seem to find a solution for. Take a look at my sample XAML code: I have three rows that start out w ...
IsSharedSizeScope is set as true in the Grid(parent) level with StackPanel as a child then IsSharedSizeScope property is not working but when I remove ...
I'm working on a WPF App, and I would like to create the entire window from c# code, instead of from XML. I tried the following code, but nothing ha ...
I have a Grid in another Grid and add the second Grid into ScrollViewer but don't see scrollbar for it. The grid i add ScrollViewer has the name InfoG ...
I'm completely new to XAML and WPF and I cannot add other type of control (like TextBox or Label) to grid after adding a button. Could you please expl ...
I have a MVVM application which has a WPF Grid which contains other embedded WPF Grids and at the same time, each of them contain some fields (WPF Tex ...
Getting three columns have the same width is done by setting Width to Auto. I want to achieve that if middle column is collapsed or hidden that the ...
the code below is a small snippet of a big wpf Window I am using in my Project. It produces the linked wpf Window. I am wondering why my last grid c ...
I have a WPF Grid with Rectangles in each column. All columns has equal width (1*) and all Rectangles has black background. In designer mode, there ar ...
I am trying to get something like an image with adjustable margins done. The image itself is actually a path and resides in a StackPanel, stretching v ...