As I know there is no treeview control in Windows 8 store app, does anyone know an alternative solution?I want to display some parent child data with collapse and expend on click of the header, but this is not possible in GridView and ListView of Windows 8. Can any one help me for this ?
There is a TreeView control in WinRT XAML Toolkit that has been ported from the Silverlight Toolkit.
Tree Navigator control from Syncfusion WinRT Studio may help to achieve your requirement. It supports hierarchical data binding. It also has two different navigation modes. The control provides a unique interface that can expand a tree structure in-place without taking up more space on the screen.
http://www.syncfusion.com/products/winrt/controls
Related
I have been looking for a couple of days for a UWP control that has similar functionality as the WPF ListView, which allows me to create a table like appearance.
Is there a control like this in the UWP or not?
What I want to achieve is a SCRUM and Kanban overview for Jira Software. Maybe there are better options.
Microsoft has created an add-on control that fits this use case nicely, the DataGrid control from their community toolkit.
More details: https://learn.microsoft.com/en-us/windows/communitytoolkit/controls/datagrid
It supports sorting, filtering, grouping, and can even generate columns automatically from supplied data.
There is a control such as that and it is called listview.
https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.listview.aspx
Maybe you could use GridView as well, there is a nice short tutorial on:
https://channel9.msdn.com/Series/Windows-10-development-for-absolute-beginners/UWP-040-Data-Binding-to-the-GridView-and-ListView-Controls
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.
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'm trying to build Windows Form application that reads info from a SQL database, and I want to display it in a control like an ASP.NET ListView.
This first time I am writing a Windows Form application, but I'm used to programming in ASP.NET and using the tools such as: listview, gridview, etc. I see that there is a GridView control in Windows forms and the possibility to connect it to the SQL DB.
Is there a tool which is identical to the ASP.NET ListView for Windows Forms or some other control to display my data?
The toolbox for Windows forms also contains ListView control. Read The ListView Control and Working with ListView in C# to get you started.
I think you are looking for DataGridView.
It has quite a lot of functionality. Check out the many questions here in SO about it.
And here's an article with 101 ways to manipulate it.
I would like to use this for my WPF application. WPF Battery Control.
It is about a IPhone based battery control in silverlight.
However, I have no idea how to go about it, and would like to ask for help.
Here is the link: http://advertboy.wordpress.com/2007/09/11/iphones-beautiful-battery-recharger-as-a-silverlight-animation/
And source code: https://skydrive.live.com/?cid=1e3f9e1e2f8bc994&id=1E3F9E1E2F8BC994%21221#
if you have the source, just make a WPF app, and add the code for the control. it should build w/o any problem.
silverlight is a sub-set of WPF, so most silverlight code should build w/o any problem. the reverse is not true, however--most WPF code won't build in silverlight.
The code you've linked to is a Silverlight 1 application, so porting isn't simply a case of copy the source across.
The XAML markup for the battery is in iTunesControls\Recharging\BatteryRecharging.xaml. Most of this appears to work as-is. Copy the entire contents of this file into a user control or custom control in your WPF project, and then remove the xmlns, xmlns:x and xmlns:a namespace references and the x:Class attribute from the root <Canvas> element.
To vary the amount of charge shown within the battery, set the Widths of the elements with names pthFiller and pthFiller1 to a value between 0 (empty) and 314 (100% full).