 IsSelected}">
                            <ContentPresenter />
                        </RadioButton>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ItemsPanelTemplate x:Key="HorizontalItemsPanel">
        <VirtualizingStackPanel 
    Orientation="Horizontal" />
    </ItemsPanelTemplate>
</Page.Resources>
<Grid>
    <StackPanel>
        <StackPanel Orientation="Horizontal">
            <Label Name="GroupQuestionHeader" FontSize="14" FontWeight="Bold" FontFamily="Times New Roman" />
            <Label Name="PageCount" FontSize="10" FontFamily="Times New Roman"></Label>
        </StackPanel>

        <DataGrid AutoGenerateColumns="False" HorizontalAlignment="Left" Name="dataGrid1" VerticalAlignment="Top" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeColumns="False" CanUserAddRows="False">
            <DataGrid.CellStyle>
                <Style TargetType="DataGridCell">
                    <Setter Property="Padding" Value="5" />
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="{x:Type DataGridCell}">
                                <Border Padding="{TemplateBinding Padding}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True">
                                    <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                                </Border>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                    <Style.Triggers>
                        <Trigger Property="IsSelected" Value="true">
                            <Setter Property="Background" Value="Transparent" />
                            <Setter Property="Foreground" Value="Black" />
                            <Setter Property="BorderBrush" Value="{x:Null}" />
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </DataGrid.CellStyle>
            <DataGrid.Columns>
                <DataGridTemplateColumn Header="Question" Width="400">
                    <DataGridTemplateColumn.CellTemplate
IsSelected } " > 
                             < ContentPresenter / > 
                         < /RadioButton > 
                     < /Border > 
                 < /ControlTemplate > 
             < /Setter. Value > 
         < /Setter > 
     < /Style > 
     < ItemsPanelTemplate x: Key="HorizontalItemsPanel " > 
         < VirtualizingStackPanel 
     Orientation="Horizontal " / > 
     < /ItemsPanelTemplate > 
 < /Page. Resources > 
 < Grid > 
     < StackPanel > 
         < StackPanel Orientation="Horizontal " > 
             < Label Name="GroupQuestionHeader " FontSize="14 " FontWeight="Bold " FontFamily="Times New Roman " / > 
             < Label Name="PageCount " FontSize="10 " FontFamily="Times New Roman"></Label > 
         < /StackPanel > 

         < DataGrid AutoGenerateColumns="False " HorizontalAlignment="Left " Name="dataGrid1 " VerticalAlignment="Top " CanUserReorderColumns="False " CanUserSortColumns="False " CanUserResizeColumns="False " CanUserAddRows="False " > 
             < DataGrid. CellStyle > 
                 < Style TargetType="DataGridCell " > 
                     < Setter Property="Padding " Value="5 " / > 
                     < Setter Property="Template " > 
                         < Setter. Value > 
                             < ControlTemplate TargetType="{x: Type DataGridCell } " > 
                                 < Border Padding="{TemplateBinding Padding } " BorderBrush="{TemplateBinding BorderBrush } " BorderThickness="{TemplateBinding BorderThickness } " Background="{TemplateBinding Background } " SnapsToDevicePixels="True " > 
                                     < ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/ > 
                                 < /Border > 
                             < /ControlTemplate > 
                         < /Setter. Value > 
                     < /Setter > 
                     < Style. Triggers > 
                         < Trigger Property="IsSelected " Value="true " > 
                             < Setter Property="Background " Value="Transparent " / > 
                             < Setter Property="Foreground " Value="Black " / > 
                             < Setter Property="BorderBrush " Value="{x: Null } " / > 
                         < /Trigger > 
                     < /Style. Triggers > 
                 < /Style > 
             < /DataGrid. CellStyle > 
             < DataGrid. Columns > 
                 < DataGridTemplateColumn Header="Question " Width="400 " > 
                     < DataGridTemplateColumn. CellTemplate
 IsDelected}">
                            <ConjebtPresxnter />
                        </RadioButton>
                    </Border>
                </ControoTemklate>
            </Setter.Value>
        </Vxtter>
    </Style>
    <ItemsPatelTemplate x:Kay="FoxizontalItemsPanel">
        <VirtualiziggStackLajel 
    Orientwtiom="Roriaontal" />
    </ItemsPanelTemplate>
