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 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: 来源:

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 library to do that. I followed the documentation there in that codeplex page : 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

Modern UI how to go to another page from another link

百般思念 提交于 2019-12-19 04:15:12
问题 I am currently using Modern UI from CodePlex. It is great and easy to use but there are some classes and events that I am not familiar with. Example: I have two GroupLinks named "Patients" and "Configurations". There are several pages in each of the GroupLinks. I tried to navigate from one page to another using a button click event. It worked. But when I tried navigating from Page1 of GroupLink2 to Page1 of GroupLink1, it still worked, but the problem was the active GroupLink remained in

Access floats of XMMatrix - () operator not working

折月煮酒 提交于 2019-12-12 12:16:10
问题 I'm trying to do some 3D stuff in DirectX (I'm migrating from OpenGL) and I've hit a snag. I want to access the values of an XMMATRIX and looking at the Microsoft documentation there should be an () operator: float& operator ()( size_t Row, size_t Column ); So I tried using as such: XMMATRIX i = XMMatrixIdentity(); float j = i(0,0); But Intellisense gives me the error: IntelliSense: call of an object of a class type without appropriate operator() or conversion functions to pointer-to-function