Row indicator and Row Selected Style Promble

7 posts, 0 answers
  1. yong kong
    yong kong avatar
    8 posts
    Member since:
    Dec 2009

    Posted 20 Jun 2012 Link to this post



    Telerik Silverlight version: 2012.2.607.1050 
    RadGridView in the first load data, Row Indicator  and row selected style is error.
    You can find error in  Scrolling 1 Billion Cells(http://demos.telerik.com/silverlight/#GridView/UIVirtualization )


    It work well in RadControls for Silverlight Q1 2012 version . 
    Attach file will display RadGridView work well in same sample  Silverlight Q1 2012 version .
    .


  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 22 Jun 2012 Link to this post

    Hello,

    Thank you for the feedback.

    We will check the problem and will contact you as soon as we have more information.
     
    Kind regards,
    Yordanka
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 05 Jul 2012 Link to this post

    Hello yong,

    Indeed, there is difference in the new version. With this version we added a new state of gridview row - unfocused, e.g. the state of the row when the grid is not focused. Once the grid get the focus, the row state will be changed to selected.
     
    All the best,
    Yordanka
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Sven J
    Sven J avatar
    26 posts
    Member since:
    Nov 2009

    Posted 10 Aug 2012 Link to this post

    Hi

    how can I change the color of the unfocused selected row?

    Thanks in advance,
    Sven
  6. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 10 Aug 2012 Link to this post

    Hello,

     You can modify the state in the GridViewRow template using Blend. Please refer to our documentation about our Blend support. 

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. Konstantinos
    Konstantinos avatar
    3 posts
    Member since:
    Aug 2012

    Posted 13 Dec 2012 Link to this post

    Hi Vlad,

    I have the same question with Sven and I don't want to use Blend. How can I modify the background color of the selected row when my WPF RadGridView is not focused? I use the following style trigger to restyle my rows:

    <Common:RadGridViewWithSelectedItemsEditable.RowStyle>
        <Style TargetType="{x:Type telerik:GridViewRow}">
            <Style.Triggers>
                <DataTrigger Binding="{Binding DataContext.HighLight, RelativeSource={RelativeSource AncestorType=UserControl}}" Value="True">
                    <Setter Property="Background" Value="Red"/>
                    <Setter Property="Foreground" Value="Black"/>
                </DataTrigger>
                <DataTrigger Binding="{Binding DataContext.HighLight, RelativeSource={RelativeSource AncestorType=UserControl}}" Value="False">
                    <Setter Property="Background" Value="Yellow"/>
                    <Setter Property="Foreground" Value="Black"/>
                </DataTrigger>
            </Style.Triggers>
        </Style>
    </Common:RadGridViewWithSelectedItemsEditable.RowStyle>

    Thanks!
  8. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 14 Dec 2012 Link to this post

    Hello,

     Actually any serious development for both Silverlight and WPF (and now Windows 8 XAML) is impossible without Blend.

    Greetings,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner