Adding multiple UI in one project using devexpress - devexpress

I tried to find out the answer but no appropriate answer.... so hopefully developer community on stack will help me out.
I have already developed application using devexpress and having Office Inspired UI (https://docs.devexpress.com/WindowsForms/114442/build-an-application/choose-application-ui/office-inspired-ui) but for few forms we would like to use another UI Touch Enabled UI (https://docs.devexpress.com/WindowsForms/114443/build-an-application/choose-application-ui/touch-enabled-tile-ui) Is it possible to have two different UI in same project? If yes what should be the procedure.

You can use multiple UIs in the same project. Most of the items in the documentation you linked to are available as individual controls which can be dropped onto any form. Additionally, if your form inherits from XtraForm or RibbonForm, you can set the LookAndFeel.TouchUIMode property to DefaultBoolean.True, forcing the form and its child controls to use the touch scale factor:
this.LookAndFeel.TouchUIMode = DevExpress.Utils.DefaultBoolean.True;

Related

Does ReactiveUI for Xamarin supports ViewModel to ViewModel Navigation

I am in process of learning Reactive UI for Xamarin and going through the documentation. However was not able to find that does it supports ViewModel to ViewModel Navigation. Is there any example application for same.
At the moment navigation support for Xamarin forms is somewhat limited. So is is not possible to select if a Page should be Pushed Modal or not.
After trying to use RxUI nagivation I surrendered and now use RxUI together with xamvvm framework to deal with Page/ViewModel creation and ViewModel based navigation.
Check it out https://github.com/xamvvm/xamvvm/wiki
Please have a look at this issue: https://github.com/reactiveui/ReactiveUI/issues/1048 There are ways to do it but you'll have to implement it yourself.
You can do it natively by following approach described here https://blog.kloud.com.au/2018/05/15/data-first-approach-in-xamarin-forms/

How can I fix multiple selection mode in LocalDatePicker in JFXtras? (it works in CalendarPicker in the same package)

I'm making a JavaFX program for which I would like to use the new Time API. I wanted to use the LocalDatePicker provided in the JFXtras library which would allow users to select multiple localdate objects and would streamline the program's handling of selected objects (as opposed to the similar CalendarPicker in the same library which uses the older date API).
I imported the custom JFXtras controls into JavaFX scene builder, and while the "multiple" selection mode works very well for the JFXtras CalendarPicker control, the same functionality seems broken in the LocalDatePicker control.
Multiple/Range selection does not work in either the preview feature of scene builder, in a compiled FXML/controller file generated in Netbeans, and when simply added to a JavaFX scene, while in all those cases the CalendarPicker control does work. which leads me to believe it is a problem with the control itself and not my implementation. I checked the respective classes in the library and the code handling modeProperty seems identical.
Thing is, the sample program including all controls on the JFXtras page (http://jfxtras.org/resources/java/jfxtras-labs-samples-8.0-r4-SNAPSHOT-shadow.jar) has a multiple selection working for the LocalDatePicker control.
What am I doing wrong?
Sorry if it's an easy fix, I'm pretty new to Java (and JavaFX)
Thanks
Oh yes. This was my fault. Even though there was code to sync the mode value between LocalDatePicker and CalendarPicker, I forgot to set the initial value. In the tests the value is set after the control is visible and then the sync code kicks in. Please try 8.0-r4-SNAPSHOT. Thanks for reporting.

How do I load a Kendo UI grid Add/Edit window without the grid?

Kendo UI makes it very easy to use MVVM when using a grid to add or edit records by automating much of the window usage.
This is great as long as you have the grid on your screen, but what if I want to add or edit a record on a page where the grid is not available? How would I call the same edit window and get all the same error checking, binding, etc?
Your question is more about general MVC development. Take a look here.

Additional checkboxes/radiobutton required for treeview

I understand that treeview in asp.net comes with checkboxes option for usage. However, in my application, I will require 2 additional checkboxes or radiobutton on the righthand side of each leaf node of my treeview.
However, I seem to be unable to find a solution to this requirement, and i think treeview structure does not support this feature.
I'm new to asp and I'm not sure if there is any other class which i can use upon to implement this feature.
Hope I can have some ideas from you guys to implement this
All help is appreciated
Thanks!
Regards
bernerd
The tree view control is quite limited however I've found this project http://www.codeproject.com/Articles/43057/ASTreeView-Free-ASP-NET-TreeView-Control which has extended its functionality - check out the reference and see if it provides what you need OR use it as a base to extend it as your scope requires!

Qt4, QToolbox: Keeping (some) child widgets enabled/accessible with toolbox being disabled

I'm currently building a data aquisition application, in which UI I placed the controls for mutually exclusive aquisition modes in the different subpages of a QToolbox, where the currently selected QToolbox item selects the aquisition mode parameter.
One desired feature is to lock the UI – after changing the parameters, the changes have to be applied/confirmed, being able to lock the UI elements against accidental changes is a feature, implemented by simply disabling the widgets. And since the aquisition mode is one parameter this also means locking down the QToolbox. However some controls within the toolbox need to stay unlocked since their effect is immediate.
So here's the question: In Qt4, how can I keep child widgets enabled and accessible while their container has been disables. Or how can I emulate the behaviour and look of such a setup?
Please don't suggest changes in the UI. I had all people in my research group testing different UI concepts and the current one is the one that ist most intuitive and straightforward to use.
If you disable the container, all its child widgets will be disabled. I don't think you can change this behaviour. So you have to disable separately all the child widgets that you don't want to remain enabled.
In the end I "solved" the problem by using a combination of QComboBox + QStackedWidget instead of a QToolBox and disable the combobox to lock it down.
You can lock the page of QToolbox using the UI function: setItemEnabled and pass the index of the page through the UI function: indexOf and your boolean.
Here's a little code:
ui->toolbox->setItemEnabled(ui->toolbox->indexOf(ui->page),false);

Resources