Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Re: Binding data to row selector pane

  •  04-24-2008, 2:59 PM

    Re: Binding data to row selector pane

    Here is a quick example

     <Style x:Key="itemIndexSelectorStyle"
               
    TargetType="{x:Type xcdg:RowSelector}">
          
    <Setter Property="Content"
                  
    Value="{Binding RelativeSource={RelativeSource Self}, Path=ItemIndex}"/>
        
    </Style>
        
    <Style TargetType="{x:Type xcdg:DataRow}">
          
    <Setter Property="xcdg:RowSelectorPane.RowSelectorStyle"
                  
    Value="{StaticResource itemIndexSelectorStyle}" />
        
    </Style>

    If you are refering to the RowSelectorPane itself and not its items, then you will need to redo the TableViewScrollViewer as demonstrated here: http://xceed.com/CS/files/folders/jenny/entry11522.aspx


    Technical Writer - Xceed Software

    Of all the things I've lost, I miss my mind the most. - Mark Twain
    Filed under:
View Complete Thread
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.