Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - exception http://blog.lexique-du-net.com/index.php? In this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things ! en Mon, 26 Feb 2024 15:40:43 +0100 Jonathan ANTOINE, All rights reserved http://blogs.law.harvard.edu/tech/rss Dotclear UserControl/Control : how to get a reference to an element of the template http://blog.lexique-du-net.com/index.php?post/2010/09/14/UserControl/Control-how-to-get-a-reference-to-an-element-of-the-template urn:md5:31729ab6c8a50b35686f1411e6c53daa Tue, 14 Sep 2010 22:42:00 +0200 JonathanANTOINE@falsemail.com WPF ContentControlcontrolscustomDataTemplateexceptionhow tohow-toTemplateWindows Presentation FoundationWPFXAML <p>When you want to create your own custom control you have two choices : create an UserControl or inherit from one of the "Control's classes" (ContentControl, ItemsControls or Control itself). When doing so, you'll surely need to access to the visual parts of your template from the code to add to it a nice behavior. In this post, we'll discover how... <a href="http://blog.lexique-du-net.com/index.php?post/2010/09/14/UserControl/Control-how-to-get-a-reference-to-an-element-of-the-template"><em>Read</em> UserControl/Control : how to get a reference to an element of the template</a></p> http://blog.lexique-du-net.com/index.php?post/2010/09/14/UserControl/Control-how-to-get-a-reference-to-an-element-of-the-template#comment-form http://blog.lexique-du-net.com/index.php?post/2010/09/14/UserControl/Control-how-to-get-a-reference-to-an-element-of-the-template#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/54 How I resolve my "MediaUnavailableException"'s problem in JavaFX... http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX urn:md5:7fbecf4794b9614dcdf1033349105555 Wed, 10 Dec 2008 19:23:00 +0100 JonathanANTOINE@falsemail.com JavaFX exceptionjavaJavaFXjmcmediaMediaUnavailableExceptionvideo <p>hey, In my first try to create a videoPlayer I always get an exception trying to play a media which are on my local hard disk. The problem I was trying to execute this media : var mediaURL : String = "file://C:/tchou.flv"; But it generates me logs like this one : FX Media Object caught Exception com.sun.media.jmc.MediaUnavailableException:... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX"><em>Read</em> How I resolve my &quot;MediaUnavailableException&quot;'s problem in JavaFX...</a></p> http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX#comment-form http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/6