I have a windows 8 application that has both list views and grid views. I see the following behavior when multi-selecting items on touch screens:
Grid View: Swipe down on touch screen for selecting items
List view: Swipe left or right for selecting items
Is this the standard behavior? I could not find any documentation on this.
This is for a Windows 8 Store App.
You didn't say whether you were writing WPF or Windows Store Apps, but as always, MSDN is the place to look for documentation either way. For WPF, you have:
ListView Class
GridView Class
And for Windows Store Apps, you have:
ListView Class
GridView Class
If you can't find the information that you need there, then I imagine the next best thing would be to create a simple application without setting any extra properties on your controls and then just try swiping them and then that will be the default behaviour.
Related
I have developed a Windows 10 app and I have List View with ListViewItems, when user clicks on the item, I am navigating it to new page in which details are shown for that ListViewItems. Now, my app needs to be used for desktop app also, so how can I combine these two views into one similar as Split View (left side item List and right side its data). Example Skype Preview app, in that when device is in landscape mode, then it shows, left side contacts list and right side chat details. I want to achieve same in my app. Is there any easy way to achieve this requirement or I need to create new UI for this?
You can refer to the official Master/detail sample. When on PC, it uses ContentPresenter and bind its content to the selected item of ListView. And when on Mobile, it uses navigation to navigate to the detail page and together pass the selected item as parameter to the detail page.
Is there any easy way to achieve this requirement or I need to create new UI for this?
I think it is needed to modify your layout, and you can use VisualStateManager to make your layout adjust to the window's size.
What is the terminology for the extended automatic loading of a ListBox in windows phone 8 xaml.
So when you are scrolling and you get to near the bottom of the list, it automatically calls a function or Command or whatever that adds more data to the bottom of the list so you can continue to scroll.
I can't think of what to search for :S
I am using an MVVM style of architecture and have used button Command Bindings for everything, so I guess if there is a Viewmodel way of doing the automatic updating, that'd be swell!
This is virtualizing :)
Read about it at the following page, please
I would like to make a Facebook like app which has a dropdown list when clicked on the toolbar button, the view then will have a table view and user can choose one of them then change the view of the MainViewController. So far, I've just added the toolbar items but yet not knowing how to implement the bit that draws a new viewcontroller, please help!
That is not a built-in control in iOS (for iPhone). There is the the popover control for iPad (see here), but that is only for the iPad.
I did a quick search and found FPPopover, but I have not used it before. I'd start there, otherwise what you're looking for is an "implementation of popover control for iPhone".
I am doing my current application in XAML/C# Windows Store apps, i load the bulk of Items in to the ListView to maintain the Virtualization in the page. I use the GestureRecognizer to obtain the Transition and Zooming of my control. My all these UIElements are inside the DataTemplate of my ListView. GestureRecognizer working fine without ListViewer.
But when ItemsControls comes into the picture, it stopped working and does not do any Transform in the page. Is there any workaround of this problem ?. I could guess some of the guys also facing this problem.
Could you please anyone help me on this ?
I am an experienced coder who is trying to learn C# and WPF. Now, I am a bit of a stickler for detail, and I want to make sure my applications blend in with the rest of the user interface. However, I cannot seem to get this done using a ListView. My setup is simple - add a ListView to my window, bind to an ObservableCollection of my choice, and run the application.
The result is that the items pop up just fine (be it without meaningful contents). However, the selection rectangle on a ListView is always the dark blue that throws me back to the pre-XP days as opposed to the neater themed selection you have using the default Windows 7 visual style. To see that kind of selection in action, just select a file in explorer, or for another example look in the Programs and Features in the Control Panel. That looks nice and slick.
How can I get WPF to properly theme my ListView depending on my user settings? I don't want to reinvent the entire selection code and add tons of styling and doodahs like that - I want a plain Windows application that looks okay. The button works fine, textboxes work fine, comboboxes look fine, etc. It's just the ListView that looks totally crap.
Edit: I have no problems using another (very, very preferably not a thirdparty) control if required, but I do want a list of items that looks native and I approach a layout similar to the Tiles option in Explorer for each selected item (icon, desc, extra line of info). Vertical scrolling only is what I need.
If you use a ListView with ListView.View set to a GridView then you get a pretty similar look as Windows 7 explorer. (Atleast in my opinion, or is this the look you're talking about?). It also follows the active theme
Example 1. ListView with GridView to the right. Selection active
Example 2. ListView with GridView to the right. Selection inactive
Example 3. Using High Contrast Theme #2