在Windows Phone 8.1 Runtime中投影效果?(Drop shadow effect in Windows Phone 8.1 Runtime?)
我正在寻找一种将
Drop Shadow Effect
添加到Windows Phone 8.1运行时(不是Silverlight!)应用程序中的多种元素的方法。 主要的问题是..没有官方的API。 主要的问题是我需要模仿这种效果,不仅仅是基本形状(如矩形或线条),还有一条路径,如下所示:图片是从这个问题借来的: 路径与破影效果 - 我希望主人不会介意;)现在,他已经达到了这个效果,因为它是在WPF中完成的。 我正在开发通用应用程序(所以WinRT),并没有效果扩展。
我多次搜索了网页,并找到了一些解决方法,但他们都错过了一些东西。 例如这一个:
http://www.silverlightshow.net/items/Simple-Xaml-Drop-Shadows-in-Silverlight-2.aspx < - 我无法在
Canvas
工作,内容必须是Grid
。你有什么想法如何在Windows Phone 8.1 Runtime中伪造阴影效果来取得令人满意的效果?
I'm looking for a way to add a
Drop Shadow Effect
to the multiple kind of elements in my Windows Phone 8.1 Runtime (not Silverlight!) application. The main problem is that.. there's no offical API for it. The main problem is that I need to mimic this effect not only to the basic shapes (like rectangle or a line), but also a path, like here:Picture is borrowed from this question: path-with-broken-shadow-effect - I hope the owner won't mind ;) Now, he has achieved this effect because it was done in WPF. I'm working on a Universal App (so WinRT), and there's no Effects extension.
I've searched the web multiple times, and found some kind of workarounds, but they all miss something. For example this one:
http://www.silverlightshow.net/items/Simple-Xaml-Drop-Shadows-in-Silverlight-2.aspx <- I can't work on
Canvas
, the content has to be aGrid
.Do you any idea how can I achieve satisfying results on faking Drop Shadow Effect in Windows Phone 8.1 Runtime?
原文:https://stackoverflow.com/questions/25382447
最满意答案
相关问答
更多-
如何在多米诺骨牌设计师中使用java创建一个莲花笔记会议(how to create a lotus notes meeting using java in domino designer)[2023-08-19]
要成功安排会议,您需要遵循日历和日程安排架构 简而言之:必须在主席的邮件文件中创建会议,邀请必须是对主文档的响应(doc.MakeResponse(...))并通过邮件发送。 “ApptUnid” - 项目将它们联系在一起。 阅读链接中的文档,非常好 To successfully schedule a meeting, you need to follow the calendaring and scheduling schema In short: A meeting has to be created ... -
LEI windows服务使莲花多米诺服务器崩溃[关闭](LEI windows Service makes the lotus domino server to crash [closed])[2023-08-01]
我过去经历过多次LEI问题,导致多米诺骨牌崩溃。 一些建议: - 服务器是否在特定活动上崩溃? 什么样的活动? 可以访问此活动使用的数据库吗? - 当损坏时检查LEI Log(leilog.nsf),创建一个新的。 - 检查你的LEI活动。 应使用“重置活动”操作(菜单操作 - 活动管理 - 重置活动)重置服务器崩溃时正在运行或计划运行的所有活动。 - 记录:你使用重伐吗? 有一个选项“缓冲区日志”。 当有非常大的信息被记录时,我遇到了这个问题(它导致和OutOfMemory,因为日志被缓冲而不是永久写入日 ... -
据我所知,这是不可能的。 您可以使用query参数检索与您提交的搜索查询匹配的文档(执行多米诺骨牌搜索)。 更多细节可以在这里的文档中找到: 视图/文件夹条目GET As far as I know this is not possible. You can use the query parameter to retrieve documents matching the search query you submit (which performs a domino ftsearch) . More d ...
-
当客户端(在这种情况下,客户端是运行代理程序的Domino服务器中的JVM)并且服务器(Bluemix)没有安全连接协议和密码时,会发生SSLHandshakeExcpetion。 你运行的是什么版本的Domino服务器? 我最好的猜测是由于这些协议中已知的安全问题,Bluemix可能不再接受SSL3或TLSv1.0协议,但Domino服务器上的JVM不支持TLSv1.1或v1.2。 (这只是一个猜测,但很多服务都这样做。) 关于在此IBM Technote中从Java代理的出站连接中获取TLSv1.2的一 ...
-
不,您无法通过邮箱轻松完成此操作。 Notes / Domino会将邮件头中的发件人设置为实际发送电子邮件的人。 您可以在其中设置不同的发件人地址的情况下编写Lotusscript代码,但要通过将邮件文档直接注入到mail.box中,需要以非文档方式进行操作。 几年前,我写了Lotusscript课,在那里我使用这种方法。 http://blog.texasswede.com/updated-mailnotification-class-now-with-html-email-support-and-web ...
-
如果您有权更改数据库,或者可以要求某人这样做,那么您应该创建一个按唯一键或修改日期排序的视图,然后将“指针”存储到最后处理的文档中。 除此之外,你必须自己维护一个以前处理过的文档列表。 在这种情况下,您可以使用AllDocuments属性并遍历它们。 据报道,使用GetFirstDocument和GetNextDocument比GetNthDocument更快。 或者,您可以创建两个通行证,一个为所有要存储的文档收集UNID列表,然后再次从您拥有的UNID列表中处理每个文档(使用GetDocumentByU ...
-
使用ServletContext.getRealPath()在磁盘上定位文件。 请注意,这只有在部署期间web应用程序“爆炸”时才有效。 例如: File f = new File(getServletContext().getRealPath("alerts/rtp_bcklg_mail.html")); Use ServletContext.getRealPath() to locate the file on disk. Note that this only works if the web ...
-
如何在莲花多米诺骨牌的webcontent下公开访问文件(How to give public access to files under webcontent in lotus domino)[2023-03-10]
我只是创建了一个代理来设置标志。 你可以在这里获取代码。 我将它用于添加到NSF的Angular应用程序。 HTH / John I simply created an agent to set the flag. You can get the code here. I use it for an Angular app that I have added to the NSF. HTH /John -
我不认为这是可能的。 我相信在执行附加文件的代码的系统上查找(从注册表中)图标。 由于您使用的是DIIOP / CORBA,因此在服务器上进行查找。 服务器不太可能安装了Office软件,因此找不到图标而只使用通用图标。 I don't think it is possible. I believe the icon is looked up (from the registry) on the system that executes the code that attaches the file. Si ...
-
不必编写代码就可以做到这一点的最好方法就是使用ICal。 您将输入各种与访问有关的问题,读取最好留给Domino处理的约会等。 网上有一些关于Domino中ICal支持的好文档。 The best way to do this without the pain of having to write code is to use ICal. You will enter all sorts of issues with access, reading appointments etc that are bes ...