Item width 100% screnn

2 posts, 0 answers
  1. Nbj
    Nbj avatar
    1 posts
    Member since:
    Dec 2011

    Posted 29 Jan 2014 Link to this post

    1. I use DataBoundListBox
    2. I use datatemplate selector in this control.
    3. if I use datatemplate selector for items in this, the items aren't 100% screen width (horizontal aligment stretch)
    4. Qestion is What I should to do?

    In normal ListBox I can:
    <Style TargetType="ListBoxItem">
    <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>

    but code bellow doesn't work

                                <Style TargetType="telerikPrimitives:RadDataBoundListBoxItem">
                                    <Setter Property="HorizontalContentAlignment" Value="Stretch"/>

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1508 posts

    Posted 31 Jan 2014 Link to this post

    Hello Nbj,

    Thank you for contacting us. I was unable to reproduce the issue you described. Could you please take a look at the attached project and let me know if I am missing anything.

    Kiril Stanoev
    If you want to get updates on new releases, tips and tricks and sneak peek previews directly from the developers working on the UI for Windows Phone, subscribe to the blog feed now.
  3. DevCraft banner
Back to Top