modern-ui

Use CSS in Java Applications

北城余情 提交于 2020-08-05 07:11:12
问题 I am working with Java for quite some time now and now I wanted to make a new Application and I was wondering, if it would be possible to make Java look more modern with new buttons and things like this. So I started searching for solutions to apply CSS (used in web-programming) to Swing components but didn't find a real solution. I dont want to use a lot of not build-in options, so using Frameworks and Libraries should be my last option. My question is: Is there a way to apply CSS to my Java

OnSelectionChanged event for chart controls in Modern UI Charts for Windows 8

隐身守侯 提交于 2020-01-23 18:04:05
问题 I am using Modern UI Charts for Windows 8 and I need to do a drill down when the user selects a series item in the chart (for eg: I have a Column Chart which shows a student Year wise performance and when user selects a particular Column I should show another Column chart with the score he obtained for that particular year in each subject) I am looking for some kind of selectionchanged event or something similar so that I can change the input to the series to get a different chart Please Help

How to prevent automatic scaling in Modern UI IE 11 on Windows 8.1/8?

随声附和 提交于 2020-01-13 17:34:08
问题 Windows 8.1/8 has a split screen feature which is nice while using multiple apps (like modern UI version IE11) in one screen. Most of the time when you set the IE split screen very narrow, you'll notice the web page zoomed out automatically, but some pages (like microsoft.com) are different. They doesn't zoom out and recognise the narrow width correctly, so it's easy to do some responsive deign. My question is: What code made that difference? I've tried <meta name='viewport' content='width

Custom Size in Windows 8.1 Simulator

自作多情 提交于 2020-01-06 15:56:26
问题 I have been searching this over the web for 2 days now and I am still unable to get my hands on something helpful. I have to run my windows 8.1 app on large device (i-e 80 inches) having 4k(3840 X 2160) resolution. The max resolution I have on the windows simulator is 2560 x 1440 (i-e 27 inches). Is there any way that I can add custom screen size/resolution to windows simulator? or is there any other option available where I can test my app on 4k resolution? PS: I don't have a 4k device with

Re-implementing WindowManager using ModernUI + Caliburn.Micro combination

萝らか妹 提交于 2020-01-03 02:23:14
问题 Here Caliburn.Micro was successfully combined with ModernUI. But if we want to use multiple windows we also need to re-implement Caliburn's WindowManager to work properly with ModernUI. How can it be done? UPDATE: (Additional question about IoC-Container/Dependency Injection) Ok, as I get it: I used a Constructor Injection here: public class BuildingsViewModel : Conductor<IScreen> { public BuildingsViewModel(IWindowManager _windowManager) { windowManager = _windowManager; } } As far as

WPF ModernUI same footer for all pages

廉价感情. 提交于 2019-12-24 08:27:14
问题 I'm trying to implement something-like-footer (same content/page for whole app) in my ModernUI WPF app. In mainwindow.xaml I have basic Menu (expanded examples) <mui:ModernWindow.MenuLinkGroups> <mui:LinkGroup DisplayName="Sports"> <mui:LinkGroup.Links> <mui:Link DisplayName="Home" Source="/Pages/Home.xaml"/> <mui:Link DisplayName="Football" Source="/Pages/Sports/Football.xaml" /> <mui:Link DisplayName="Handball" Source="/Pages/Sports/Handball.xaml" /> <mui:Link DisplayName="Basketball"

Disable Animation in ModernUI Charts

我只是一个虾纸丫 提交于 2019-12-24 01:33:09
问题 I'd like to use the gauge chart to display a dynamic value. My event updates the datacontext frequently. The problem is the animation of the controls. How Do I disable the animation or update the value without triggering the "start" animation? ModernUI Charts: http://modernuicharts.codeplex.com/ 来源: https://stackoverflow.com/questions/28915351/disable-animation-in-modernui-charts

Modern UI (Metro) Charts WPF not showing up

本秂侑毒 提交于 2019-12-23 19:05:40
问题 I'm Using .NET Framework 4.5 and WPF for my project. I need to generate several types of charts so I'm thinking to use http://modernuicharts.codeplex.com/ library to do that. I followed the documentation there in that codeplex page : http://modernuicharts.codeplex.com/documentation and completed the steps. Now I'm not getting any kind of errors or warning messages in Visual Studio 13, But simply the chart is not showing up. I can only see the title and the subtitle of the chart. What are the

Page navigation in WPF Modern UI

。_饼干妹妹 提交于 2019-12-22 10:19:11
问题 I started using Modern UI in WPF application. I can't find nowhere answer to my question: how set source for link to page that is localized in other project? I've got project ErpSystem with MainWindow in which i want to use page localized in project LogisticModule. When i'm setting source to this value: LogisticModule.View.WarehousePage.xml i've got error that navigation failed and it couldn't localized resource LogisticModule.View.WarehousePage.xml. What am i doing wrong? 回答1: You need to

Modern UI for WPF- navigation

喜你入骨 提交于 2019-12-20 07:12:27
问题 How can I pass parameter beetwen pages? I've tried to add parameters to page uri but it didn't work because I can't use onNavigatedTo event on user control. Please help 回答1: You must use OnFragmentNavigation. public void OnFragmentNavigation(FragmentNavigationEventArgs e) { DoYourStuff(e.Fragment) } e.Fragement contains everything past the # in the URI. In example, using NavigationCommands.GoToPage.Execute("/Pages/CustomerPage.xaml#CustomerID=12345", this); e.Fragment will be "CustomerID