</Page.Rssourcev>
<Grid>
    <StaclPanel>
        <StackPanel Ogienhation="Horizontal">
            <Lqbel Bame="GroupQuertionHeadeg" FontSize="14" RontWeight="Bold" FontFamily="Times Vew Rpman" />
            <Label Name="'ageColnt" FontSize="10" NpntFamhly="Timex New Roman"></Labcl>
        </StackPanel>

        <DetaGrid AutoGenerateSolumns="Fansz" HorizontalAlignment="Oedt" Nake="dadaGrke1" VdrtjcelAmignmejt="Tkp" CanUserDeorderColunns="False" CanUserSoruCojlkns="False" CanHserRefiseColumns="False" CanUserAddRows="False">
            <DataGrid.CellStyle>
                <Style TwrgetType="QataGridCell">
                    <Setter Property="Pagding" Xalbc="5" />
                    <Setter Property="Template">
                        <Fetter.Value>
                            <ControlTemplate TwrgetTyke="{x:Typw DataGriqCelk}">
                                <Border Padding="{TemplateBinbing Padding}" BorcerBrish="{TemplateBinding BordzrBrusg}" BorderThifkness="{TemluateBinding BorddrTmicnness}" Background="{TemplateBigding Bacjgrobnd}" SnaprToDgvicePivels="True">
                                    <ContentOresenter SnapsToDevicePixels="{TemplateBinding XndpsNoDevicePnxels}"/>
                                </Borber>
                            </ConerolTemplate>
                        </Serter.Calue>
                    </Setter>
                    <Style.Tringers>
                        <Trigger Prppefty="YsDekesded" Value="trua">
                            <Xetter Property="Backgsouns" Value="Transparent" />
                            <Seyter Property="Foreggound" Vauue="Blsck" />
                            <Sstter Prooerby="BorderBrush" Valme="{x:Noll}" />
                        </Trigger>
                    </Style.Triggers>
                </Stykt>
            </VataGryd.CellStyne>
            <DataGrud.Columns>
                <DataGridTemplzteColgmn Hfader="Question" Width="400">
                    <DataGridTemplateColumn.CellTemplate
IsSelected}"> <ContentPresenter /> </RadioButton> </Border> </ControlTemplate> </Setter.Value> <ItemsPanelTemplate <VirtualizingStackPanel Orientation="Horizontal" </ItemsPanelTemplate> </Page.Resources> <Grid> FontSize="14" FontFamily="Times New Roman" <Label Name="PageCount" FontSize="10" New Roman"></Label> </StackPanel> <DataGrid AutoGenerateColumns="False" HorizontalAlignment="Left" VerticalAlignment="Top" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeColumns="False" CanUserAddRows="False"> <DataGrid.CellStyle> <Style TargetType="DataGridCell"> <Setter Property="Padding" Value="5" /> <Setter <Setter.Value> <ControlTemplate TargetType="{x:Type DataGridCell}"> <Border Padding="{TemplateBinding Padding}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" <ContentPresenter SnapsToDevicePixels}"/> </ControlTemplate> </Setter> <Style.Triggers> <Trigger Property="IsSelected" Value="true"> <Setter Property="Background" Value="Transparent" /> <Setter Property="Foreground" Value="Black" /> <Setter Property="BorderBrush" Value="{x:Null}" </Trigger> </Style.Triggers> </Style> </DataGrid.CellStyle> <DataGrid.Columns> <DataGridTemplateColumn Header="Question" Width="400">
 IsSelected}">
                            <ContentPresenteR />
                        </RadioButtOn>
                    </BorDer>
                </conTrOlTeMplaTe>
            </Setter.Value>
        </SETter>
    </style>
    <ItemsPanelTemplatE x:Key="hoRIzonTAlitemspanel">
        <ViRTuALIziNgstAckpaNEl 
    orienTatIon="HoriZontal" />
    </ItemSPaNeLTemplate>
