<RadioButton Content="a"> <Style> <Style.Triggers> <DataTrigger Value="True" > <Setter TargetName="aColumn" Property="Width" Value="1122*" /> <Setter TargetName="bColumn" Property="Width" Value="0" /> </DataTrigger> <DataTrigger Value="False" > <Setter TargetName="aColumn" Property="Width" Value="561*" /> <Setter TargetName="bColumn" Property="Width" Value="561*" /> </DataTrigger> </Style.Triggers> </Style> </RadioButton> <RadioButton Content="b"> </RadioButton>
<Grid Name="Grid1" > <Grid.ColumnDefinitions> <ColumnDefinition Width="561*" Name ="aColumn" /> <ColumnDefinition Width="561*" Name="bColumn"/> </Grid.ColumnDefinitions> </Grid>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)