xbap

How to fetch string from resource to assign in WPF Resource section in xaml

∥☆過路亽.° 提交于 2019-11-27 14:46:05
I have a XBAP application with the following user control: <UserControl x:Class="XXX.UsersGrid" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="Auto" Width="Auto"> <UserControl.Resources> <DataTemplate x:Key="UpArrowUsers"> <DockPanel> <TextBlock Text="xxUser" x:Name="upArrowUsersHeader" HorizontalAlignment="Center"></TextBlock> <Path x:Name="arrow" StrokeThickness = "1" Fill= "gray" Data= "M 5,10 L 15,10 L 10,5 L 5,10"/> </DockPanel> </DataTemplate> </UserControl> ... Now I want to fetch the string "xxUser" from

XBAP Application, can these work in Google Chrome?

落爺英雄遲暮 提交于 2019-11-27 11:14:56
问题 I'm developing a .NET 3.5 XBAP application that runs perfectly fine in FF3 and IE6/7 etc. I'm just wondering if its possible to get these to run under other browsers, specifically (as its in the limelight at the moment) Google Chrome. 回答1: XBAP applications do work in google chrome, however you have to set your environments PATH variable to the directory where xpcom.dll is located. for example SET PATH=PATH;"C:\Program Files\Mozilla Firefox" 回答2: At the moment, XBAPs do not work in Google

How do I run a Full Trust XBAP on intranet?

こ雲淡風輕ζ 提交于 2019-11-27 03:00:21
问题 I've made a WPF Browser Application that hosts old WinForms controls (I haven't migrated fully to WPF yet). Using WindowsFormsHost means my Browser App requires Full Trust to run. This is not a problem for me since this app is only meant to be run on the intranet at my company. However, after I deploy the xbap to a network share, it refuses to run, saying "Trust not granted". What are the methods I can use to grant Full Trust to XBAP applications stored on my companies intranet? 回答1: So far,

WPF vs XBAP vs Silverlight… which suits business applications? [closed]

旧城冷巷雨未停 提交于 2019-11-27 01:45:37
问题 I'm pretty familiar with a lot of the ins and outs of full fledged WPF client applications. I know that WPF client applications supports the full .NET Framework 3.5, allows for hardware acceleration of 2D and 3D graphics, theming, templating, styling, triggers, the works. What I'm not clear about is what features, and/or niceties are either present or lacking in XBAP and Silverlight applications. I've heard that XBAPs are intrinsically limited in certain ways due to security concerns, but