<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8821351856663303299</id><updated>2011-04-21T11:28:31.298-07:00</updated><title type='text'>innicia - blog - silverlight</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://innicia-silverlight.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://innicia-silverlight.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Innicia News</name><uri>http://www.blogger.com/profile/17324012051511993691</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8821351856663303299.post-7765010198965903640</id><published>2008-05-07T08:46:00.000-07:00</published><updated>2008-05-07T09:47:31.584-07:00</updated><title type='text'>Changing Skinn at runtime</title><content type='html'>A lot of post teach how to make template skinks for silverlighr controls but I'did not find a solution to change these skinns at runtime. I saw some post telling that it's not supported at runtime in SL2. So here our solution (notice that this is "like" code since I have problems editing:&lt;br /&gt;&lt;br /&gt;1 - In the App.xaml, define the skinn just as a &lt;strong&gt;Control Template&lt;/strong&gt;, NOT like a Style&lt;br /&gt;&lt;br /&gt;Coment this lines:&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Style x:Key="inniciaiPhoneButtonBlack" TargetType="Button"&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Setter Property="IsEnabled" Value="true" ....&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Setter Property="Template"&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Setter.Value&lt;/span&gt;&lt;br /&gt;And change the Control Template tag for&lt;br /&gt;&lt;span style="color:#cc9933;"&gt;ControlTemplate &lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt; To&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="color:#cc9933;"&gt;ControlTemplate&lt;/span&gt; &lt;span style="color:#ff0000;"&gt;x&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;:&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;Key&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;="inniciaiPhoneButtonBlack"&lt;/span&gt; &lt;span style="color:#ff0000;"&gt;TargetType&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;="Button"&lt;br /&gt;&lt;/span&gt;Then continue with the template definition as usual.&lt;br /&gt;&lt;br /&gt;2 - In code:&lt;br /&gt;We asume that you have this button on your page (xaml):&lt;br /&gt;&lt;span style="color:#cc6600;"&gt;Button&lt;/span&gt; &lt;span style="color:#ff0000;"&gt;Template&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;="{&lt;/span&gt;&lt;span style="color:#cc9933;"&gt;StaticResource&lt;/span&gt; &lt;span style="color:#ff0000;"&gt;mybuttonTemplate&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;} &lt;/span&gt;&lt;span style="color:#ff0000;"&gt;x&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;:&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;Name&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;="mybutton"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So when you run the application your button will render with the (mybuttonTemplate) look and fell, then just do in the code behind:&lt;br /&gt;&lt;br /&gt;mybutton.Template = (&lt;span style="color:#33ffff;"&gt;ControlTemplate&lt;/span&gt;)(&lt;span style="color:#33ffff;"&gt;Application&lt;/span&gt;.Current.Resources[&lt;span style="color:#cc9933;"&gt;inniciaiPhoneButtonBlack&lt;/span&gt;]);&lt;br /&gt;&lt;br /&gt;...And now your button will have the [&lt;span style="color:#cc9933;"&gt;inniciaiPhoneButtonBlack&lt;/span&gt;] look &amp;amp; fell.&lt;br /&gt;&lt;br /&gt;Of course this is just a beginning, then we should figure out how to change the entire application skinn... may be subscribing all our controls to an event?&lt;br /&gt;&lt;br /&gt;Hope it's help, fell free to ask for any doubt or to sugest a better way to do this.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8821351856663303299-7765010198965903640?l=innicia-silverlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://innicia-silverlight.blogspot.com/feeds/7765010198965903640/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8821351856663303299&amp;postID=7765010198965903640' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default/7765010198965903640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default/7765010198965903640'/><link rel='alternate' type='text/html' href='http://innicia-silverlight.blogspot.com/2008/05/changing-skinn-at-runtime.html' title='Changing Skinn at runtime'/><author><name>Innicia News</name><uri>http://www.blogger.com/profile/17324012051511993691</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8821351856663303299.post-6180133226041826559</id><published>2008-03-17T07:49:00.000-07:00</published><updated>2008-03-17T07:54:55.644-07:00</updated><title type='text'>Expression Blend 2.5 + Silverlight con VB</title><content type='html'>Retomando el post anterior, y siguiendo la linea de los tutoriales de &lt;a href="http://weblogs.asp.net/scottgu/"&gt;Scott&lt;/a&gt; dejamos disponible el codigo fuente en VB del "First Look at Using Expression Blend with Silverlight 2"...&lt;a href="http://innicia.com/silverlight/ChatClient.zip"&gt;zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8821351856663303299-6180133226041826559?l=innicia-silverlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://innicia-silverlight.blogspot.com/feeds/6180133226041826559/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8821351856663303299&amp;postID=6180133226041826559' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default/6180133226041826559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default/6180133226041826559'/><link rel='alternate' type='text/html' href='http://innicia-silverlight.blogspot.com/2008/03/expression-blend-25-silverlight-con-vb.html' title='Expression Blend 2.5 + Silverlight con VB'/><author><name>Innicia News</name><uri>http://www.blogger.com/profile/17324012051511993691</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8821351856663303299.post-1259964362875848067</id><published>2008-03-15T18:36:00.000-07:00</published><updated>2008-03-16T08:21:34.475-07:00</updated><title type='text'>Silverlight 2.0 con Visual Basic</title><content type='html'>No es novedad el lanzamiento de la versión 2.0 Beta de Silverlight, ni la potencia que nos ofrece el Preview 2.5 del Blend, tampoco el excelente blog de &lt;a href="http://weblogs.asp.net/scottgu/"&gt;Scott Gu&lt;/a&gt;. En este post solo tenemos la intención de dejarles disponible el código fuente del tutorial que allí pueden encontrar &lt;a href="http://weblogs.asp.net/scottgu/archive/2008/02/22/first-look-at-silverlight-2.aspx"&gt;"First Look at Silverlight 2"&lt;/a&gt; pero en modalidad VB, dado que el post de Scott no cuenta aún con los fuentes, creímos recomendable y buen ejercicio (ya que habia que escribirlo desde cero) hacerlo en VB para razonar paso a paso y no limitarnos a copiarlo, obviamente es lo que tambien recomandamos a ustedes, pero por si acaso... acá esta...&lt;a href="http://www.innicia.com/silverlight/FLS2_VB.zip"&gt;VB Code&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8821351856663303299-1259964362875848067?l=innicia-silverlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://innicia-silverlight.blogspot.com/feeds/1259964362875848067/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8821351856663303299&amp;postID=1259964362875848067' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default/1259964362875848067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default/1259964362875848067'/><link rel='alternate' type='text/html' href='http://innicia-silverlight.blogspot.com/2008/03/silverlight-20-con-visual-basic.html' title='Silverlight 2.0 con Visual Basic'/><author><name>Innicia News</name><uri>http://www.blogger.com/profile/17324012051511993691</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8821351856663303299.post-524881992988909313</id><published>2008-02-21T09:53:00.000-08:00</published><updated>2008-02-21T10:01:53.146-08:00</updated><title type='text'>Introducción a Silverlight</title><content type='html'>Dado que este es nuestro primer post relacionado con Silverlight, queriamos citar un breve resumen de esta tecnologia, la cual obtuvimos gracias al blog de Jorge Garcia. Aqui va...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://silverlight.net/" target="_blank"&gt;Silverlight&lt;/a&gt; es un nuevo avance para desarrollos de aplicaciones web. Las principales ventajas que se observan son:&lt;br /&gt;&lt;br /&gt;- Provee un framework de diseño independiente del control de la página, lo que le da herramientas reales a los diseñadores que no necesitan la intervención de un programador.&lt;br /&gt;- Permite que la misma aplicación se ejecute en diferentes web browsers.&lt;br /&gt;- Utiliza &lt;a href="http://www.microsoft.com/net/wpf.aspx" target="_blank"&gt;Windows Presentation Fundation&lt;/a&gt; (WPF) como herramienta para el desarrollo.&lt;br /&gt;- Incluye &lt;a href="http://msdn2.microsoft.com/en-us/netframework/aa904594.aspx" target="_blank"&gt;Language Integrated Query&lt;/a&gt; (LINQ) lo que permite acceso a datos.&lt;br /&gt;- Posee soporte para ejecutar scripting bajo JavaScript&lt;br /&gt;- Se integra con las tecnologías ya existentes (.Net AJAX, Phyton, Ruby, JavaScript, WebServices, etc).&lt;br /&gt;- Permite un manejo fácil de elementos multimedia (video, sonido).&lt;br /&gt;&lt;br /&gt;&lt;a title="_Toc179089820" name="_Toc179089820"&gt;&lt;/a&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;Arquitectura&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;La arquitectura de Silverlight se divide en 2 partes:&lt;br /&gt;&lt;br /&gt;- El Core Presentation Fundation que es básicamente un Software Development Kit (SDK) que permite la renderización de elementos de interfase, control de eventos de usuario (clicks, teclado, etc), un conjunto de elementos de interfase (UIElements) con valor agregado respecto de los UIElements que se encuentran en .Net 2.0 (en la versión 1.1) y permite la ejecución de elementos multimedia (en la versión 1.1) todo del lado del cliente!!!. Para utilizarlo hay que instalar un plugin (que permite ejecutar los componentes en un área restringida de la máquina cliente) y es multi-browser (o sea, se puede implementar un plug-in para distintos web browsers). Toda la programación de esta capa puede hacerse mediante scripting.&lt;br /&gt;&lt;br /&gt;- El Framework .Net de Silverlight que es básicamente un subconjunto del Framework .Net que implementa herramientas para el manejo de datos (LINQ), Controles extendidos (WPF), DLR para interpretar scripting y herramientas para la conexión a accesos remotos. La versión 1.0 de Silverlight no tiene una implementación muy interesante de esta capa de la arquitectura, la versión 1.1 (todavía en desarrollo) incluye todas estas herramientas y agrega un CLR que implementa el manejo de los objetos de esta capa (se encarga del garbage collection, chequeo de tipos y manejo de excepciones).&lt;br /&gt;&lt;br /&gt;- Para comunicarse entre las capas se utiliza un XAML Object (un Extensible Application Markup Language) que es básicamente un XML con un formato especializado (ver WPF).&lt;br /&gt;&lt;a href="http://staff.southworks.net/photos/jgarcia/picture39624.aspx" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;Conclusión&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;En suma, Silverlight corre un poco más la barrera entre el diseño de la interfaz web y la programación en ASP.Net necesaria para lograr interactividad lo que facilita el diseño de la interfaz de la aplicación web. Además mejora la performance sobre todo en aplicaciones multimedia pues ejecuta muchas más cosas del lado cliente de la aplicación. Y permite hacer el desarrollo con la certeza de que la interfaz se ejecuta en los browser más populares sin necesidad de cambios.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8821351856663303299-524881992988909313?l=innicia-silverlight.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://innicia-silverlight.blogspot.com/feeds/524881992988909313/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8821351856663303299&amp;postID=524881992988909313' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default/524881992988909313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8821351856663303299/posts/default/524881992988909313'/><link rel='alternate' type='text/html' href='http://innicia-silverlight.blogspot.com/2008/02/dado-que-este-es-nuestro-primer-post.html' title='Introducción a Silverlight'/><author><name>Innicia News</name><uri>http://www.blogger.com/profile/17324012051511993691</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
