首页 \ 问答 \ 在Windows Phone 8.1 Runtime中投影效果?(Drop shadow effect in Windows Phone 8.1 Runtime?)

在Windows Phone 8.1 Runtime中投影效果?(Drop shadow effect in Windows Phone 8.1 Runtime?)

我正在寻找一种将Drop Shadow Effect添加到Windows Phone 8.1运行时(不是Silverlight!)应用程序中的多种元素的方法。 主要的问题是..没有官方的API。 主要的问题是我需要模仿这种效果,不仅仅是基本形状(如矩形或线条),还有一条路径,如下所示:

从问题/ 4519243采取/路径与破碎阴影效果

图片是从这个问题借来的: 路径与破影效果 - 我希望主人不会介意;)现在,他已经达到了这个效果,因为它是在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:

Taken from question /4519243/path-with-broken-shadow-effect

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 a Grid.

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
更新时间:2022-11-02 06:11

最满意答案

我只是创建了一个代理来设置标志。 你可以在这里获取代码。 我将它用于添加到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

相关问答

更多
  • 要成功安排会议,您需要遵循日历和日程安排架构 简而言之:必须在主席的邮件文件中创建会议,邀请必须是对主文档的响应(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问题,导致多米诺骨牌崩溃。 一些建议: - 服务器是否在特定活动上崩溃? 什么样的活动? 可以访问此活动使用的数据库吗? - 当损坏时检查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 ...
  • 我只是创建了一个代理来设置标志。 你可以在这里获取代码。 我将它用于添加到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 ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。