Παρουσίαση με Ετικέτες

HowTo: Open page from Internet Explorer (Metro) app into desktop IE
20 Απριλίου 15 11:03 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
The Windows 8/8.1 app version of Internet Explorer is also known as IE Metro because of the “Metro” codename (inspired by navigation signs in public transport] of the Modern UI design language promoted by Microsoft). However that version isn’t the full Internet Explorer, in that it is unfortunately not supporting extensibility via plugins in the […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
HowTo: use PivotViewer in WPF
04 Σεπτεμβρίου 14 02:12 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
PivotViewer is an impressive Silverlight control (see my usage at http://gallery.clipflair.net), however Microsoft never released it for WPF. One could work arround this by embedding Silverlight in their WPF app using the WebBrowser control and talking to it via the JavaScript Bridge of Silverlight, however they could also embed one of those HTML5 PivotViewer-compatible controls […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Drop files onto Silverlight controls
27 Μαρτίου 14 05:14 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was recently adding drop-files support to ClipFlair Studio, so I had to do some research on the related API that is available to Silverlight apps. Silverlight supports a limited set of Drag-and-Drop interaction with the operating system (supposedly for security reasons, but most probably because of the classic cross-platform implementation pains). For example it […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
HowTo: find max ZIndex from a collection of UIElements with LINQ
06 Δεκεμβρίου 13 03:18 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
My contribution to http://stackoverflow.com/questions/1101841/linq-how-to-perform-max-on-a-property-of-all-objects-in-a-collection-and-ret Based on  another answer there, here is what I’ve just added to my enhanced version of SilverFlow library’s FloatingWindowHost (copying from FloatingWindowHost.cs at http://clipflair.codeplex.com source code) /// <summary> /// Sets the specified UIElement topmost. /// </summary> /// <param name="element">UIElement to set topmost.</param> /// <exception cref="ArgumentNullException">UIElement is null</exception> private void SetTopmost(UIElement element) […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Troubleshooting: Silverlight installation on MacOS-X
23 Μαΐου 13 07:45 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
One of our ClipFlair Studio users reported on having some issue trying to install Silverlight on MacOS-X, so I gathered some related info below:     First of all, at the Silverlight installation webpage, at the System Requirements tab, you can find the following requirements: Macintosh (Intel-based) Intel Core Duo 1.83-gigahertz (GHz) or higher processor […]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: format XML output of DataContractSerializer
22 Φεβρουαρίου 13 04:52 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
based on the other samples posted at StackOverflow on how to format XML created by DataContractSerializer, that use XmlWriter, here’s a version (from ClipFlair source code) that works with streams (and Ionic.Zip library in specific). It also shows how the code is when you don’t apply formatting (using conditional compilation).  Just comment out the #define [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
Can’t step-through Silverlight file dialogs with Visual Studio debugger
02 Δεκεμβρίου 12 08:58 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While stepping through “ShowDialog()” method of OpenFileDialog with Visual Studio 2010 debugger, at the Silverlight code pictured below (for loading a ClipFlair window’s stored options), I got a “Dialogs must be user-initiated” exception. Same behaviour will be shown with SaveFileDialog too, every time you try to step through the “ShowDialog()” method. This is because of [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Make Project Linker extension’s VSIX install at Visual Studio 2012
27 Νοεμβρίου 12 10:24 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Project Linker is a Visual Studio Extension that “helps to automatically create and maintain links from a source project to a target project to share code that is common to Silverlight and WPF”. In ClipFlair, where I have shared code between a Silverlight and a WPF project (I guess same would be for XNA projects [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
HowTo: Use DotNetZip (Ionic.Zip) library in Silverlight
25 Νοεμβρίου 12 10:10 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
If you want to use the latest DotNetZip library (version 1.9.1.8) with Silverlight, you should get a patched version from http://dotnetzip.codeplex.com/workitem/14049, instead of the official download for Silverlight. It seems the Silverlight build in 1.9.1.8 official download doesn’t work correctly, since it tries to get IBM437 Encoding (as the original ZIP spec required) from Silverlight, [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Write directly into a ZIP stream using DotNetZip
23 Νοεμβρίου 12 12:51 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair’s Playground Silverlight app I’m using DotNetZip library (Ionic.Zip namespace) for writing saved component state to a .ZIP file. In fact the Activity container there can create one .ZIP for each state that contains one .ZIP per-component it hosts (it can even host multiple instances of its own Activity componnt type to have nested [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Hide Video area of Silverlight Media Framework Player
03 Οκτωβρίου 12 12:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Since our onoing project ClipFlair is a follow-up of the succesful project LeViS, during its development I’m also looking at covering possible use-cases I infer from feedback entries at LvS application issue tracker on Codeplex (note that ClipFlair is also opensourced on Codeplex at http://ClipFlair.codeplex.com). One such issue (http://lvs.codeplex.com/workitem/11511) was titled “Allow video hiding while [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: load CaptionElements into Silverlight Media Framework player
03 Σεπτεμβρίου 12 03:38 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Trying to make CaptionsGridWindow of ClipFlair serve captions editing on-the-fly to SMF (Silverlight Media Framework [now called MMPPF]) player component, I had a real hard time, plagued by a bug at TimedTextElementStyle. It seems to be setting default FontSize for captions using a “Cell” unit instead of using a “Pixel” unit. Currently SMF only supports [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Scale control arround its center using a render transform
15 Αυγούστου 12 07:02 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In the context of ClipFlair development, I was recently adding independent scaling (zooming) functionality to its ZUI container’s floating windows (apart from the container zooming functionality) and came across some strange behavior, where the windows seemed to also move apart from getting scaled. After banging my head a bit I decided to take a closer [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Bind to a DataContext property named Source in XAML
14 Αυγούστου 12 03:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While refactoring ClipFlair code to use MVVM (Model-View-ViewModel) pattern, I came across the XAML error “Object reference not set to an instance of an object.”, shown in Visual Studio when trying to bind to my ViewModel (accessed implicitly, being set as the DataContext of the XAML control) for a property named Source. I have settled [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
HowTo: Compress speech audio using CSpeex codec at Silverlight apps
04 Αυγούστου 12 07:15 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Following up on my post on how to fix CSpeex (http://cspeex.codeplex.com) to compile at Silverlight 5 (see http://zoomicon.wordpress.com/2012/06/09/fix-compile-cspeex-audio-codec-at-silverlight-4-rc-and-silverlight-5/).  Initially I thought it was not working correctly, but then I noticed I was running it on Terminal Server and didn’t have an audio device available. Running SLAudioDemo included in the CSpeex distribution (after doing the fix [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
How to space StackPanel items in XAML (has no Padding property)
11 Ιουλίου 12 01:34 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While adding some properties to the back panels of ClipFlair windows, I came upon the issue of how to space items in a StackPanel. A Padding property is missing from multiple item containers (only single content controls have such), but a nice solution is described at: http://stackoverflow.com/questions/932510/how-do-i-space-out-the-child-elements-of-a-stackpanel Sergey Aldoukhov suggested there (WPF example): Use Margin [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: Set UI language (CurrentUICulture) in Silverlight
20 Ιουνίου 12 04:11 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At LvS (the opensource application of LeViS), I’ve been using this (VB.net) code to set the UI language (for example to Greek): Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("el") Others seem to have been using (C# – that’s why there is a trailing semicolon): Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("el"); assuming System.Globalization and System.Threading namespaces have been imported. However, now that I’m [...]
Δημοσίευση στην κατηγορία: , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές