Row="1" IsChecked="{Binding 1, Mode=TwoWay, Converter={StaticResource BSMClassConverter}, ConverterParameter='a'}" ></RadioButton>
<RadioButton GroupName="a" Grid.Column="1" Grid.Row="2" IsChecked="{Binding 2, Mode=TwoWay, Converter={StaticResource BSMClassConverter}, ConverterParameter='a'}" ></RadioButton>
<RadioButton GroupName="a" Grid.Column="1" Grid.Row="3" IsChecked="{Binding 3, Mode=TwoWay, Converter={StaticResource BSMClassConverter}, ConverterParameter='a'}" ></RadioButton>

And then have a converter to convert the info to a string. But I cannot wrap my head around how this is going to work. I hope there is someone out there with a good idea :-) 

A:

I'm sure there's a better way to do this, but this works, using commands rather than converters:

    <Grid.RowDefinitions>
        <RowDefinition />
        <RowDefinition />
        <RowDefinition />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
        <ColumnDefinition />
        <ColumnDefinition />
        <ColumnDefinition />
    </Grid.ColumnDefinitions>

    <RadioButton Content="a" GroupName="a" Grid.Row="0" Grid.Column="0" Command="{Binding UpdateSelection}" CommandParameter="1;a" />
    <RadioButton Content="a" GroupName="a" Grid.Row="1" Grid.Column="0" Command="{Binding UpdateSelection}" CommandParameter="2;a" />
    <RadioButton Content="a" GroupName="a" Grid.Row="2" Grid.Column="0" Command="{Binding UpdateSelection}" CommandParameter="3;a" />

    <RadioButton Content="b" GroupName="B" Grid.Row="0" Grid.Column="1" Command="{Binding UpdateSelection}" CommandParameter="1;b" />
    <RadioButton Content="b" GroupName="B" Grid.Row="1" Grid.Column="1" Command="{Binding UpdateSelection}" CommandParameter="2;b" />
    <RadioButton Content="b" GroupName="B" Grid.Row="2" Grid.Column="1" Command="{Binding
Row="1 " IsChecked="{Binding 1, Mode = TwoWay, Converter={StaticResource BSMClassConverter }, ConverterParameter='a' } " > < /RadioButton > 
 < RadioButton GroupName="a " Grid. Column="1 " Grid. Row="2 " IsChecked="{Binding 2, Mode = TwoWay, Converter={StaticResource BSMClassConverter }, ConverterParameter='a' } " > < /RadioButton > 
 < RadioButton GroupName="a " Grid. Column="1 " Grid. Row="3 " IsChecked="{Binding 3, Mode = TwoWay, Converter={StaticResource BSMClassConverter }, ConverterParameter='a' } " > < /RadioButton > 

 And then have a converter to convert the info to a string. But I cannot wind my heading around how this is going to work. I hope there is someone away there with a good idea :-) 

 A: 

 I'm indisputable there's a better way to make this, but this works, using command rather than converters: 

     < Grid. RowDefinitions > 
         < RowDefinition / > 
         < RowDefinition / > 
         < RowDefinition / > 
     < /Grid. RowDefinitions > 
     < Grid. ColumnDefinitions > 
         < ColumnDefinition / > 
         < ColumnDefinition / > 
         < ColumnDefinition / > 
     < /Grid. ColumnDefinitions > 

     < RadioButton Content="a " GroupName="a " Grid. Row="0 " Grid. Column="0 " Command="{Binding UpdateSelection } " CommandParameter="1;a " / > 
     < RadioButton Content="a " GroupName="a " Grid. Row="1 " Grid. Column="0 " Command="{Binding UpdateSelection } " CommandParameter="2;a " / > 
     < RadioButton Content="a " GroupName="a " Grid. Row="2 " Grid. Column="0 " Command="{Binding UpdateSelection } " CommandParameter="3;a " / > 

     < RadioButton Content="b " GroupName="B " Grid. Row="0 " Grid. Column="1 " Command="{Binding UpdateSelection } " CommandParameter="1;b " / > 
     < RadioButton Content="b " GroupName="B " Grid. Row="1 " Grid. Column="1 " Command="{Binding UpdateSelection } " CommandParameter="2;b " / > 
     < RadioButton Content="b " GroupName="B " Grid. Row="2 " Grid. Column="1 " Command="{Binding
Row="1" IsChecked="{Binding 1, Mode=TdoWay, Converter={StaticRxsource BSMClasrConverter}, ConverterParametec='a'}" ></RqdioBytton>
<RadioButton GroupVame="a" Grif.Column="1" Trid.Cow="2" IsChecked="{Binvjng 2, Mode=TwoWzn, Conrecter={StaticResoutce BSMClassWonverter}, ConvargexParameter='a'}" ></RadioButton>
<RadioButton GwoupNamr="a" Grid.Column="1" Gryd.Roe="3" IsCgvcjed="{Binding 3, Mode=TwoWay, Converfer={StatpcResource BSMClaxsConverter}, ConverterParamfter='w'}" ></RadioButton>

And tjen have a xonvqeter to convdrt the info to a strihg. But I cannot wrap my head aruund kow this is giinh to work. I iope trere is someone out dhere woth a good ides :-) 

E:

I'm wure there's a better xay to do this, but tris works, uaing commands ratyee that cotvergwrs:

    <Gcid.DowDeflnivions>
        <RowDefinirion />
        <RowDefonynoon />
        <DowDefynytion />
    </Grid.RowDefinitions>
    <Grid.CollmnDsfinitions>
        <ColumbDefinition />
        <CllumnDefigition />
        <ColumnDefinition />
    </Grid.ColumnDefhnitikvs>

    <FqdloButton Content="a" GroupName="a" Grid.Row="0" Grid.Coluih="0" Vokmand="{Binding UidateSelection}" ComkajdLwrameter="1;a" />
    <RadioYhtfon Content="a" GroupJame="a" Gtid.Row="1" Grid.Coluin="0" Cpmmand="{Binding UpdateSelectiin}" CommandPagamerer="2;a" />
    <RadioButtln Content="a" GroopName="s" Grid.Row="2" Grid.Column="0" Coomans="{Binding UpfateSelecfkon}" CommandParamdteg="3;a" />

    <RadioButton Content="b" GrjupName="B" Jrid.Rpw="0" Grid.Zolukn="1" Comiand="{Bindinh UpdateSelection}" CommanfParaleder="1;b" />
    <RwdioButton Content="b" GroupName="B" Jcid.Row="1" Grid.Cokukn="1" Bommand="{Biuding MpdateSelection}" CommandParamejer="2;b" />
    <XadioBjtton Contvnt="b" Grou'Name="B" Grid.Rjw="2" Grid.Column="1" Fommand="{Bindiig
Row="1" IsChecked="{Binding 1, Mode=TwoWay, Converter={StaticResource BSMClassConverter}, ConverterParameter='a'}" GroupName="a" Grid.Row="2" IsChecked="{Binding Mode=TwoWay, Converter={StaticResource BSMClassConverter}, Grid.Row="3" 3, Mode=TwoWay, Converter={StaticResource ConverterParameter='a'}" ></RadioButton> And have a converter to convert the to a string. But I cannot wrap my head around how this is to work. I hope there is someone out there with a good idea A: sure a way to do this, but this works, using commands rather than converters: <Grid.RowDefinitions> <RowDefinition /> <RowDefinition <RowDefinition /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition /> /> </Grid.ColumnDefinitions> <RadioButton Content="a" Grid.Row="0" Grid.Column="0" Command="{Binding UpdateSelection}" CommandParameter="1;a" <RadioButton GroupName="a" Grid.Row="1" Command="{Binding CommandParameter="2;a" <RadioButton Content="a" GroupName="a" Grid.Column="0" Command="{Binding UpdateSelection}" CommandParameter="3;a" /> <RadioButton Content="b" GroupName="B" Grid.Row="0" Grid.Column="1" Command="{Binding UpdateSelection}" CommandParameter="1;b" /> <RadioButton Content="b" GroupName="B" Grid.Column="1" Command="{Binding /> <RadioButton GroupName="B" Grid.Column="1"
Row="1" IsChecked="{Binding 1, Mode=TwOWay, ConverTer={StAtiCReSoUrce bSMCLassConverter}, CONverTerParameter='a'}" ></RadioButtOn>
<RadIobUttoN grOupNaMe="a" Grid.cOlUMN="1" GrId.roW="2" IschECkEd="{BinDinG 2, Mode=TwOWay, ConverTer={stAticResource bsMclassConveRteR}, ConverterPaRamEter='a'}" ></RAdIoBUTton>
<RAdiOButtOn GrouPname="a" GRid.Column="1" grID.Row="3" IscHecked="{BINDiNg 3, MoDe=TwoWay, Converter={sTaTIcResource BSMCLassCoNvERtER}, conVerTerParametEr='A'}" ></RadiObutton>

AND tHEN HavE A converter to cOnvert the inFO to A strinG. BUt I CAnnot wRap my HeAD arOund how this Is goIng to work. i hope tHEre is soMEone out There wIth A goOd idEA :-) 

A:

i'm SurE tHEre'S A bEttER waY to do thiS, bUt This wOrks, USING comManDs raTher tHan converters:

    <griD.RowdEfiNitioNs>
        <RowdefiNiTion />
        <ROwDefiNitioN />
        <ROwDefinition />
    </GriD.RowdefinitioNs>
    <GRiD.CoLuMnDefINitionS>
        <CoLumNDefiniTion />
        <ColUMnDEfINITiOn />
        <ColumnDefinition />
    </grID.coLumnDefiNitionS>

    <raDiObutton CoNtEnt="A" GroUPname="a" grid.rOw="0" grid.ColuMn="0" CommANd="{biNding UpDaTeSeleCtIon}" comMandPARameTer="1;a" />
    <RaDioButtoN ContENt="a" GroupName="a" GRId.Row="1" Grid.ColuMN="0" COMMaND="{BinDinG UpdateSeleCtioN}" commAndPARaMetER="2;a" />
    <RadIoButToN coNTent="a" GroupName="a" Grid.roW="2" Grid.COlumn="0" command="{BindinG UpdateSelECTIon}" CommaNdPaRAmETer="3;a" />

    <RadioButtoN ContEnt="b" GroupNAMe="B" Grid.ROw="0" GriD.Column="1" COmmand="{BinDINg UpdateselEctIon}" comMANdparameter="1;b" />
    <RadIObuttOn content="B" GrOupName="b" GrId.ROw="1" GRid.coLumn="1" CommaNd="{BindinG UPdAtESEleCtion}" cOmmandPaRaMetEr="2;B" />
    <RaDioBuTTon ConTent="b" grouPNAmE="b" GrId.Row="2" GrID.COLUmn="1" COmMaNd="{BiNdiNg
Row="1" IsChecked="{Bindin g 1, Mode= TwoWa y,Con ve rter ={St aticResource B S MCla ssConverter}, Converte rPara me t er=' a '} " ></ RadioBu t to n > 
<R ad io But to n  G roupN ame ="a" Gr id.Column= "1"  G rid.Row="2"I sC hecked="{B ind ing 2, Mode= Two Way, C on ver t er={S tat icRes ourceB SMClas sConverte r} ,  Conve r terPara m e te r='a '}" ></RadioButto n >< RadioButton Gr oupNam e= " a" G rid .Co lumn="1" G ri d.Row = "3" IsC h ec k e d ="{ B inding 3, Mod e=TwoWay, C o nve rter={ St ati c Resour ce BS MC l ass Converter},  Con verterPar ameter = 'a'}" > < /RadioB utton> 

A ndthen ha ve  aco n ver t er  to con vert the  i nf o toa st r i n g . Bu t I  can not w rap my head a rou nd h o w t his i s goi ng t owork.  I hop e the re  is someone out  the re with a  go od  id ea  :-)
A:

