#1 How to keep a user control from overflowing or not fitting a gridview with row definition and column definition UWP by Webspy 09.05.2017 23:49

How to keep a user control from overflowing
or not fitting a gridview with row definition
and column definition UWP

#2 RE: How to keep a user control from overflowing or not fitting a gridview with row definition and column definition UWP by BlackBrowny 10.05.2017 00:12

I have a grid with column definitions and row
definitions. I added a user control that is bigger
than the squares it should measure. I am trying
to set a grid of 5x5 with 25 user controls and
have them not overflow and be able to adapt to
different desktop or laptop sizes without looking
weird. The squares should be same size, same
height....

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
<Grid Margin="104,0,0,76"
HorizontalAlignment="Left" Width="940"
Height="864" VerticalAlignment="Bottom">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<local:ucteclarapida Grid.Row="0"
Grid.Column="0" ></local:ucteclarapida>
<local:ucteclarapida Grid.Row="0"
Grid.Column="1" > </local:ucteclarapida>
</Grid>
 

Xobor Create your own Forum with Xobor