Long live Windows phone

Contrary to popular belief, Windows phone won't die anytime soon

XP-YESSSSSSS

Dell's already awesome XPS 15 gets even better in 2017

Surface Pwn 5

Surface Pro 5, Project NEON details leaked on LinkedIn?

Redefining the PC

Why Microsoft's Surface phone could be MUCH more than a mere 'phone'

Surface table meets Windows 10

Yes, we did put Windows 10 on the original Surface table ... and it rocks

Cream o' the crop

Before buying a Microsoft laptop, check out our pick for the absolute best

Simple and secure, just the way I like it

We think Windows 10 Cloud is a great idea, here's why

uber micro

Halo Wars 2 has something for everyone. Here's our full review.

Oldie but goldie

We reviewed Microsoft's decade-old Surface table

Creators Update comin' at ya

These are the coolest new features in the next big Xbox One update (video)

Buyer's guide

The Razer Blade 14 is the best laptop Razer has to offer

Windows 10 app gems

10 terrific Windows 10 apps you should be using

Tower of power

Here's what we think of Dell's XPS Tower Special Edition

Quite a deal

Grab the complete C# coding bootcamp for $41!

Your go-to laptop guide

Introducing our ultimate laptop buyer's guide

Listen here

Attn Android and iPhone users: What you need to know about Windows phone

Old is new?

The original Surface Pro still holds its own in the 2-in-1 world

Xbox Greenlight?

No, internet, Microsoft isn't opening Xbox to all UWP games

Falling in love

HP Envy 34 review: An ultrawide curved all-in-one after my heart

< >
Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 5 of 5
  1. Rakesh_533's Avatar
    Member

    Posts
    1 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
       #1  
    <ListBox.ItemTemplate>
    <DataTemplate>
    <!--<my:dataTemplate />-->

    <toolkit:ExpanderView>
    <toolkit:ExpanderView.Expander>
    <Border BorderThickness="1" >


    <Grid Height="65" Width="460">
    <TextBlock Text="text"/>
    <TextBlock Text="text"/>
    <TextBlock Text="text"/>
    <Image Margin="344,34,0,0" Name="image1" Width="97" />

    </Grid>
    </Border>
    </toolkit:ExpanderView.Expander>
    <toolkit:ExpanderView.Items>
    <TextBlock FontSize="20" Text="Expanded Item 1" Foreground="Blue"/>
    <TextBlock FontSize="20" Text="Expanded Item 2" Foreground="Red"/>
    </toolkit:ExpanderView.Items>
    </toolkit:ExpanderView>


    </DataTemplate>

    </ListBox.ItemTemplate>
    </ListBox>

    by default im getting an horizontal line as expandable view, please help me in removing the default horizontal line provided by the expandable view, or any alternative which might provide to replace vertical line with an image??

    ReplyReply
    QuoteQuote
  2. DarthVeda's Avatar
    Member

    Posts
    54 Posts
    Global Posts
    56 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #2  
    Hello Rakesh,

    I am not able to understand why you want to have a expanderview control in a listbox, why don't you have regular image with two text items beside it?

    I just copied your XAML code and binded an image to the path, the margin is set incorrectly for the image, all i got was this...

    if you can tell me what you are looking for in a screenshot (photoshopped might do as well), i can help you on that..
  3. ashoksolanki's Avatar
    Member

    Posts
    1 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #3  
    can you please provide me a sample code
  4. tobey_maguire's Avatar
    Member

    Posts
    1 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #4  
    I want to install the Wamp Server on my windows phone Nokia Lumia 920...!!!
    is the original software can be used here?
    OR
    It should be downloaded from anywhere else...???
    Last edited by tobey_maguire; 05-29-2013 at 07:24 AM.
  5. subbu balarau's Avatar
    Member

    Posts
    1 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #5  
    Hi,

    Sorry for the late reply,best way for removing default horizontal/vertical line of wp7 expanderview control is using expression blend.
    You may helped by my post at Windows Phone WP7 Listbox with Expander View control for collapsing & expanding listbox items. sample in C#, XAML for Visual Studio 2010

Posting Permissions

";