Click here to Skip to main content
15,896,915 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Logical vs Visual Tree Pin
devvvy6-Apr-11 22:25
devvvy6-Apr-11 22:25 
GeneralRe: Logical vs Visual Tree Pin
Pete O'Hanlon6-Apr-11 22:28
mvePete O'Hanlon6-Apr-11 22:28 
AnswerRe: Logical vs Visual Tree Pin
Pete O'Hanlon6-Apr-11 23:37
mvePete O'Hanlon6-Apr-11 23:37 
GeneralRe: Logical vs Visual Tree Pin
devvvy7-Apr-11 2:05
devvvy7-Apr-11 2:05 
GeneralRe: Logical vs Visual Tree Pin
devvvy7-Apr-11 15:25
devvvy7-Apr-11 15:25 
GeneralRe: Logical vs Visual Tree Pin
devvvy11-Apr-11 17:38
devvvy11-Apr-11 17:38 
GeneralRe: Logical vs Visual Tree Pin
devvvy13-Apr-11 18:22
devvvy13-Apr-11 18:22 
QuestionChange main region layout in runtime Pin
rafagamerorodriguez6-Apr-11 6:08
rafagamerorodriguez6-Apr-11 6:08 
Good afternoon.

I have an WPF application with a grid consisting of two rows and two columns, containing players.

My problem is that I would change at runtime the layout of the grid. Such as leaving only one row and one column or two rows with a column...

From the code behind, I haven´t the ability to access or the colspan rowSpan ...

It is possible to do this functionality with the grid? or there is another control that allows me to change the arrangement of the players at runtime?

Thank you very much in advance

<Grid Name="MainGrid">
<Grid.RowDefinitions >
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions >
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<dbf:DbfPlayerUserControl x:Name="player1" Grid.Column="0" Grid.Row="0" ></dbf:DbfPlayerUserControl>
<dbf:DbfPlayerUserControl x:Name="player2" Grid.Column="1" Grid.Row="0" ></dbf:DbfPlayerUserControl>
<dbf:DbfPlayerUserControl x:Name="player3" Grid.Column="0" Grid.Row="1" ></dbf:DbfPlayerUserControl>
<dbf:DbfPlayerUserControl x:Name="player4" Grid.Column="1" Grid.Row="1" ></dbf:DbfPlayerUserControl>
</Grid>
AnswerRe: Change main region layout in runtime Pin
Ian Shlasko6-Apr-11 6:26
Ian Shlasko6-Apr-11 6:26 
AnswerRe: Change main region layout in runtime Pin
Abhinav S6-Apr-11 19:04
Abhinav S6-Apr-11 19:04 
GeneralRe: Change main region layout in runtime Pin
rafagamerorodriguez7-Apr-11 4:44
rafagamerorodriguez7-Apr-11 4:44 
GeneralRe: Change main region layout in runtime Pin
Abhinav S7-Apr-11 6:03
Abhinav S7-Apr-11 6:03 
QuestionExcel Import and Export Pin
Joe Rozario6-Apr-11 4:06
Joe Rozario6-Apr-11 4:06 
AnswerRe: Excel Import and Export Pin
Abhinav S7-Apr-11 18:21
Abhinav S7-Apr-11 18:21 
QuestionHelp Silverlight Datagrid Pin
ninou21556-Apr-11 2:59
ninou21556-Apr-11 2:59 
AnswerRe: Help Silverlight Datagrid Pin
Abhinav S6-Apr-11 3:16
Abhinav S6-Apr-11 3:16 
AnswerRe: Help Silverlight Datagrid Pin
ankitjoshi246-Apr-11 4:18
ankitjoshi246-Apr-11 4:18 
AnswerRe: Help Silverlight Datagrid Pin
ninou21557-Apr-11 3:02
ninou21557-Apr-11 3:02 
Questionopensource Pin
arkiboys6-Apr-11 2:25
arkiboys6-Apr-11 2:25 
AnswerRe: opensource Pin
Pete O'Hanlon6-Apr-11 2:37
mvePete O'Hanlon6-Apr-11 2:37 
GeneralRe: opensource Pin
arkiboys6-Apr-11 3:23
arkiboys6-Apr-11 3:23 
GeneralRe: opensource Pin
Pete O'Hanlon6-Apr-11 3:44
mvePete O'Hanlon6-Apr-11 3:44 
GeneralRe: opensource Pin
arkiboys6-Apr-11 3:49
arkiboys6-Apr-11 3:49 
QuestionWPF DataGrid Virtualization Pin
arno_cp5-Apr-11 18:18
arno_cp5-Apr-11 18:18 
AnswerRe: WPF DataGrid Virtualization Pin
Tarun.K.S5-Apr-11 20:36
Tarun.K.S5-Apr-11 20:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.