Databind Listview menu and submenu with click function - c#-4.0

I need a help
I need a simple app of windows store app c# to
--> bind listview menu and submenu
the values should pass from c# to xaml i cant figure it bind as well do onclick operation of it for example if i click ferrari the right side message show you selected ferrari
example below
car < -- menu1
ferrari <-- submenu 1 of menu1
lambourgini <-- submenu 2 of menu1
phone < -- menu2
nokia <-- submenu 1 of menu2
iphone <-- submenu 2 of menu2
if possible please post both xaml and c# code downloaded i am trying it for past one week like accordian i couldnt finish it can you provide a simple sample please

It sounds to me like you should not build this from scratch but instead use the tree view control that comes with the WinRT XAML Toolkit. It's quite nice. And, free.
http://winrtxamltoolkit.codeplex.com

Related

UWP App example with commandbar, splitview and title

I am looking for a example code which use top commandbar, splitview with hamburgericon and title of page with backbutton near humbergericon. Something like a MSN Weaher app:
I am looking exactly the same top bar with title and backbutton and left splitview. Do you know about something like this?
You can use Template10 to get an implementation of the SplitView with Burger Icon.
Special consideration about the BackButton : in this sample, this is just a simple button, when clicked you have to call the following code:
if (this.Frame.CanGoBack) this.Frame.GoBack();
If you plan to implement this feature, be carefull when your application will be executed in tablet mode or running on a mobile phone. In these situations, you have to manage also hardware/soft back button. Please check Back button navigation documentation.

expandable (month view)/collapsable(week view) calendar widget for android

I saw this android calendar widget used in an app called cal and was quite impressed.
I would like to implement a similar one in my app as well. Currently I am using an android calendar framework called caldroid and I am using it as a Fragment and will be invoked on action bar button click and will get collapsed clicking back on the action bar button.
But I would like to do the widget like in the app. Screen shots attached.
I would like to know if you guys are aware of any frameworks that can used to achieve this or any approach or tips on how to code this.
I am bit new and know basics of android. Haven't attempted to create custom widgets yet.
Thanks,
Bala
Maybe this library can help you.
https://github.com/blazsolar/android-collapse-calendar-view

Monotouch use UITabBarController inside DialogViewController

Currently in my app I have this design:
-- DialogViewController 1
-----DialogViewController 2
--------DialogViewController 3
-----------TabBarController
--------------DialogViewController4
--------------DialogViewController5
--------------DialogViewController6
--------------DialogViewController7
Problem with this is that dialog view controllers 4-7 breaks the monotouch dialog flow (so to speak), because of TabBarController in between. When I create dialog view controllers 4-7 I need to create new Root in their constructors which I don't need to for DVC 1-3.
With this approach certain things like radio groups don't work inside DVC 4-7 e.g it will display the radio group selection, but there is no navigation bar at the top.
My question is what can I do to solve this? Can I use TabBarController inside DVC somehow if that makes sense? Or how can I "hook" DVC 4-7 back to main "circuit"?
Thanks in advance.
According to the iOS HIG
A tab bar appears at the bottom edge of the screen and should be
accessible from every location in the app
which implies that it should be the root, not nested inside another controller.

Show Title in MonoTouch tabbed application

Maybe I'm missing something super simple, but I can't seem to get a title to show up at the top of Views contained within a basic tabbed application. I follow these steps...
New Solution, Universal Storyboard, Tabbed Application
Run that and you have two basic Views "First View" and "Second View".
Neither View by default has a title bar, but the default code shows setting a this.Title.
Why don't the title bars show up? How do I get them to show? I've tried several things to get these to show such as...
Setting "Top Bar" in Interface Builder to "Navigation Bar". It then shows in Interface Builder but never shows on runtime.
I've also tried in ViewDidLoad() to set this.TabBarController.Title but that doesn't seem to do anything either.
Thoughts?
The feature you are looking for is called a NavigationBar and can be added manually via IB to your view if it does not have a NavigationController associated with it. If there is a navigation controller then the NavigationBar will show up automatically.
So to answer your question if you want a NavigationBar go to IB and add one from the objects library you should then be able to manipulate the Title on the nav bar to your hearts content.

Tab Bar Application with Navigation Controllers in the tabs. Crosslinking from views

This is my first iPhone project and all has been going very well but I've run into a small snag that I can't seem to find a good solution for. Thanks in advance to everyone who takes their time to help me out.
I have a very straight forward Tab Bar application with a few tabs. Each tab defines a subsection that is controlled with a Navigation Bar. The client now wants to place a button in one of the views of the subsection that "deep links" into a view of a different section ( different tab).
To Illustrate:
Root
- Tab 1 (Bedrock)
- Navigation Controller
- Fred View
- Wilma View
- Betty View
- Barney View
- Tab 2 (Mystery Machine)
- NC
- Scooby View
- Shaggy View
- Daphnie View
...
The client would like a button in 'Barney View' that opens up 'Shaggy View'
What is the best way to accomplish this?
You will want to use the selectedViewController or selectedIndex property of the UITabBarController to switch tabs, and the viewControllers property of the UINavigationController to set the view stack.

Resources