Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1375
ColumnLayout Header
posted

if you template out the header section for a column layout, how would you bind your control to the headerText property?  is it possible?  is it possible to bind you control to a property in the row class?

<Style x:Key="myChildBandHeaderStyle"
       TargetType="my:ChildBandCellControl">
    <Setter Property="Margin"
      Value="100,10,0,10" />
               
                <!--<Setter Property="Background"
                        Value="Transparent" />-->
    <Setter Property="Template">
     <Setter.Value>
      <ControlTemplate TargetType="my:ChildBandCellControl">
       <StackPanel>
        <TextBlock Text="{Binding Value}" />
       </StackPanel>
      </ControlTemplate>
     </Setter.Value>
    </Setter>
   </Style>

Parents Reply Children