Issue with scroll viewer using itemswrapgrid in gridview?

Hi,
am developing a windows phone 8.1 app using C# and xaml.
i need to wrap my gridviewitems vertically.
I have 10 GridView items in my GridView am using the below code to wrap my gridview items,
but am able to see only 6 items, the scrollviewer is not coming vertically even though there are some more items.
(In the below code for reference i just added only one grid view item but i have 10 gridview items in my code ,
for every gridview item the height and width are 175 and 175 respectively)
<Page.Resources>
        <ItemsPanelTemplate x:Key="GridViewItemsPanel">
            <ItemsWrapGrid Orientation="Vertical" />
        </ItemsPanelTemplate>
    </Page.Resources>
 <GridView x:Name="landscapeGridview"  
                HorizontalContentAlignment="Stretch"
                  HorizontalAlignment="Stretch"
                  VerticalAlignment="Stretch"
                  ItemClick="GridView_ItemClick"
                  IsItemClickEnabled="True" 
                  ItemsPanel="{StaticResource GridViewItemsPanel}"
                 ScrollViewer.HorizontalScrollMode="Disabled"
                 ScrollViewer.VerticalScrollMode="Enabled"
                 ScrollViewer.HorizontalScrollBarVisibility="Visible"
                 ScrollViewer.VerticalScrollBarVisibility="Auto"
                  Grid.Row="2" Padding="10,0,0,0">   
<GridViewItem Height="175" Width="175" Margin="0,5,5,0">
                        <Border Height="165" Width="165"
                    Tag="Notes" Background="#DDECEF">
                            <Grid>
                                <Image Source="Assets/.png" Margin="0,0,0,0"></Image>
                                <Image Source="Assets/.png" Margin="0,20,20,0" HorizontalAlignment="Right"
                                   VerticalAlignment="Top" Height="40" Visibility="Collapsed"></Image>
                                <StackPanel    Background="{StaticResource ListViewItemOverlayBackgroundThemeBrush}"  
                                                 VerticalAlignment="Bottom" Margin="0,0,0,0" Height="30"
Orientation="Horizontal"
                                           >
                                    <TextBlock Text="" FontSize="20"
                             Margin="50,0,0,0"
                               HorizontalAlignment="Center" 
                                        RequestedTheme="Dark"
                               ></TextBlock>
                                    <TextBlock x:Name="notescounttxtblk" VerticalAlignment="Center" Margin="30,0,0,10"
                                      FontSize="20"></TextBlock>
                                </StackPanel>
                            </Grid>
                        </Border>
                    </GridViewItem>
</GridView>
How to get the scroll viewer to view all the items vertically?
Any help please?

