<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Silverlike &#187; Behavior</title>
	<atom:link href="http://silverlike.net/tag/behavior/feed/" rel="self" type="application/rss+xml" />
	<link>http://silverlike.net</link>
	<description>We Like Silverlight</description>
	<lastBuildDate>Mon, 07 Dec 2009 06:34:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fluid Move Behavior</title>
		<link>http://silverlike.net/fluid-move-behavior/</link>
		<comments>http://silverlike.net/fluid-move-behavior/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 04:12:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Behavior]]></category>

		<guid isPermaLink="false">http://silverlike.net/fluid-move-behavior/</guid>
		<description><![CDATA[Kirupa has released a fantastic animation behavior called “Fluid Move”. The items inside the Grid will arrange in an animated way according to the size change.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kirupa.com/blend_silverlight/fluidmove_pg1.htm" target="_blank">Kirupa</a> has released a fantastic animation behavior called “Fluid Move”. The items inside the Grid will arrange in an animated way according to the size change.</p>
<p class="image"><a href="http://www.kirupa.com/blend_silverlight/fluidmove_pg1.htm" target="_blank"><img style="display: inline" title="Fluid Move Behavior" alt="Fluid Move Behavior" src="http://silverlike.net/wp-content/uploads/2009/11/FluidMoveBehavior.jpg" width="450" height="250" /></a> </p>
<div class="demo-area">Silverlight Demo: <a class="new-window" href="http://silverlike.net/silverlight/index.php?xap=%2Fwp-content%2Fuploads%2Fxap%2FFluidMoveResize.xap&TB_iframe=true&caption=Fluid+Move+Behavior&height=400&width=650" target="_blank">Click here to view</a></div>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/fluid-move-behavior/" title="http://silverlike.net/fluid-move-behavior/" target="_blank">Click here</a></div>
<div class="reference-info"><strong>Download:</strong> <a href="http://silverlike.net/fluid-move-behavior/" title="http://silverlike.net/fluid-move-behavior/" target="_blank">Click here</a></div>
<img src="http://silverlike.net/?ak_action=api_record_view&id=837&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://silverlike.net/fluid-move-behavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magnifying glass effect</title>
		<link>http://silverlike.net/magnifying-glass-effect/</link>
		<comments>http://silverlike.net/magnifying-glass-effect/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 03:30:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[Behavior]]></category>
		<category><![CDATA[WriteableBitmap]]></category>

		<guid isPermaLink="false">http://silverlike.net/magnifying-glass-effect/</guid>
		<description><![CDATA[Jeff Prosise shared a reusable Magnifying Glass effect behavior. Click on the screen and you are able to magnify your view.]]></description>
			<content:encoded><![CDATA[<h5><a href="http://www.wintellect.com/CS/blogs/jprosise/archive/2009/10/29/more-fun-with-silverlight-3-s-writeablebitmap.aspx" target="_blank">Jeff Prosise</a> shared a reusable Magnifying Glass effect behavior. Click on the screen and you are able to magnify your view.</h5>
<p class="image"><a href="http://www.wintellect.com/CS/blogs/jprosise/archive/2009/10/29/more-fun-with-silverlight-3-s-writeablebitmap.aspx" target="_blank"><img style="display: inline" title="Magnifying glass effect" alt="Magnifying glass effect" src="http://silverlike.net/wp-content/uploads/2009/11/Magnifyingglasseffect1.jpg" width="450" height="250" /></a> </p>
<div class="demo-area">Silverlight Demo: <a class="new-window" href="http://silverlike.net/silverlight/index.php?xap=%2Fwp-content%2Fuploads%2Fxap%2FMagnifierDemo.xap&TB_iframe=true&caption=Magnifying+glass+effect&height=400&width=650" target="_blank">Click here to view</a></div>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/magnifying-glass-effect/" title="http://silverlike.net/magnifying-glass-effect/" target="_blank">Click here</a></div>
<div class="reference-info"><strong>Download:</strong> <a href="http://silverlike.net/magnifying-glass-effect/" title="http://silverlike.net/magnifying-glass-effect/" target="_blank">Click here</a></div>
<img src="http://silverlike.net/?ak_action=api_record_view&id=765&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://silverlike.net/magnifying-glass-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Behaviors and Triggers</title>
		<link>http://silverlike.net/creating-behaviors-and-triggers/</link>
		<comments>http://silverlike.net/creating-behaviors-and-triggers/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 10:06:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[Behavior]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://silverlike.net/creating-behaviors-and-triggers/</guid>
		<description><![CDATA[Jeremy posted an article guiding you the details of creating behaviors and triggers. His article also illustrated how you may build a behavior to limit the characters that can be typed to Textbox.]]></description>
			<content:encoded><![CDATA[<p><a href="http://csharperimage.jeremylikness.com/2009/10/silverlight-behaviors-and-triggers_09.html" target="_blank">Jeremy</a> posted an article guiding you the details of creating behaviors and triggers. His article also illustrated how you may build a behavior to limit the characters that can be typed to Textbox.</p>
<p class="image"><a href="http://csharperimage.jeremylikness.com/2009/10/silverlight-behaviors-and-triggers_09.html" target="_blank"><img title="Creating Behaviors and Triggers" border="0" alt="Creating Behaviors and Triggers" src="http://silverlike.net/wp-content/uploads/2009/10/CreatingBehaviorsandTriggers1.jpg" width="450" height="250" /></a>&#160;</p>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/creating-behaviors-and-triggers/" title="http://silverlike.net/creating-behaviors-and-triggers/" target="_blank">Click here</a></div>
<img src="http://silverlike.net/?ak_action=api_record_view&id=742&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://silverlike.net/creating-behaviors-and-triggers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open ComboBox by Mouse Over</title>
		<link>http://silverlike.net/open-combobox-by-mouse-over/</link>
		<comments>http://silverlike.net/open-combobox-by-mouse-over/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 06:57:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[Behavior]]></category>
		<category><![CDATA[Mouse]]></category>

		<guid isPermaLink="false">http://silverlike.net/open-combobox-by-mouse-over/</guid>
		<description><![CDATA[Jacek Ciereszko created an behavior class which allow users to open the combobox menu without mouse click. Simply move over the control and it will open automatically.]]></description>
			<content:encoded><![CDATA[<p><a href="http://geekswithblogs.net/SilverBlog/archive/2009/10/03/behaviors-mouse-over-combobox-open-behavior.aspx" target="_blank">Jacek Ciereszko</a> created an behavior class which allow users to open the combobox menu without mouse click. Simply move over the control and it will open automatically.</p>
<p class="image"><a href="http://geekswithblogs.net/SilverBlog/archive/2009/10/03/behaviors-mouse-over-combobox-open-behavior.aspx" target="_blank"><img style="display: inline" title="Open ComboBox by Mouse Over" alt="Open ComboBox by Mouse Over" src="http://silverlike.net/wp-content/uploads/2009/10/OpenComboBoxbyMouseOver.jpg" width="450" height="250" /></a> </p>
<div class="demo-area">Silverlight Demo: <a class="new-window" href="http://silverlike.net/silverlight/index.php?xap=%2Fwp-content%2Fuploads%2Fxap%2FComboBoxBehavior.xap&TB_iframe=true&caption=Open+ComboBox+by+Mouse+Over&height=400&width=650" target="_blank">Click here to view</a></div>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/open-combobox-by-mouse-over/" title="http://silverlike.net/open-combobox-by-mouse-over/" target="_blank">Click here</a></div>
<div class="reference-info"><strong>Download:</strong> <a href="http://silverlike.net/open-combobox-by-mouse-over/" title="http://silverlike.net/open-combobox-by-mouse-over/" target="_blank">Click here</a></div>
<img src="http://silverlike.net/?ak_action=api_record_view&id=684&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://silverlike.net/open-combobox-by-mouse-over/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Invoke Button click event</title>
		<link>http://silverlike.net/invoke-button-click-event/</link>
		<comments>http://silverlike.net/invoke-button-click-event/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 05:41:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[AutomationPeer]]></category>
		<category><![CDATA[Behavior]]></category>

		<guid isPermaLink="false">http://silverlike.net/invoke-button-click-event/</guid>
		<description><![CDATA[Jacek Ciereszko shared the solution of invoking a button click event without user interaction on the button. He has also wrapped up the logic into behavior in which you can reuse the feature easily.]]></description>
			<content:encoded><![CDATA[<p><a href="http://geekswithblogs.net/SilverBlog/archive/2009/09/21/behaviors-textbox-enter-button-invoke-targetedtriggeraction.aspx" target="_blank">Jacek Ciereszko</a> shared the solution of invoking a button click event without user interaction on the button. He has also wrapped up the logic into behavior in which you can reuse the feature easily.</p>
<p class="image"><a href="http://geekswithblogs.net/SilverBlog/archive/2009/09/21/behaviors-textbox-enter-button-invoke-targetedtriggeraction.aspx" target="_blank"><img style="display: inline" title="Invoke Button click event" alt="Invoke Button click event" src="http://silverlike.net/wp-content/uploads/2009/09/InvokeButtonclickevent.jpg" width="400" height="250" /></a> </p>
<div class="demo-area">Silverlight Demo: <a class="new-window" href="http://silverlike.net/silverlight/index.php?xap=%2Fwp-content%2Fuploads%2Fxap%2FTextBoxEnterBehavior.xap&TB_iframe=true&caption=Invoke+Button+click+event&height=400&width=650" target="_blank">Click here to view</a></div>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/invoke-button-click-event/" title="http://silverlike.net/invoke-button-click-event/" target="_blank">Click here</a></div>
<div class="reference-info"><strong>Download:</strong> <a href="http://silverlike.net/invoke-button-click-event/" title="http://silverlike.net/invoke-button-click-event/" target="_blank">Click here</a></div>
<img src="http://silverlike.net/?ak_action=api_record_view&id=329&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://silverlike.net/invoke-button-click-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clip/Mask To Actual Size</title>
		<link>http://silverlike.net/clipmask-to-actual-size/</link>
		<comments>http://silverlike.net/clipmask-to-actual-size/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 09:30:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[Behavior]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://silverlike.net/clip-to-bounds-actual-size/</guid>
		<description><![CDATA[Colin Eberhardt created a very useful Clipping behavior class which helps you do clipping easily. The behavior can detect the ActualHeight and ActualWidth at run time and create a RectangleGeometry() to Clip your Grid.]]></description>
			<content:encoded><![CDATA[<p><b><a href="http://www.codeproject.com/Articles/36495/Silverlight-ClipToBounds-Can-I-Clip-It-Yes-You-Can.aspx" target="_blank">Colin Eberhardt</a></b> created a very useful Clipping behavior class which helps you do clipping easily. The behavior can detect the ActualHeight and ActualWidth at run time and create a RectangleGeometry() to Clip your Grid. </p>
<p class="image"><a class="thickbox" href="http://www.codeproject.com/Articles/36495/Silverlight-ClipToBounds-Can-I-Clip-It-Yes-You-Can.aspx" target="_blank"><img style="display: inline" title="Clip To Bounds" alt="Clip To Bounds" src="http://silverlike.net/wp-content/uploads/2009/09/ClipToBounds.png" width="400" height="250" /></a></p>
<div class="csharp-area">c# implementation of the behavior: </div>
<pre class="brush: c-sharp;">using System;
using System.Windows;

namespace Namespace
{

    public class Clip
    {
        public static bool GetToBounds(DependencyObject depObj)
        {
            return (bool)depObj.GetValue(ToBoundsProperty);
        }

        public static void SetToBounds(DependencyObject depObj, bool clipToBounds)
        {
            depObj.SetValue(ToBoundsProperty, clipToBounds);
        }

        /// &lt;summary&gt;
        /// Identifies the ToBounds Dependency Property.
        /// &lt;summary&gt;
        public static readonly DependencyProperty ToBoundsProperty =
        DependencyProperty.RegisterAttached(&quot;ToBounds&quot;, typeof(bool),
        typeof(Clip), new PropertyMetadata(false, OnToBoundsPropertyChanged));

        private static void OnToBoundsPropertyChanged(DependencyObject d,
        DependencyPropertyChangedEventArgs e)
        {
        FrameworkElement fe = d as FrameworkElement;
        if (fe != null)
        {
            ClipToBounds(fe);

            // whenever the element which this property is attached to is loaded
            // or re-sizes, we need to update its clipping geometry
            fe.Loaded += new RoutedEventHandler(fe_Loaded);
            fe.SizeChanged += new SizeChangedEventHandler(fe_SizeChanged);

        }
        }

        /// &lt;summary&gt;
        /// Creates a rectangular clipping geometry which matches the geometry of the
        /// passed element
        /// &lt;/summary&gt;
        private static void ClipToBounds(FrameworkElement fe)
        {
        if (GetToBounds(fe))
        {
            fe.Clip = new RectangleGeometry()
            {
            Rect = new Rect(0, 0, fe.ActualWidth, fe.ActualHeight)
            };
        }
        else
        {
            fe.Clip = null;
        }
        }

        static void fe_SizeChanged(object sender, SizeChangedEventArgs e)
        {
            ClipToBounds(sender as FrameworkElement);
        }

        static void fe_Loaded(object sender, RoutedEventArgs e)
        {
            ClipToBounds(sender as FrameworkElement);
        }
    }
}</pre>
<div class="xaml-area">sample usage in XAML: </div>
<pre class="brush: xml;">&lt;UserControl x:Class=&quot;Namespace.MainPage&quot;
    xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
    xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
    xmlns:this=&quot;clr-namespace:Namespace;assembly=Namespace&quot;
    &gt;
    &lt;Grid x:Name=&quot;LayoutRoot&quot;  this:Clip.ToBounds=&quot;True&quot; &gt;

    &lt;/Grid&gt;
&lt;/UserControl&gt;</pre>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/clipmask-to-actual-size/" title="http://silverlike.net/clipmask-to-actual-size/" target="_blank">Click here</a></div>
<div class="reference-info"><strong>Download:</strong> <a href="http://silverlike.net/clipmask-to-actual-size/" title="http://silverlike.net/clipmask-to-actual-size/" target="_blank">Click here</a></div>
<img src="http://silverlike.net/?ak_action=api_record_view&id=494&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://silverlike.net/clipmask-to-actual-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Farseer Physics Helper 3</title>
		<link>http://silverlike.net/andy-created-a-lot-of-handy-farseer-behaviors-which-allows-you-to-create-physics-object-easily-using-expression-blend-3-you-don%e2%80%99t-have-to-write-any-coding-anymore/</link>
		<comments>http://silverlike.net/andy-created-a-lot-of-handy-farseer-behaviors-which-allows-you-to-create-physics-object-easily-using-expression-blend-3-you-don%e2%80%99t-have-to-write-any-coding-anymore/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 12:29:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[Behavior]]></category>
		<category><![CDATA[Farseer]]></category>

		<guid isPermaLink="false">http://silverlike.net/physics-behaviors/</guid>
		<description><![CDATA[Andy created a lot of handy Farseer behaviors which allows you to create physics object easily using Expression Blend 3. You don’t have to write any coding anymore.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.andybeaulieu.com/Default.aspx?tabid=67&amp;EntryID=165" target="_blank">Andy</a> created a lot of handy Farseer behaviors which allows you to create physics object easily using Expression Blend 3. You don’t have to write any coding anymore.</p>
<p class="image"><a class="thickbox" href="http://www.andybeaulieu.com/Default.aspx?tabid=67&amp;EntryID=165" target="_blank"><img style="display: inline" title="Farseer Physics Helper 3" alt="Farseer Physics Helper 3" src="http://silverlike.net/wp-content/uploads/2009/09/PhysicsBehaviors.jpg" width="400" height="250" /></a></p>
<div class="demo-area">Silverlight Demo: <a class="new-window" href="http://silverlike.net/silverlight/index.php?xap=%2Fwp-content%2Fuploads%2Fxap%2FDemoBehaviors1.xap&TB_iframe=true&caption=Farseer+Physics+Helper+3&height=400&width=650" target="_blank">Click here to view</a></div>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/andy-created-a-lot-of-handy-farseer-behaviors-which-allows-you-to-create-physics-object-easily-using-expression-blend-3-you-don%e2%80%99t-have-to-write-any-coding-anymore/" title="http://silverlike.net/andy-created-a-lot-of-handy-farseer-behaviors-which-allows-you-to-create-physics-object-easily-using-expression-blend-3-you-don%e2%80%99t-have-to-write-any-coding-anymore/" target="_blank">Click here</a></div>
<div class="reference-info"><strong>Download:</strong> <a href="http://silverlike.net/andy-created-a-lot-of-handy-farseer-behaviors-which-allows-you-to-create-physics-object-easily-using-expression-blend-3-you-don%e2%80%99t-have-to-write-any-coding-anymore/" title="http://silverlike.net/andy-created-a-lot-of-handy-farseer-behaviors-which-allows-you-to-create-physics-object-easily-using-expression-blend-3-you-don%e2%80%99t-have-to-write-any-coding-anymore/" target="_blank">Click here</a></div>
<img src="http://silverlike.net/?ak_action=api_record_view&id=361&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://silverlike.net/andy-created-a-lot-of-handy-farseer-behaviors-which-allows-you-to-create-physics-object-easily-using-expression-blend-3-you-don%e2%80%99t-have-to-write-any-coding-anymore/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fluid Behavior Container</title>
		<link>http://silverlike.net/fluid-behavior-container/</link>
		<comments>http://silverlike.net/fluid-behavior-container/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 04:58:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[Behavior]]></category>
		<category><![CDATA[Farseer]]></category>

		<guid isPermaLink="false">http://silverlike.net/fluid-behavior-container/</guid>
		<description><![CDATA[A very useful behaviors to simulate water, waves and also objects inside the water medium. Very funny example. Do you have any good game idea based on these behaviors?]]></description>
			<content:encoded><![CDATA[<p>A very useful behaviors to simulate water, waves and also objects inside the water medium. Very funny example.</p>
<p class="image"><a href="http://www.andybeaulieu.com/Default.aspx?tabid=67&amp;EntryID=167" target="_blank"><img style="display: inline" title="Fluid-Behavior-Container" alt="Fluid-Behavior-Container" src="http://silverlike.net/wp-content/uploads/2009/09/FluidBehaviorContainer1.jpg" width="400" height="250" /></a> </p>
<div class="demo-area">Silverlight Demo: <a class="new-window" href="http://silverlike.net/silverlight/index.php?xap=%2Fwp-content%2Fuploads%2Fxap%2FBeachSample.xap&TB_iframe=true&caption=Fluid+Behavior+Container&height=400&width=650" target="_blank">Click here to view</a></div>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/fluid-behavior-container/" title="http://silverlike.net/fluid-behavior-container/" target="_blank">Click here</a></div>
<div class="reference-info"><strong>Website:</strong> <a href="http://silverlike.net/fluid-behavior-container/" title="http://silverlike.net/fluid-behavior-container/" target="_blank">Click here</a></div>
<img src="http://silverlike.net/?ak_action=api_record_view&id=205&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://silverlike.net/fluid-behavior-container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!--
This site's performance optimized by W3 Total Cache:

W3 Total Cache improves the user experience of your blog by caching
frequent operations, reducing the weight of various files and providing
transparent content delivery network integration.

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk

Served from: shareelements.silverlighteffect.com @ 2012-02-07 15:39:47 -->
