1. the great vinay's Avatar
    I am building a very basic ( I am a super beginner to windows phone and programming). I want to convert some pages in word as Windows Phone Application. it just contains text and inline images I have decided to go with panorama

    1. inserted the panorama to plain WP8 app
    2. Inserted Scrollbox
    3. inserted textblock inside scrollbox


    but when i need to insert the image between the text it doesn't work. I have tried including by adding reference, copying along with text. I know this app should be dead easy one but no demo or sample apps for this problem . I have made all the changes using Xaml and its a C# based app.

    is this can be done with data binding ?

    What should I do now ?

    This throws an error when i inserted with image with help of toolbar.

    [CODE]<InlineUIContainer>
    <Image Height="225.6" Stretch="Fill" Width="376">
    <Image.Source>
    <BitmapImage UriSource="/ApplicationIcon.png"/>
    </Image.Source>
    </Image>
    </InlineUIContainer>

    Error 1 Cannot add value of type 'System.Windows.Documents.InlineUIContainer' to a 'InlineCollection' in a 'System.Windows.Controls.TextBlock'[/CODE]
    12-07-2013 02:10 PM
  2. Laura Knotek's Avatar
    Moved to Developers Corner forum, since developers should be better able to assist.
    12-08-2013 04:25 AM
  3. polomint's Avatar
    Which version of VS are you using. I'll try it now.
    12-08-2013 05:25 AM
  4. nemecek_f's Avatar
    I would personally use bunch of TextBlock and Image controls positioned in Grid or StackPanel.
    12-08-2013 05:36 AM
  5. polomint's Avatar
    I would personally use bunch of TextBlock and Image controls positioned in Grid or StackPanel.
    I would agree if it's just going to be static text/images. You can lay them out at design time easily enough.
    12-08-2013 05:38 AM
  6. the great vinay's Avatar
    I am using Visual Studio 2012 and of course I am using static text and image and designed using xaml designer using toolbox. the above quoted code is what i obtained after inserted image which shows error .
    12-08-2013 05:48 AM
  7. polomint's Avatar
    I am using Visual Studio 2012 and of course I am using static text and image and designed using xaml designer using toolbox. the above quoted code is what i obtained after inserted image which shows error .
    I would go with what nemecek_f said then and create it using a grid and placing a bunch of TextBlock and Image controls. Either that or parse the data and create the objects on the fly in code. The first option sounds much better to me lol.
    12-08-2013 06:29 AM
  8. the great vinay's Avatar
    Thanks a lot developers. Now I can insert images. But another question. How to insert image inline the text ? and a issue with scrollviewer . how to view the bottom part of scrollviewer. Should i have to extend the area of the scrollviewer entirely below ? how do I know all the text got covered.
    screenvs.png
    12-08-2013 10:02 AM

Similar Threads

  1. Replies: 7
    Last Post: 12-27-2013, 02:59 AM
  2. Replies: 15
    Last Post: 12-09-2013, 02:09 PM
  3. How to update Tower information for better reception
    By lorenzoscott78 in forum Nokia Lumia 1520
    Replies: 3
    Last Post: 12-07-2013, 09:55 PM
  4. Losing the haptic feedback on the front keys for the second time
    By iSummerSmiles in forum Nokia Lumia 720
    Replies: 2
    Last Post: 12-07-2013, 09:52 AM
  5. I am not able to see synced videos in lumia 925
    By Bhushan Bapat in forum Nokia Lumia 925
    Replies: 1
    Last Post: 12-07-2013, 08:32 AM
LINK TO POST COPIED TO CLIPBOARD