1. Rakesh_533's Avatar
    <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
    07-31-2012 02:52 AM
  2. DarthVeda's Avatar
    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..
    08-13-2012 11:31 PM
  3. ashoksolanki's Avatar
    can you please provide me a sample code
    01-16-2013 08:09 AM
  4. tobey_maguire's Avatar
    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.
    03-19-2013 02:33 AM
  5. subbu balarau's Avatar
    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
    06-28-2013 05:19 AM
LINK TO POST COPIED TO CLIPBOARD
We have updated our Privacy Policy and Terms & Conditions. Please check them out.