windows-8

WPF WebBrowser Control - position:fixed Element jumps while scrolling (Windows 8)

寵の児 提交于 2019-12-27 12:30:06
问题 We use the WPF WebBrowser control to display an embedded page. On Windows 8 we observe a strange jumping behavior of elements with css position:fixed while scrolling. The same page works fine in IE10 on Windows 8 (also FF, Chrome) and in the WPF WebBrowser control on Windows 7. Has anyone seen this behavior before and knows a fix for the jumping motion? Is it possible the .NET Version 4.5 used on the test machine (Surface with Win 8) be the Problem as compared to the .Net Version 4 on the dev

WPF WebBrowser Control - position:fixed Element jumps while scrolling (Windows 8)

无人久伴 提交于 2019-12-27 12:28:30
问题 We use the WPF WebBrowser control to display an embedded page. On Windows 8 we observe a strange jumping behavior of elements with css position:fixed while scrolling. The same page works fine in IE10 on Windows 8 (also FF, Chrome) and in the WPF WebBrowser control on Windows 7. Has anyone seen this behavior before and knows a fix for the jumping motion? Is it possible the .NET Version 4.5 used on the test machine (Surface with Win 8) be the Problem as compared to the .Net Version 4 on the dev

How do I access a control inside a XAML DataTemplate?

假装没事ソ 提交于 2019-12-27 10:26:08
问题 I have this flipview: <FlipView x:Name="models_list" SelectionChanged="selectionChanged"> <FlipView.ItemTemplate> <DataTemplate> <Grid x:Name="cv"> <Image x:Name="img1" Source = "{Binding ModelImage}" Stretch="Fill" Tag="{Binding ModelTag}"/> </Grid> </DataTemplate> </FlipView.ItemTemplate> I want to find img1 of currently selected index. While searching for it I found this method on some post here: private DependencyObject FindChildControl<T>(DependencyObject control, string ctrlName) { int

how to override the properties in child project

青春壹個敷衍的年華 提交于 2019-12-25 10:58:22
问题 I am working on Windows Phone app Development, I have 3 projects 1) Library Project 2) Child Project 1 referencing the library project 3) Child Project 2 referencing the library project In Library project it contains all xaml files,.cs files etc... In my child project it contain only a MainPage.xaml and its .cs file where I am navigating it to a page in my library project. But there are few condition in my library project code and it will work based on those conditions like : In my library

CSS to centralise a HTML5 div at the bottom of the screen

主宰稳场 提交于 2019-12-25 09:34:05
问题 I have the following HTML5 document: <canvas id="myCanvas"> </canvas> <img id="logo" src="/images/logo.png" style="visibility:collapse" /> <div id="adControl" style="width: 728px; height: 90px; border: solid 1px red; visibility:visible;" data-win-control="MicrosoftNSJS.Advertising.AdControl" data-win-options="{applicationId: 'xyz', adUnitId: '123'}"> </div> I'm trying to make the adcontrol appear in the centre at the bottom of the screen, beneath the canvas. Here's my CSS: #adControl { float

WPF combobox transparent background not working with Windows 10

左心房为你撑大大i 提交于 2019-12-25 07:49:17
问题 I have to define a combobox through code behind: var cmbLogin = new ComboBox() { Width = 200, Height = m_dFontSize + 10, FontSize = m_dFontSize, Margin = new Thickness(20), BorderBrush = new SolidColorBrush(m_ExeCfg.GetForeground()), HorizontalContentAlignment = HorizontalAlignment.Center, Background = Brushes.Transparent,<--------------HERE Foreground = new SolidColorBrush(m_ExeCfg.GetForeground()), Focusable = true, }; so the background gets transparent in win7 but not in win10. I have seen

Windows Phone 8 - Exception while loading designer

[亡魂溺海] 提交于 2019-12-25 07:24:54
问题 I have Windows 8 Enterprise Edition installed in my Machine. I am facing problem while designing windows phone 8 application development. The designer part throws an exception System.Exception Package failed updates, dependency or conflict validation. (Exception from HRESULT: 0x80073CF3) at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId,

WIndows Phone 8 Simulator not showing up

醉酒当歌 提交于 2019-12-25 06:45:46
问题 I am new with windows 8 development, I am running microsoft visual studio windows phone express 2012 and ran into a problem where when I try to run the application it just shows the default device selected and not the simulators. I read some msdn forms where they said to install the SDK 8.0 but windows phone express already comes with the SDK 8. I have tried chnagin the application debug properties but there too the only option that is visible to me is device and not simulator given below is

Cannot launch default application in a Metro app

我的未来我决定 提交于 2019-12-25 06:44:08
问题 Ok, so Windows 8 comes with a cool PDF and XLS reader app, called Reader. I have a help document that I want displayed when the user clicks the Help button inside my app. My app should launch the PDF document with whatever is the default viewer for that document type. But it won't. There are no errors, no exceptions and setting a breakpoint reveals no information. The code I have is: <Button x:Name="help" Style="{StaticResource HelpAppBarButtonStyle}" Tag="Help" Click="help_Click_1" /> and:

Where to find ITaskSettings3 and IMaintenanceSettings definitions for VS2010 C++ project?

寵の児 提交于 2019-12-25 06:03:50
问题 I'm trying to compile this C sample (at the bottom of that page) using C++ console app project on VS2010 on a Windows 7 machine but it gives me undeclared identifier errors. I can't find definitions of ITaskSettings3 and IMaintenanceSettings . You would think Microsoft will provide a code sample that compiles, hah :) Any idea what includes am I missing? EDIT: This is what I have in the properties for the project: 回答1: I was able to compile it with VS 2008 in C++ project, that allowed me to