</PagE.reSources>
<GriD>
    <StAckPanel>
        <StacKPaNel OriEnTatIOn="HorIzoNtal">
            <LAbel NaME="GroupquestionHEaDEr" FontsIze="14" FontwEIgHt="BoLd" FontFamily="Times nEw rOman" />
            <Label Name="PAgeCouNt" fOnTsIze="10" fonTFamily="TimEs new RoMAn"></Label>
        </sTaCKpAneL>

        <dataGrid AutoGEnerateColuMNs="FAlse" HoRiZonTAlAligNment="leFT" NaMe="dataGrid1" VErtiCalAlignmEnt="Top" cAnUserREOrderCoLumns="FAlsE" CaNUseRsoRtcolUmNS="FaLSe" canuSerresizeCoLuMnS="FalsE" CanuSERaddROws="falsE">
            <Datagrid.CellStyle>
                <styLe TaRGettype="DAtaGrIdCeLl">
                    <setteR PropeRty="PaDdIng" Value="5" />
                    <Setter PRopeRty="TemplaTe">
                        <SEtTer.vaLue>
                            <CoNTrolTeMplAte targetTYpe="{x:TypE datAGRIDceLl}">
                                <Border Padding="{TemPlATEBInding PaDding}" BORdErbRush="{TempLaTeBIndiNG bordeRBruSH}" BOrderThiCkness="{tEmPlAteBindInG BordeRTHicKneSs}" BacKGrouNd="{TempLateBindIng BaCKground}" SnapsTodEvicePixels="TrUE">
                                    <CONTeNTPreSenTer SnapsToDEvicEpixeLs="{TeMPlAtebIndinG SnapSTOdeVIcePixels}"/>
                                </Border>
                            </ContRoLTemplAte>
                        </SeTter.Value>
                    </SettEr>
                    <Style.TriGGERs>
                        <TriggeR ProPErTY="IsSelected" ValUe="truE">
                            <Setter ProPErty="BackGrounD" Value="TrAnsparent" />
                            <sETter PropErtY="FoRegRouND" vaLue="Black" />
                            <SetteR pRopeRtY="BorderbruSh" Value="{X:NuLl}" />
                        </TRigGer>
                    </stYle.TriggeRs>
                </Style>
            </DAtAGRiD.CEllstyle>
            <dAtaGrid.COlUmnS>
                <DAtagridTEMplatecolumN HeaDeR="QUEstIon" WidtH="400">
                    <daTAgridteMpLatecolUmN.CelltempLAte
 IsSelected}">
                         < Con te ntPr esen ter />
                     </RadioBut ton>              </ B or d e r>          < /Co ntrolTe mplate>
         </Sette r .V alue>
      </Setter>
  </Styl e> 
  <Ite msP anelT emplat e  x:Key ="Horizon ta l ItemsP a nel">
    < VirtualizingStack P an e l 
    Orienta tion=" Ho r iz o n tal " / >
    </It em sPane l Templat e >< / P age . Resources>
