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".
Related
So currently I have a web app that works perfectly fine on my desktop, but when I access this web app through mobile using an iphone (desktop version in mobile), I noticed that devexpress is not handling my dropdown list correctly (Look at screenshot attached/link).
desktop version
mobile version
For mobile when I click the last row dropdown to enter a different item, the list of items does not show, it actually gets hidden underneath the grid system. I tried styling and using z-index but had no luck at all, but on the desktop version everything seems to work perfectly fine.
I have attached images comparing the two, One is mobile and the other is for desktop. I am not sure why in the mobile my dropdown list gets hidden or doesn't show correctly.
NOTE**** this only happens for the dropdown list on the LAST ROW OF THE GRID SYSTEM.
I don't think this is a styling issue, I feel like its a devexpress issue. The class is also the dxeEditArea class on the dropdown box.
Thank you
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.
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.
I want to do this correctly instead of a hack, so help is appreciated
I am starting a very basic project, using a DevExpress NavBar control in a WinForms project, in C#. Easy enough.
NavBar is in the left part of a splitter, and I want the right part of the splitter to change based on what item you have clicked on in the nav bar. You know, one second its a grid, then next it's a calendar.
I could screw around with hiding and showing windows, but I know that's not right.
Just using a tabbed control seems real close, except I don't need the tabs, the nav bar is where the user picks what he wants to see.
So would I use panels in some way? Some type of modified tab control? Do i just pile on top of one another my various pages of controls for each nav option? So many pieces, doesn't seem to be any clear documentation on how to accomplish this very simple problem... after an hour of digging, thought I would ask.
Thanks.
So would I use panels in some way? Some type of modified tab control?
You can use tab control in other way. Just hide the XtraTabControl headers via the XtraTabControl.ShowTabHeaders option.
You can create a user control for each view that a NavBar button would invoke. When the user clicks the button you dynamically generate that view and add to the right part of the splitter. What ever user control was there before you dispose of.
This will keep your app very light when executing and make it composable.
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