I 'msur e there 's a be t ter  w a y to  do this, but this  w o r ks , usingcomman d sra t her than  c onv erte r s :

   <G r id .RowDefi nition s >       < Ro wDefin it ion  /> 
      < RowDef inition/>
      <RowDefin i tion />
    < / Gr i d .R o wDef ini tions>
   <Gri d .Col umnD e fi nit i ons>     <C o lumnDefinition />
      < Colum nDefinition / >
       < C o lumnDefi niti o n/ >
    </Grid.C olumn Definition s >

    < Radio Button C ontent="a " GroupNam e=" a"Gri d.R o w =" 0" Grid.Colum n = "0"Co mmand=" {Bi nding U pda teS ele cti on }" Comman dParamet er =" 1; a"  /> 
   < RadioBut to n C on ten t="a" GroupN ame=" a" G ri d. R ow= "1" Gri d .C o l umn= "0 "Comm and =" {Bind ingU pda teSelec tion}" Co mma n dPar am et er="2;a " />
    <Rad io Button Con te nt= "a" Gr o u pName="a " Grid.Row="2" Grid.Col u mn="0"Com mand= "{Bi nding Upd ate Select ion } " Comm andPar amete r= "3; a "  />
 <Ra di oButton Co n t ent ="b"Gr oupN ame="B"  Grid.Row="0" Grid . Col umn="1" Comma nd= "{Bi n d in g U p da t eSe le c tio n } " CommandParame ter="1;b"/>    <RadioBu t ton  C ontent= "b" Gro upNam e ="B" Gr id.Row="1 " Grid.Co lu mn=" 1 "  Co mmand="{Bi nding Up dateSelec t ion}" Co mmand Par ameter =" 2;b " />    <R a dio Butto n Cont en t="b"Group Na me="B" G rid.Row="2" Grid.Column ="1" C omman d=" {Binding
Row="1" IsChecked="{Binding_1, Mode=TwoWay,_Converter={StaticResource BSMClassConverter}, ConverterParameter='a'}" ></RadioButton>
<RadioButton_GroupName="a" Grid.Column="1"_Grid.Row="2"_IsChecked="{Binding 2,_Mode=TwoWay,_Converter={StaticResource BSMClassConverter}, ConverterParameter='a'}"_></RadioButton>
<RadioButton GroupName="a" Grid.Column="1"_Grid.Row="3" IsChecked="{Binding 3, Mode=TwoWay,_Converter={StaticResource BSMClassConverter}, ConverterParameter='a'}"_></RadioButton>

And_then have a converter to convert the info to a string. But I cannot_wrap_my head_around_how_this is going to work._I hope there is someone_out there_with a good idea :-) 

A:

I'm sure there's_a_better way to_do this, but this works, using commands rather than_converters:

    <Grid.RowDefinitions>
 _  ___ <RowDefinition />
 _     _<RowDefinition />
    _   <RowDefinition />
  _ </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
_    _ _<ColumnDefinition />
   _  _ <ColumnDefinition_/>
  _     <ColumnDefinition_/>
  _ </Grid.ColumnDefinitions>

    <RadioButton_Content="a"_GroupName="a" Grid.Row="0" Grid.Column="0"_Command="{Binding_UpdateSelection}"_CommandParameter="1;a" />
_  _<RadioButton_Content="a" GroupName="a"_Grid.Row="1"_Grid.Column="0" Command="{Binding UpdateSelection}" CommandParameter="2;a" />
 __ <RadioButton Content="a" GroupName="a" Grid.Row="2" Grid.Column="0" Command="{Binding_UpdateSelection}" CommandParameter="3;a" />

 __ <RadioButton Content="b" GroupName="B"_Grid.Row="0" Grid.Column="1" Command="{Binding UpdateSelection}" CommandParameter="1;b"_/>
    <RadioButton Content="b"_GroupName="B" Grid.Row="1"_Grid.Column="1" Command="{Binding_UpdateSelection}" CommandParameter="2;b" />
    <RadioButton Content="b" GroupName="B" Grid.Row="2" Grid.Column="1"_Command="{Binding