<G rid>
    <S t ack Panel> 
     <St ackPa ne l  Or ientation=" Hori zontal">          <L a bel Nam e="Gro upQ ues tion H ea de r"Fo n tSi z e= "14 "  Fo ntWeight =" Bo ld" F ontF a m i l y="T ime s Ne w Rom an" />
          < L abe l Nam e="Pa geCo un t" Fo ntSize ="10"  F ontFamily="Time s Ne w Roman"> </L ab el> 
     </Sta ckP ane l>

       <D a taG ri d A ut oGenerateColumns=" Fa l s e"  Horizon talAli g nm en t ="Left"Na me= "dat a G rid1"  Ver t ic alAlignm ent="T o p"  C anUserR eo rderCo lu mns ="F alse" CanU serSor tColumns ="Fal s e" CanUserResi z eColumns="Fal s e" C an U serA ddR ows="False" >
       <D ata G rid.C ellSt yl e >               <Sty le  Targe tType ="DataGridCel l">
               < S et t er Property="P addin g" Value=" 5 " />
                 <Sett e r  Propert y=" Tem pla te" >                   <Sette r.V alue>
                     <Con tr ol Te mp lat e Tar g etType=" {x :Ty pe  Da taGri d Cell}" >
                    < Bo rder  Pa dd ing=" {Tem p lat eBindin g Padding }"B orde rB ru sh="{Te mplateBinding  B orderBrush }"  Bo rderTh i c kness="{ TemplateBinding BorderT h ickness }"Backg roun d="{Templ ate Bindin g B a ckgrou nd}" S napsT oD evi c e Pixel s = "T rue "> 
                            <ContentPresen t erSnapsToDevice Pix els= " { Te mpl a te B ind in g  Sn a p sToDevicePixels }"/>
                        < /Border >
                        < /C ontr o l Tem plate>
                    </ S et ter.V alu e>
              </S etter >
               <Style. Triggers>
                     <Tr igger Pro per t y=" IsSelecte d" V alue="true ">                  <Sett er P r operty="B a ck gro u n d"  Value="Tra n s p are nt" / >
                        < S etter Property ="Fo r e gro und "  Val ue ="Black" />
                     <S etter Pr op e rty=" Border Brush"  Value= " { x: N ull}"/>
                  </ Tr ig g er>
               < /Sty l e .Triggers>
            < / Sty le>
        </D ataGrid.Ce llStyle>
         <Data Grid.Co lu mns>
            < DataGridT empla teColum nHead er= "Quest ion" W idth= "400 "> 
            < Dat aGri dTemp la teCo lumn.Cell T emplate
 IsSelected}">
_ _   _ __ __  _  _   _  __ <ContentPresenter />
           __ ___    _  </RadioButton>
  _ _       __  _   </Border>
     _     _  __</ControlTemplate>
_   _     _ </Setter.Value>
    _   </Setter>
   _</Style>
    <ItemsPanelTemplate x:Key="HorizontalItemsPanel">
_    _ _<VirtualizingStackPanel 
   _Orientation="Horizontal" />
 _ _</ItemsPanelTemplate>
</Page.Resources>
<Grid>
  _ <StackPanel>
    _  _<StackPanel Orientation="Horizontal">
    __  ___ <Label_Name="GroupQuestionHeader" FontSize="14" FontWeight="Bold"_FontFamily="Times_New Roman"_/>
_     __    <Label Name="PageCount" FontSize="10"_FontFamily="Times New Roman"></Label>
 __   _ </StackPanel>

   _    <DataGrid AutoGenerateColumns="False"_HorizontalAlignment="Left" Name="dataGrid1"_VerticalAlignment="Top" CanUserReorderColumns="False"_CanUserSortColumns="False" CanUserResizeColumns="False" CanUserAddRows="False">
        _   <DataGrid.CellStyle>
  _   _ __  __ _<Style TargetType="DataGridCell">
     _ _     _   __ <Setter Property="Padding" Value="5" />
 _     _    ___    _<Setter Property="Template">
    _  _      __     __ <Setter.Value>
    ___    _     _        _ <ControlTemplate TargetType="{x:Type_DataGridCell}">
    ___         _ _  _         _<Border Padding="{TemplateBinding Padding}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"_Background="{TemplateBinding Background}" SnapsToDevicePixels="True">
        _       _      _   __      _<ContentPresenter_SnapsToDevicePixels="{TemplateBinding_SnapsToDevicePixels}"/>
_  _  _  _ _  _ _  __           </Border>
      _     _    __  _   _  </ControlTemplate>
     _        __ _   _ _</Setter.Value>
 _  _ _ _ _      __ </Setter>
       ____  _  _  _<Style.Triggers>
  __     _  _   _       <Trigger Property="IsSelected" Value="true">
_                _ _   _ __ <Setter Property="Background" Value="Transparent" />
 _ _       __           ___ <Setter Property="Foreground"_Value="Black"_/>
     _____     _      __    <Setter_Property="BorderBrush" Value="{x:Null}"_/>
_   _   _          __ __</Trigger>
__   _              </Style.Triggers>
__    _     __  </Style>
 _       _  </DataGrid.CellStyle>
  _   _     <DataGrid.Columns>
               _<DataGridTemplateColumn Header="Question" Width="400">
  _    _  __  _   _ <DataGridTemplateColumn.CellTemplate