Hi Santhosh,
Per my understanding, this issue is related to container definition where you put your GridView control. In this case, it is the Grid container.
First you can see a working sample,
https://code.msdn.microsoft.com/windowsapps/ListViewSimple-d5fc27dd. See the scenario 1 in windows phone project, I can reproduce your issue by setting the height of RowDefinition to “auto” where the GridView control sitting in. You need to check the height
and width property of the layout. See more information about layout in XAML.
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465337.aspx.
You’ve not mentioned the definition of the Grid layout, I assume you need change the RowDefinition. If you don’t know how, please see details in above code sample.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM.

    How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
    done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.
    shiv

    Nice, can you point me to the solution please ?
    I'm  trying to do this but I get an error : 
    Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
    StackTrace:    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)     at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)   
    All help really appreciated.

  • Issue with Tree view

    Hello experts,
    I am facing a very strange issue with tree view.
    I have created a custom component with a tree view. All data are coming in the tree view. But the strange thing is that the data is not getting displayed on the screen.
    I am sure about the data because, when I am selecting a line from the tree, the data from that line is coming to the main screen.
    Please help!!
    Regards
    Debolina

    Hi experts...
    Any pointers to this issue???
    Please help!
    Regards,
    Debolina

  • Open Transaction MM01/MM02 with multiple views using  CALL TRANSACTION

    Hi All,
    I want to open MM01/MM02 with multiple views using call transaction but in the parameter ID for Views (MMX) I can pass status of only one View.
      SET PARAMETER ID 'MAT' FIELD v_mat.
      SET PARAMETER ID 'VKO' FIELD ' '.
      SET PARAMETER ID 'MTA' FIELD IT_MOFF-MTART.
      SET PARAMETER ID 'MTP' FIELD IT_MOFF-MBRSH.
      SET PARAMETER ID 'VTW' FIELD ' '.
      SET PARAMETER ID 'BWT' FIELD ' '.
      SET PARAMETER ID 'LGT' FIELD ' '.
      SET PARAMETER ID 'MXX' FIELD 'K'.     "Sales View
      SET PARAMETER ID 'MM5' FIELD ' '.
      CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN
    Please suggest.
    Regards,
    Divya

    I do not exactly understand what you mean, but what i already did:
    - I checked that the fields are from the same type.
    - KUNNR is initialized! I already had a look to the debugger, that's why i'm posting this in this forum.
    any more comments on this ?
    maybe i have to change anything in the z-transaction. Btw, this is what the parameter looks like in the transaction:
    SELECTION-SCREEN BEGIN OF BLOCK Debitoren WITH FRAME TITLE text-001.
      PARAMETERS pkunnr type kna1-kunnr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK Debitoren.
    Edited by: Sven Delangle on Sep 3, 2010 2:42 PM

  • Compatibility issue with developer 6i using (64 bit) OS

    Hi All,
    I am using oracle 9iR2 (32 bit) on Linux Red Hat (32 bit) with developer 6i. Now i want to upgrade OS Red Hat (64 bit) and migrate database 10gR2 (64 bit).Is there any compatibility issue with developer 6i using 64 bit Red Hat OS / Oracle Database ?
    Thanks

    Is there any compatibility issue with developer 6i using 64 bit Red Hat OS / Oracle Database ?
    No, as long as developer 6i is at least patch 16. We use it.

  • Performance Issue with Crosstab Reports Using Disco Viewer 10.1.2.48.18

    We're experiencing Performance Issue (retrieving 40000 rows) with Crosstab Reports Using Disco Viewer 10.1.2.48.18 ( > 01 Minute , executing "Building Page Axis" or executing a Refresh).
    Are there parameters to tun (in pref.txt file) , in order to reduce "Building Page Axis" execution ?
    Note : We've got the same performance problem , using Discoverer Desktop 10.1.2.48.18.
    Thank's in advance for your Help.

    Hi
    Well if the same issue occurs in both Desktop and Viewer then you have your answer. It's not the way that Discoverer is running the workbook its the way the workbook has been constructed.
    For a start, 40000 rows for a Crosstab is way over the top and WILL cause performance issues. This is because Discoverer has to create a bucket for every data point for every combination of items on the page, side and top axes. The more rows, page items and column headings that you have, the more buckets you have and therefore the longer it will take for Discoverer to work out the contents of every bucket.
    Also, whenever you use page items or crosstabs, Discoverer has to retrieve all of the rows for the entire query, not just the first x rows as with a table. This is because it cannot possibly know how many buckets to create until it has all the rows.
    You therefore to:
    a) apply sufficient filters to reduce the amount of data being returned to something manageable
    b) reduce the number of page items, if used
    c) reduce the number of items on the side or top axis of a crosstab
    d) reduce the number of complex calculations, especially calculations that would generate a new bucket
    If you have a lot of complex calculations, you should consider the use of a materialized view / summary folder to pre-calculate the values.
    Does this help?
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Anyone else having an issue with TCP connections using iCloud for Windows?

    Hi,
    Before I asked this question, I did wait to see if any related questions came up, but none did, so I submit it now.
    On my admittedly older laptop running Windows 7 64b Home, I've run into difficulties with the iCloud for Windows app to the extent that I had to uninstall it.
    It would that, as my laptop was running, in the background, iCloudServices.exe would endlessly iterate TCP connections, which, while not actively sending or receiving any data, after some hours would number over 100 instances, taking up resources, and grinding my laptop's WiFi connection to a grindingly slow pace. I ended up, within the app, turning off everything, iCloud Drive and Photos, (I never used bookmarks), but still this would continue to occur.
    I contacted Apple Support, explaining what was going on, and they stated they only dealt with IOS and gave me a Microsoft Support number. When I called Microsoft support, I came more and more to the realization that the issue was specifically with the iCloud for Windows app, as that was the only software that was endlessly creating and not closing TCP connections as it was. How was Microsoft supposed to solve an issue with Apple code?
    So I called Apple back, whereupon they insisted it was a Microsoft issue. I explained other cloud services installed on the same computer were not having the same issue, it was unique to ICloudServices.exe. They stated they only dealt with IOS. I stated I purchased an iPad Air less than 7 months ago, and was trying to run iCloud in support of that.  They again stated they only dealt with IOS, and suggested I again try Microsoft. I asked them if it was reasonable to expect Microsoft to solve issues with Apple code? They said regardless, there was zero support offered for anything having to do with Windows, and all I could do was uninstall the app, which I did, though that did not feel very satisfactory to me. My thinking is, if Apple writes a Windows app in support of their hardware, they should offer support for it.
    Anyway, I was just wondering, is this an issue unique to me? or have others experienced a similar issue? I found this issue by opening the Windows Resource Monitor, looking under the Networking tab, and scrolling through the TCP Connections section to find 100+ concurrent iCloudServices.exe instances listed, whereas even Chrome, with multiple tabs and extensions, topped out at around 20.
    My one month old Desktop, DYI, sports a solid Asus 1150 MoBo, i7-4790k cpu, 16GB Ram, and an EVGA GTX 970 video card. I list some specs only to illustrate this computer has no hardware issues in comparison to my long in tooth laptop. On this desktop, running Win 8.1 Pro 64b,  at least as many, identifiably Apple, background service TCP connections are created even compared to Chrome, regardless of many tabs being open, many extensions, and even some related apps. Adobe does not even come close, though I run the full CC subscription. On this new computer, running Windows 8.1 Pro 64b, there are currently over 50 TCP connections and loopbacks that do not identify themselves, with just a - for the Image, and PID. With the experience on my laptop, I wonder how many of these are generated by Apple software, if not specifically iCloud software?
    The frustrating aspect of these connections is they seem in no way active, While the Chrome and Adobe connections can be seen to be transferring data, as long as I am not running iTunes, or so have my iPad actually plugged in, it seems 99% of the time these iCloudServices.exe connections are just taking up ports, neither sending nor receiving any data discernable to me under the Processes with Network Activity, or Network Activity lists, both displayed in the same window as the TCP Connections in the Windows Resource Monitor.
    Though I am fairly ignorant as regards coding, it seems as if there is no call to close a connection, very specifically, iCloudServices.exe, when it is no longer needed, and the next time a connection is needed, a new one is opened, rather than accessing the one previously opened. The only other reason I could imagine this might be occurring is if my Norton Internet Security software might mask and/or block the port after a certain time of inactivity.
    Anyone out there have any ideas or advice about this? Thanks in advance.

    Thanks jared,
    I'm still dealing with this issue through Apple. Some time after I posted this, I contacted Apple again. They did start a case up for me, as I was experiencing the same behavior on two different machines, with two different versions of Windows.
    So far it remains unsolved. I've logged iClouds for Windows on my desktop, which is brand new, then logged for awhile after completely uninstalling Norton Security Suite, depending on the Microsoft security for some time, and finally logged after I uninstalled iCloud for Windows, restarted, installed a clean download, and connected using a completely different test account, which Apple set up for me. None of this made any difference. Looking at the logs, it seems every 10 minutes, iCloudServices.exe creates a new TCP connection to confirm I'm using less than 5GB on iCloud, (which I am by a good margin, using less than 2GB), it seems this connection is not closed, and when the next iteration rolls around 10 minutes later, a new TCP connection is created. I come very close to having 6 TCP connections created per hour, until I restart my computer. This works out to... 6 x 24 = 144/day.
    Perhaps the article you posted will shed some further light on this. I'm thinking seeing the state of the connection through netstats, at the least, could help.
    For the last week, I've been putting a hold on further logging, as Apple wants me to create a new user account on one of my computers, install iCloud for Windows there, and log it running in the other account. This however basically means I cannot use my computer for a fair number of hours, and I've been busy enough with work the past week that I haven't the time or energy to afford to set this up and run it. I've had need of my computers too much for the past week.

  • ThinkPad USB Keyboard with TrackPoint issues with scroll (55Y9003)

    Hi Guys,
    I am having issues with this  keyboard...
    I ordered it to use it  on my work where I have Dell Vostro desktops.
    However scroll simply doesn't work in all programs and even stops working ... I also using VM and it doesn't work at all in VMWARE even if you point inside it it still operates at host system !? Weird...
    I have installed latest drivers 1.01 but nothing... So when I removed all drivers and just keep default scroll work as default but still not in all programs and not in VM Ware, etc... Just to be clear my regular mouse scroll works in all and works properly...
    Is it possible that this keyboard will work only on Thinkpads used as external keyboard ?
    There are two things to be installed when I start a disk one is driver and second one is some interface driver which can be only installed on Thinkpads ?! Couldn't be that that thing is missing when running on non Thinkpad systems?
    Any help how to make scroll work in all programs?
    Thanks.
    Moderator edit: Removed UltraNav from the title. This keyboard just has a TrackPoint.

    I have the ThinkPad USB keyboard on a non-Lenovo desktop, and it works.
    Yes the keyboard driver installs, but not the Lenovo System Interface Driver, for obvious reasons. All the buttons and TrackPoint work.
    Yes the TrackPoint does not scroll in all programs. Search the community for "trackpoint scroll fix" and you will come up with instructions on how to fix this.
    I don't work for Lenovo. I'm a crazy volunteer!

  • Issue with Adobe Viewer.

    I am a Coldfusion developer. I have an application that takes some coldfusion variables and populates a pdf form that was created in LiveCycle. In the past this worked fine. Today someone told me of an issue they are having. Now when the view this pdf in a browser the fields are not populated. This is a major drawback from the way things use to work. Is this a bug or did you intend to do this?

    Yes, I have tested on Chrome, Firefox, Safari, Opera and IE. It does not work in Firefox 19 or in Chrome 25. In Firefox I only get the hard coded text of the form. In Chrome I get the placeholder text in the form fields. Firefox shows a yellow message at the top "This PDF document might not be displayed correclty." and their is a button labeled Open With Different Viewer. Some of my users are not very tech savy and may miss that option. I am populating the form using the cfpdfform tag with an action of populate on a pdf form created in live cycle. I use the cfpdfformparam tag to put the values in the fields.

  • Issue with migrating 'WI' using 'TFS migration tool' when trying migrate from '2013 to 2013'

    Hi ,
    Our final destination is to migrate projects from TFS-2010 to TFS-2013, for testing and familiarizing with the
    migration tool we trying to migrate project within the 2013 server and between two servers of 2013,
    we don't have any issues with migrating source code, we done it successfully,
    but when we try to migrate 'WI' within same server and also tried to between two server we are getting two
    different errors respectively when tried within server and between server, unable to migrate 'WI' in any scenario, log files attached for the same. Log file 'error-1' is the errors generated while trying migrate 'wI' within the same server and 'error-2' is
    the errors generated while trying migrate 'wI' between two server, Need ur guidelines to over come these issues.

    Hi Sham,
    Based on your description, I'd like to know the version of TFS integration tools you're using and the error details when migrate work items. If you use TFS integration tools 2012, please make sure you have Team Explorer 2012 installed on your server machine.
    Please also let us know the configuration you used for the migartion. If you migrate between different domains, make sure the domains have two-way trust relationship. If the issue persists, check the event logs to see if there any useful information and
    elaborate more details about your scenario with screenshots.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Issues with DVD quality  using iDVD

    Dear All,
    I badly need advice on a very frustrating problem: I'm having major issues with the quality of the DVDs burnt on my iMac when using iDVD.
    Here below are the steps that I follow
    I upload the HDV 1080i 60 footage to FCE 4 using the apple Intermediate codec.
    Once the editing is done, I export to QT (self-contained)
    I use the QT in iDVD and then burn it
    The result is sub-par compare to any street DVDs, the motion is sometimes slightly jerky.
    What do I do wrong? Coming from HDV footage, I would expect a cisp and clear result in standard definition DVD.
    I am wondering if this has to do with the capability of my equipment or a poor use of both softwares.
    Thank you in advance for the advices
    produced using

    After rendered everything did the video resolution and quality look good in FCE when you set your canvas view size to 100%?
    If the answer to the first question is yes, then the export settings are the problem. Please list all the settings used for your QT export.

  • Performance Issue with PAY_BALANCE_VALUES_V View in Oracle R12

    Dear all ,
      We have recently upgraded from 11i(11.5.10.2) to R12(12.1.3). We are facing one Issue with slow performance of the queries where PAY_BALANCE_VALUES_V is used. We have so many reports & logic in Payroll which uses this View.
    In 11i this works fine, however in R12 it takes very long time. There are no configuration changes we have done from 11i to R12.
    Is there any way to optimize the performance or alternate way to retrieve the Balances Data in Payroll ?
    Any heads up would be highly Appreciated.
    Thanks,
    Razi

    Hi Razi,
    The balance related performance issue is written in the following note.
    Note:1494344.1 UK Payslip Generation - Self Service Program Takes Much Time To Complete (Performance Issue)
    This issue was fixed in HR_PF.B RUP6 or patch:14376786. Did you apply this patch? If not, I suggest you apply it.
    Also, HR_PF.B RUP6 has some balance related performance issues.
    If you already have applied HR_PF.B RUP6, I suggest you log a SR with SQL trace.
    Thanks,
    Hideki

  • Issues with pagination when using Adobe table with Web dynpro for ABAP

    Hi All,
    I am facing strange issue with table text.
    I have three cols in table, one is of type Char255 and other two cols are of type string.
    The text in the col 1 is displayed perfectly but in other two cols of type string whenever we have pagination the text in table is getting truncated and in next page new row starts.
    Could you please tell me the settings that will enable flowing of text in the row of table to next page.
    Thanks,
    Arti.

    Check the properties of the text field you use for those columns (if you want to control it on this level) or check the same attribute for the row subform (one level up control): "allow page break within content".
    Regards Otto
    p.s.: we all have deadlines... and manage to pay something back. Think about it.

  • Issue with SaveAs PDF using XSLFOP

    Hi, We have been using SaveAs method to generate PDF files using XSLFOP technique successfully, however, recently we ran into an issue where a very large report (about 100+ pages) generated a PDF file that could not be opened. We get the following error when we try to open the PDF file. “There was an error opening this document. The file is damaged and could not be repaired.” We tried it again with lesser range of dates and the proper PDF file is generated. (Report was about 35 pages). So we think it has something to do with the large volume of data which is causing the SaveAs method to generate the corrupt PDF file. Any help will be much appreciated !! Note : In the same folder where we have the EXE,PBD and DLLs, we have two subfolders fop-0.20.5 and jre. Thanks, Chirag Vora

    Hello Chirag,
    We submitted this problem to engineering 10 years ago with PowerBuilder 9 !!!
    It appears to be a problem with the FOP processor which needs a large amount of memory to complete the task. You can find similar issues with other tools than PowerBuilder:
    The oXygen-user October 2003 Archive by thread
    As a workaround, you can save the data in XSL-FO format within PowerBuilder, then use the fop.bat file in the \Shared\PowerBuilder\fop-0.20.4\ folder to convert it from outside PB.
    This will still give you the memory error until you modify the batch file to increase the maximum heapsize for java.
    In the fop.bat file change the java start command to : java -Xms64m -Xmx256m ...
    The option -Xms definies the initial heapsize for the java engine and -Xmx the maximum heapsize.
    We believe the default maximum heap is 64MB and this is what it is running into (or running out).
    Setting it to 256MB with -Xmx and it was able to complete
    HTH,
    Jacob

  • I am having sound issues with Pottermore while using Safari 6.1. I once muted the sound and now can't unmute it even though the icon tells me it's unmated. I can hear samples of audio books in the store section.  Any ideas?

    I am having sound issues with the website Pottermore while using Safari 6.1. I once muted the sound and now can't unmute it even though the icon tells me it's unmuted. I can hear samples of audio books in the store section.  Any ideas? I have reset Safari.  Website works fine on Firefox.

    I am having sound issues with the website Pottermore while using Safari 6.1. I once muted the sound and now can't unmute it even though the icon tells me it's unmuted. I can hear samples of audio books in the store section.  Any ideas? I have reset Safari.  Website works fine on Firefox.

Maybe you are looking for

  • Urgent Please.... Help on https issue

    Hi, I have CSS11501, i have problem during accessing the server with the VIP only when using https, ssl certificates has been installed in CSS. That is i tried with http only and it worked fine. but when use https im getting a session expired all the

  • ANNOYING EMAIL ACCOUNT SETUP!!!

    I'm trying to set up my email, and its just stuck on picking the email service i have. SOME ONE HELP! Its been there for awhile and its bothering me I can't even quit the app.

  • Uninstalling Photoshop CS4 from a Mac with Yosemite, which cannot open CS4.

    I have Photoshop CS4 installed on a Mac.  I recently upgraded to Yosemite and now am not able to open it.  The Java OS that is recommended to solve the problem refuses to download.  Thus I would like uninstall Photoshop CS4 but cannot do so.  Please

  • LR5 Develop Module, Tone Curve gone missing.

    Hi can anyone suggest how I can get the Tone Curve back. I've done all the usual checks. One day it was there and the next it was gone. I'm using a MacBook Air.  (no problem with LR5 on my MBP)

  • Settings between Lightroom 4 and CS5 or CS6

    I know I must have some setting(s) incorrect because there is a color shift between Lightroom and CS.