Create an OutlookBar in MetroStyle app - c#

I want to create a simple control that has 3 buttons and a ListView under each one. When I click on the buttons their ListView should show up and other ListViews should hide. A similar approach is presented in Microsoft Outlook and this tutorial however there is slight difference between XAML in MetroStyle apps and WPF.
How can I do this in Windows 8 MetroStyle app under WinRT?

Related

UWP GridView drag drop not working

I am moving my windows 8.1 app to Windows 10 UWP. I am able to port it fine. But the drag drop functionality with GridView / ListView seems to be not working.
I have got the CanDragItems="True" set on GridView and AllowDrop="True" on the target as specified in the documentation. This was working fine on windows 8.1 but not with Windows 10 UWP. I cant find any documentation related to this for any specific setting to be added for Window 10 UWP to enable this functionality. When I drag items from the view, it shows restricted icon while I drag the item.
Can someone advice how to fix this issue?
regards

What is this left side panel in Windows 8.1 Xaml App?

I am developing an app where I need a panel like the one shown below. The left panel shown in the second image slides in from the left when the user presses the plus icon next to the English dropdown.
What is this element and how can I recreate it?
This is a Windows 8.1 C# XAML app.
you should use Windows.UI.Xaml.Controls.SettingsFlyout control, here is a sample that shows you how to configure the settingflyout https://code.msdn.microsoft.com/windowsapps/App-settings-sample-1f762f49
thats what you are looking for
There is no standard control to do all of that. Use a Grid and define an animation for the fly-in is the easiest option.
UWP (Win10) has a control to do this, called a SplitView control. More information on that an how to use it can be found on MSDN.
Martin
For creating this menu for windows 8.1 need create own control, then create style for him and etc.
Please see this post:
How to create a hamburger menu control for Windows 8.1 and Windows Phone
But if you create WUP app it is very simple ;)
Windows 10 SplitView – Build Your First Hamburger Menu
p.s. if you need create hamburger menu for windows phone 8.1 existing more nu-get packages for him, like this: SlideView : Facebook-like panel for Windows Phone
Good luck.

Grouped Collapsible Navigation Control Windows Store App?

I am looking for a grouped collapsible navigation control for use in one of the Windows 8.1 apps I have searched quite a bit and am not able to find this control.However I do find few existing apps in the store using this control, the mail app being one such example. Is there any collapsible grouped control available ?
Else I figure I should use a custom control with a button and an attached flyout
But the flyout would disappear if the user clicks anywhere else in the screen.
Windows Phone 8 has an Expander control in the form of the Windows Phone Toolkit but the performance is very poor when put into a ListView as you would do if you were trying to mimic the built in email app. The best way I've found to get the behavior you're after is to put all of the group header items into the ListView then use an ItemTemplateSelector to choose the visual appearance of group headers vs their items, then only add the child items (to the main ListView) when the group header is expanded. It sounds complicated but I wrote a blog about it here and there is a source example of it here and here

Attach winform scrollbar to textbox

Just started develop an application in c# using winforms metro ui and I can't figure out how to use a metroscrollbar with a metro textbox. If i go under properties when selecting the textbox i can choose scrollbar but it shows the normal Windows form..
Please see the picture down below:
How can I use the Metro scrollbar instead of the normal scrollbar?

Show a menuflyout from a button on another flyout Win 8.1 XAML

I've got a scenario in my app where I show a popup from a appbar button in Windows 8.x (using XAML/C#).
Prior to Win 8.1, I used Callisto to show the popup. In Win 8.1, I'm trying to use the built-in Flyout and MenuFlyout controls.
Simple flyouts and menu flyouts work - but when I try to show a menu flyout off of a button that is itself in a popup/flyout - it dismisses the previous flyout/parent flyout - which is not the desired behaviour.
Here is some code to reproduce the issue:
https://github.com/krishna-nadiminti/FlyoutTest
Any ideas on how to fix this?
Ideally - I don't want to go back to using Callisto in the Win8.1 project - because I want to use the same code as part of my framework to show flyouts and secondary flyouts in universal apps.

Categories