<?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:blogger='http://schemas.google.com/blogger/2008' 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-436319934970218468</id><updated>2024-09-04T15:00:44.194-07:00</updated><title type='text'>Silverlight Help Center</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://silverlighthelpcenter.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://silverlighthelpcenter.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Amin Uddin</name><uri>http://www.blogger.com/profile/01517505374798681625</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-436319934970218468.post-2241696344337072723</id><published>2013-05-31T20:45:00.001-07:00</published><updated>2013-05-31T20:45:55.297-07:00</updated><title type='text'>Check Network Connection in Silverlight</title><content type='html'>&lt;span style=&quot;color: #222222; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;div align=&quot;LEFT&quot;&gt;
Copy and Paste the code below into your main page loading&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
--Constructor&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
this.Loaded += new RoutedEventHandler(LoginPage_Loaded);&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
#region Get Network Status&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
private void LoginPage_Loaded(object sender, RoutedEventArgs e)&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
{&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
GetNetworkStatus();&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
NetworkChange.NetworkAddressChanged += new&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
NetworkAddressChangedEventHandler(NetworkChange_NetworkAddressChanged);&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
private void NetworkChange_NetworkAddressChanged(object sender, EventArgs e)&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
{&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
GetNetworkStatus();&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
private void GetNetworkStatus()&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
{&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
_dataContext.Online = NetworkInterface.GetIsNetworkAvailable();&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
if (!_dataContext.Online)&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
{&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
//no internet connection&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
_dataContext.Message = &quot;Internet connection is not available&quot;;&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
else&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
{&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
//Load All user Data.&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
_dataContext.LoadData();&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
}&lt;/div&gt;
&lt;br /&gt;
#endregion&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://silverlighthelpcenter.blogspot.com/feeds/2241696344337072723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2013/05/check-network-connection-in-silverlight.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/2241696344337072723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/2241696344337072723'/><link rel='alternate' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2013/05/check-network-connection-in-silverlight.html' title='Check Network Connection in Silverlight'/><author><name>Amin Uddin</name><uri>http://www.blogger.com/profile/01517505374798681625</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436319934970218468.post-5674516585695542131</id><published>2013-05-31T20:39:00.001-07:00</published><updated>2013-05-31T20:39:31.018-07:00</updated><title type='text'>Find Parent Framework Element in silverligth</title><content type='html'>Sometime we need to find out the specific frame work element&#39;s ancestors. Example- If we use any pop up in any position in our application then there will need to hide it when we click on any where in the application. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;private FrameworkElement FindControlParent(FrameworkElement control)&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;{&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;FrameworkElement ctrlParent = control;&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
//check is it user cotrol &lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;while (typeof(UserControl) != null)&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;{&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
//get current control parent&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;ctrlParent = (FrameworkElement)ctrlParent.Parent;&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
//check current control has no parent; If not then it is the ancestor of my sending control last parent&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;if (ctrlParent.Parent == null)&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;{&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;return (FrameworkElement)ctrlParent;&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;}&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;}&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;LEFT&quot;&gt;
&lt;strong&gt;return null;&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;}&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://silverlighthelpcenter.blogspot.com/feeds/5674516585695542131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2013/05/find-parent-framework-element-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/5674516585695542131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/5674516585695542131'/><link rel='alternate' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2013/05/find-parent-framework-element-in.html' title='Find Parent Framework Element in silverligth'/><author><name>Amin Uddin</name><uri>http://www.blogger.com/profile/01517505374798681625</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436319934970218468.post-2601297329843682508</id><published>2013-05-31T10:51:00.004-07:00</published><updated>2013-05-31T11:15:38.048-07:00</updated><title type='text'>How to Create CheckBox Datagrid in Silverlight</title><content type='html'>&lt;span id=&quot;goog_884449867&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_884449864&quot;&gt;&lt;/span&gt;Sometimes we need to choose one or more record. So for this reason we need to create checkbox grid. Like as follows. &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6t5yAzGfpmdDLZsVVFaMr1tjK-EMy3nQlK1F0rIDcyHUoHB9wRfTAsmS6LlkcUVa-0OJxkjwhgR3IIP3fUfp75-t4FZDptIfQSU_TGo8XVLiOh3jEbk_LK1Vf3nazBEUHC_VgD6_m4dmB/s1600/5-31-2013+11-32-23+PM.png&quot; height=&quot;173&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I have developed it in silverlight 5 with mvvm architectural pattern. &lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;in xaml&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&amp;lt;UserControl&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
xmlns:sdk=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
x:Class=&quot;CheckBoxGrid.MainPage&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
xmlns:i=&quot;http://schemas.microsoft.com/expression/2010/interactivity&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
mc:Ignorable=&quot;d&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
d:DesignHeight=&quot;300&quot; d:DesignWidth=&quot;1300&quot;&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;Grid x:Name=&quot;LayoutRoot&quot; Background=&quot;White&quot;&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;Grid.RowDefinitions&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;RowDefinition&amp;gt;&amp;lt;/RowDefinition&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/Grid.RowDefinitions&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;sdk:DataGrid &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
HorizontalAlignment=&quot;Stretch&quot; VerticalAlignment=&quot;Top&quot; Grid.Row=&quot;0&quot; Grid.Column=&quot;0&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
ItemsSource=&quot;{Binding Path=VMVStudent.StudentList,Mode=TwoWay}&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
SelectionMode=&quot;Single&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
IsReadOnly=&quot;True&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
AutoGenerateColumns=&quot;False&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;sdk:DataGrid.Columns&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;sdk:DataGridTemplateColumn Width=&quot;20&quot;&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;sdk:DataGridTemplateColumn.HeaderStyle &amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;Style   TargetType=&quot;sdk:DataGridColumnHeader&quot;&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;Setter Property=&quot;Template&quot;&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;Setter.Value&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;ControlTemplate&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;Grid&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;Grid.ColumnDefinitions&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;ColumnDefinition&amp;gt;&amp;lt;/ColumnDefinition&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/Grid.ColumnDefinitions&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;CheckBox x:Name=&quot;chkAll&quot; IsChecked=&quot;{Binding Path=VMVStudent.IsSelectAll, Mode=TwoWay}&quot; Grid.Column=&quot;0&quot;&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;i:Interaction.Triggers&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;i:EventTrigger EventName=&quot;Click&quot;&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;i:InvokeCommandAction Command=&quot;{Binding SelectAllCommand, Source={StaticResource StudentSR}}&quot;  CommandParameter=&quot;{Binding ElementName=chkAll}&quot; /&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/i:EventTrigger&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/i:Interaction.Triggers&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/CheckBox&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/Grid&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/ControlTemplate&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/Setter.Value&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/Setter&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/Style&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/sdk:DataGridTemplateColumn.HeaderStyle&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;sdk:DataGridTemplateColumn.CellTemplate &amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;DataTemplate&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;CheckBox Name=&quot;chkSelect&quot; IsChecked=&quot;{Binding Path=IsSelect,Mode=TwoWay}&quot;/&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/DataTemplate&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/sdk:DataGridTemplateColumn.CellTemplate&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/sdk:DataGridTemplateColumn&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;sdk:DataGridTextColumn Binding=&quot;{Binding Path=Id}&quot; Width=&quot;*&quot; Header=&quot;Student Id&quot;&amp;gt;&amp;lt;/sdk:DataGridTextColumn&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;sdk:DataGridTextColumn Binding=&quot;{Binding Path=Name}&quot; Width=&quot;*&quot; Header=&quot;Student Name&quot;&amp;gt;&amp;lt;/sdk:DataGridTextColumn&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/sdk:DataGrid.Columns&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/sdk:DataGrid&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/Grid&amp;gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;lt;/UserControl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: red; color: orange;&quot;&gt;Page Code Behind&lt;/span&gt;&lt;br /&gt;
using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Net;&lt;br /&gt;using System.Windows;&lt;br /&gt;using System.Windows.Controls;&lt;br /&gt;using System.Windows.Documents;&lt;br /&gt;using System.Windows.Input;&lt;br /&gt;using System.Windows.Media;&lt;br /&gt;using System.Windows.Media.Animation;&lt;br /&gt;using System.Windows.Shapes;&lt;br /&gt;
namespace CheckBoxGrid&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public partial class MainPage : UserControl&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VM.VMSudent _studentVm = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public MainPage()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _studentVm = new VM.VMSudent();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resources.Add(&quot;StudentSR&quot;, _studentVm);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.DataContext = _studentVm;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;In Model&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;using System;&lt;br /&gt;using System.Net;&lt;br /&gt;using System.Windows;&lt;br /&gt;using System.Windows.Controls;&lt;br /&gt;using System.Windows.Documents;&lt;br /&gt;using System.Windows.Ink;&lt;br /&gt;using System.Windows.Input;&lt;br /&gt;using System.Windows.Media;&lt;br /&gt;using System.Windows.Media.Animation;&lt;br /&gt;using System.Windows.Shapes;&lt;br /&gt;&amp;nbsp;namespace CheckBoxGrid.Model&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public class Students:BaseClass&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int id;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string name;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public string Name&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get { return name; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set { name = value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NotifyPropertyChanged(&quot;Name&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public int Id&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get { return id; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set { id = value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NotifyPropertyChanged(&quot;Id&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private bool isSelect;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public bool IsSelect&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get { return isSelect; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set { isSelect = value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NotifyPropertyChanged(&quot;IsSelect&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;span style=&quot;background-color: red;&quot;&gt;In VMV&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;using System;&lt;br /&gt;using System.Collections.ObjectModel;&lt;br /&gt;using System.Net;&lt;br /&gt;using System.Windows;&lt;br /&gt;using System.Windows.Controls;&lt;br /&gt;using System.Windows.Documents;&lt;br /&gt;using System.Windows.Ink;&lt;br /&gt;using System.Windows.Input;&lt;br /&gt;using System.Windows.Media;&lt;br /&gt;using System.Windows.Media.Animation;&lt;br /&gt;using System.Windows.Shapes;&lt;br /&gt;using CheckBoxGrid.Model;&lt;br /&gt;&lt;br /&gt;
namespace CheckBoxGrid.VMV&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public class VMVStudent : BaseClass&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private ObservableCollection&lt;students&gt; studentList = new ObservableCollection&lt;students&gt;();&lt;/students&gt;&lt;/students&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public ObservableCollection&lt;students&gt; StudentList&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get { return studentList; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; studentList = value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NotifyPropertyChanged(&quot;StudentList&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private bool _IsSelectAll;&lt;/students&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public bool IsSelectAll&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get { return _IsSelectAll; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set { _IsSelectAll = value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NotifyPropertyChanged(&quot;IsSelectAll&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;
&lt;span style=&quot;background-color: lime; color: red;&quot;&gt;In VM&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;using System;&lt;br /&gt;using System.Net;&lt;br /&gt;using System.Windows;&lt;br /&gt;using System.Windows.Controls;&lt;br /&gt;using System.Windows.Documents;&lt;br /&gt;using System.Windows.Ink;&lt;br /&gt;using System.Windows.Input;&lt;br /&gt;using System.Windows.Media;&lt;br /&gt;using System.Windows.Media.Animation;&lt;br /&gt;using System.Windows.Shapes;&lt;br /&gt;using NEXTIT.ERP.LIB;&lt;br /&gt;
namespace CheckBoxGrid.VM&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public class VMSudent:BaseClass&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private VMV.VMVStudent _VMVStudent = new VMV.VMVStudent();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public VMV.VMVStudent VMVStudent&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get { return _VMVStudent; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set { _VMVStudent = value; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public VMSudent() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PopulateStudentList();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SelectAllCommand = new DelegateCommand(OnSelectAllCommand, CanLoadCustomers);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void PopulateStudentList()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VMVStudent.StudentList = new System.Collections.ObjectModel.ObservableCollection&lt;model .students=&quot;&quot;&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Model.Students {Id=1,Name = &quot;Pria&quot;},&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Model.Students {Id=2,Name = &quot;Smith&quot;},&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Model.Students {Id=3,Name = &quot;Devid&quot;},&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Model.Students {Id=4,Name = &quot;Helen&quot;},&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Model.Students {Id=5,Name = &quot;Nuton&quot;},&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Model.Students {Id=6,Name = &quot;Kafre&quot;},&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &lt;summary&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// Loads the customers.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &lt;/summary&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &lt;param name=&quot;parameter&quot; /&gt;The parameter.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void OnSelectAllCommand(object parameter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/model&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (((dynamic)(parameter)).IsChecked == true)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _VMVStudent.IsSelectAll = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var obj in VMVStudent.StudentList)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.IsSelect = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _VMVStudent.IsSelectAll = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var obj in VMVStudent.StudentList)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.IsSelect = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public ICommand SelectAllCommand { get; set; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &lt;summary&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// Determines whether this instance [can load customers] the specified parameter.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &lt;/summary&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &lt;param name=&quot;parameter&quot; /&gt;The parameter.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &lt;returns&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;nbsp;&lt;c&gt;true&lt;/c&gt; if this instance [can load customers] the specified parameter; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;nbsp;otherwise, &lt;c&gt;false&lt;/c&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &lt;/returns&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private bool CanLoadCustomers(object parameter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/goog_884449866&quot;&gt;
&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;o:p&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
﻿&lt;/div&gt;
&lt;usercontrol d:designheight=&quot;300&quot; d:designwidth=&quot;1300&quot; mc:ignorable=&quot;d&quot; x:class=&quot;CheckBoxGrid.MainPage&quot; xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:i=&quot;http://schemas.microsoft.com/expression/2010/interactivity&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:sdk=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;&gt;
    &lt;grid background=&quot;White&quot; x:name=&quot;LayoutRoot&quot;&gt;
        &lt;grid .rowdefinitions=&quot;&quot;&gt;
            &lt;rowdefinition&gt;&lt;/rowdefinition&gt;

        &lt;/grid&gt;


        &lt;sdk:datagrid autogeneratecolumns=&quot;False&quot; grid.column=&quot;0&quot; grid.row=&quot;0&quot; horizontalalignment=&quot;Stretch&quot; isreadonly=&quot;True&quot; itemssource=&quot;{Binding Path=VMVStudent.StudentList,Mode=TwoWay}&quot; selectionmode=&quot;Single&quot; verticalalignment=&quot;Top&quot;&gt;
            &lt;sdk:datagrid .columns=&quot;&quot;&gt;
                &lt;sdk:datagridtemplatecolumn width=&quot;20&quot;&gt;
                    &lt;sdk:datagridtemplatecolumn .headerstyle=&quot;&quot;&gt;
                        &lt;style targettype=&quot;sdk:DataGridColumnHeader&quot;&gt;
                            &lt;setter Property=&quot;Template&quot;&gt;
                                &lt;Setter.Value&gt;
                                    &lt;controltemplate&gt;
                                        &lt;grid&gt;
                                            &lt;Grid.ColumnDefinitions&gt;
                                                &lt;columndefinition&gt;&lt;/ColumnDefinition&gt;
                                            &lt;/Grid.ColumnDefinitions&gt;
                                            &lt;checkbox x:Name=&quot;chkAll&quot; IsChecked=&quot;{Binding Path=VMVStudent.IsSelectAll, Mode=TwoWay}&quot; Grid.Column=&quot;0&quot;&gt;
                                                &lt;i:Interaction.Triggers&gt;
                                                    &lt;i:EventTrigger EventName=&quot;Click&quot;&gt;
                                                        &lt;i:InvokeCommandAction Command=&quot;{Binding SelectAllCommand, Source={StaticResource StudentSR}}&quot;  CommandParameter=&quot;{Binding ElementName=chkAll}&quot; /&gt;
                                                    &lt;/i:EventTrigger&gt;
                                                &lt;/i:Interaction.Triggers&gt;
                                            &lt;/CheckBox&gt;
                                        &lt;/Grid&gt;
                                    &lt;/ControlTemplate&gt;
                                &lt;/Setter.Value&gt;
                            &lt;/Setter&gt;
                        &lt;/style&gt;
                    &lt;/sdk:datagridtemplatecolumn&gt;
                    &lt;sdk:datagridtemplatecolumn .celltemplate=&quot;&quot;&gt;
                        &lt;datatemplate&gt;
                            &lt;checkbox ischecked=&quot;{Binding Path=IsSelect,Mode=TwoWay}&quot; name=&quot;chkSelect&quot;&gt;
                        &lt;/checkbox&gt;&lt;/datatemplate&gt;
                    &lt;/sdk:datagridtemplatecolumn&gt;
                    
                &lt;/sdk:datagridtemplatecolumn&gt;
                &lt;sdk:datagridtextcolumn binding=&quot;{Binding Path=Id}&quot; header=&quot;Student Id&quot; width=&quot;*&quot;&gt;&lt;/sdk:datagridtextcolumn&gt;
                &lt;sdk:datagridtextcolumn binding=&quot;{Binding Path=Name}&quot; header=&quot;Student Name&quot; width=&quot;*&quot;&gt;&lt;/sdk:datagridtextcolumn&gt;
            &lt;/sdk:datagrid&gt;

        &lt;/sdk:datagrid&gt;



    &lt;/grid&gt;
&lt;/usercontrol&gt;
&lt;br /&gt;
&lt;span id=&quot;goog_884449868&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_884449865&quot;&gt;&lt;/span&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://silverlighthelpcenter.blogspot.com/feeds/2601297329843682508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2013/05/how-to-create-checkbox-datagrid-in_31.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/2601297329843682508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/2601297329843682508'/><link rel='alternate' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2013/05/how-to-create-checkbox-datagrid-in_31.html' title='How to Create CheckBox Datagrid in Silverlight'/><author><name>Amin Uddin</name><uri>http://www.blogger.com/profile/01517505374798681625</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6t5yAzGfpmdDLZsVVFaMr1tjK-EMy3nQlK1F0rIDcyHUoHB9wRfTAsmS6LlkcUVa-0OJxkjwhgR3IIP3fUfp75-t4FZDptIfQSU_TGo8XVLiOh3jEbk_LK1Vf3nazBEUHC_VgD6_m4dmB/s72-c/5-31-2013+11-32-23+PM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436319934970218468.post-2559384100766142016</id><published>2013-04-30T23:59:00.001-07:00</published><updated>2013-05-30T21:06:42.841-07:00</updated><title type='text'>Silver Light Auto Complete invalid input character protection</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Collections.Generic;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Linq;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Net;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Windows;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Windows.Controls;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Windows.Documents;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Windows.Input;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Windows.Media;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Windows.Media.Animation;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; System.Windows.Shapes;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;namespace&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; AutoCompleteBindingData&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;partial&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;MainPage&lt;/span&gt; : &lt;span style=&quot;color: #2b91af;&quot;&gt;UserControl&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;List&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;&amp;gt;
strList = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;List&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;&amp;gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; MainPage()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;InitializeComponent();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;
str = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;abc,acd,ade,bcd,cde,def,efg,fgh,ghi,
hijv,jkl&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;strList = str.Split(&lt;span style=&quot;color: #a31515;&quot;&gt;&#39;,&#39;&lt;/span&gt;).ToList();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;autoCompleteBox1.ItemsSource = strList;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;autoCompleteBox1.KeyUp += &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;KeyEventHandler&lt;/span&gt;(autoCompleteBox1_KeyUp);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; autoCompleteBox1_KeyUp(&lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt;
sender, &lt;span style=&quot;color: #2b91af;&quot;&gt;KeyEventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; lastSear = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt;
autoCompleteBox1_KeyDown(&lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt; sender, &lt;span style=&quot;color: #2b91af;&quot;&gt;KeyEventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; isExist = &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; st = autoCompleteBox1.SearchText;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (e.PlatformKeyCode != 32)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;st = st + e.Key;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;st = st + &lt;span style=&quot;color: #a31515;&quot;&gt;&quot; &quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;st = st.ToLower();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; str &lt;span style=&quot;color: blue;&quot;&gt;in&lt;/span&gt; strList)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (str.ToLower().Contains(st))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; stLen = st.Length;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; subStr = str.Substring(0,
stLen).ToLower();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;
(subStr.Equals(st))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;isExist = &lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (!isExist)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;e.Handled = &lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;Grid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; x&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;Name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;LayoutRoot&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; Background&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;White&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;sdk&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;AutoCompleteBox&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; Height&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;28&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; HorizontalAlignment&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;Left&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; Margin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;137,168,0,0&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; Name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;autoCompleteBox1&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; VerticalAlignment&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;Top&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; Width&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;225&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: x-small;&quot;&gt; KeyDown&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;=&quot;autoCompleteBox1_KeyDown&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: x-small;&quot;&gt;Grid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;o:p&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://silverlighthelpcenter.blogspot.com/feeds/2559384100766142016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2013/04/silver-light-auto-complete-advanced.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/2559384100766142016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/2559384100766142016'/><link rel='alternate' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2013/04/silver-light-auto-complete-advanced.html' title='Silver Light Auto Complete invalid input character protection'/><author><name>Amin Uddin</name><uri>http://www.blogger.com/profile/01517505374798681625</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436319934970218468.post-8221132628400249514</id><published>2012-04-27T08:38:00.000-07:00</published><updated>2012-04-27T11:56:31.151-07:00</updated><title type='text'>Silverlight Layout and Screen mode design</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;Full-Screen Mode:&lt;br /&gt;
&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Utopia-Regular; font-size: medium;&quot;&gt;&lt;div class=&quot;sectionblock&quot;&gt;

&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
A Silverlight-based application can 
display in either embedded mode or in full-screen mode:&lt;/div&gt;
&lt;ul xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;li&gt;
In &lt;span class=&quot;parameter&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;embedded mode&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;, the application displays 
within the Web browser or an out-of-browser application window.&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
In &lt;span class=&quot;parameter&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;full-screen mode&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;, the application resizes to 
the current resolution of the screen. By default, full-screen applications 
display on top of all other applications. However, you can configure them to 
stay in full-screen mode when other applications are active.&lt;/li&gt;
&lt;/ul&gt;
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
The following illustrations show the 
differences between embedded mode and full-screen mode.&lt;/div&gt;
&lt;div class=&quot;caption&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
Silverlight-based 
application in embedded mode&lt;/div&gt;
&lt;br /&gt;
&lt;img alt=&quot;Embedded mode&quot; id=&quot;JOLT_fullscreenmode_01&quot; src=&quot;http://i.msdn.microsoft.com/dynimg/IC210300.png&quot; title=&quot;Embedded mode&quot; /&gt; 
&lt;br /&gt;
&lt;div class=&quot;caption&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
Silverlight-based 
application in full-screen mode&lt;/div&gt;
&lt;br /&gt;
&lt;img alt=&quot;Full-screen mode&quot; id=&quot;JOLT_fullscreenmode_02&quot; src=&quot;http://i.msdn.microsoft.com/dynimg/IC210301.png&quot; title=&quot;Full-screen mode&quot; /&gt;&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/&quot; id=&quot;Entering_Full-screen_Mode&quot;&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;div xmlns=&quot;&quot;&gt;
&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot;&gt;
&lt;div&gt;
&lt;a class=&quot;LW_CollapsibleArea_TitleAhref&quot; href=&quot;javascript:void(0)&quot; title=&quot;Collapse&quot;&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #3f529c; font-size: large;&quot;&gt;Entering Full-Screen Mode&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/a&gt;
&lt;br /&gt;
&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot;&gt;
&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sectionblock&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/&quot; id=&quot;sectionToggle1&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
A Silverlight-based application enters 
full-screen mode when you set the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.isfullscreen(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;IsFullScreen&lt;/span&gt;&lt;/a&gt; 
property to &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;true&lt;/strong&gt;&lt;/span&gt;. When the application 
enters full-screen mode, it briefly displays the message &quot;Press ESC to exit 
full-screen mode&quot;. This message alerts the user that the application is now in 
full-screen mode, and provides information about how to return to embedded 
mode.&lt;/div&gt;
&lt;div class=&quot;caption&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
Full-screen mode 
message&lt;/div&gt;
&lt;br /&gt;
&lt;img alt=&quot;Press ESC to exit full-screen mode.&quot; id=&quot;JOLT_fullscreenbutton&quot; src=&quot;http://i.msdn.microsoft.com/dynimg/IC214071.png&quot; title=&quot;Press ESC to exit full-screen mode.&quot; /&gt; 
&lt;br /&gt;
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
The following code example shows how to 
enable and disable full-screen mode by toggling the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.isfullscreen(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;IsFullScreen&lt;/span&gt;&lt;/a&gt; 
property value. &lt;/div&gt;
&lt;div id=&quot;snippetGroup&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;div class=&quot;codeSnippetContainer&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;div class=&quot;codeSnippetContainerTabs&quot;&gt;
&lt;div class=&quot;codeSnippetContainerTab codeSnippetContainerTabActive codeSnippetContainerTabFirst&quot; dir=&quot;ltr&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/&quot;&gt;&lt;span style=&quot;color: #e66a38;&quot;&gt;C#&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;codeSnippetContainerTab codeSnippetContainerTabLast&quot; dir=&quot;ltr&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codeSnippetContainerCodeContainer&quot;&gt;
&lt;div class=&quot;codeSnippetContainerCode&quot; dir=&quot;ltr&quot; id=&quot;CodeSnippetContainerCode_87073ca6-955c-40e5-a362-c962772cf584&quot;&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;pre&gt;Page rootPage = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; Page();
&lt;span style=&quot;color: blue;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Application_Startup(&lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt; sender, StartupEventArgs e)
{
    &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.RootVisual = rootPage;

    rootPage.LayoutRoot.MouseLeftButtonDown +=
        &lt;span style=&quot;color: blue;&quot;&gt;delegate&lt;/span&gt;(Object s, MouseButtonEventArgs args) {
            &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.Host.Content.IsFullScreen =
                !&lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.Host.Content.IsFullScreen;
        };

    &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.Host.Content.FullScreenChanged += 
        &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; EventHandler(DisplaySizeInformation);

    &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.Host.Content.Resized += 
        &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; EventHandler(DisplaySizeInformation);
}

&lt;span style=&quot;color: blue;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; DisplaySizeInformation(Object sender, EventArgs e)
{
    String message = String.Format(
        &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;ActualWidth={0}, ActualHeight={1}&quot;&lt;/span&gt;,
        &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.Host.Content.ActualWidth,
        &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.Host.Content.ActualHeight);

    rootPage.LayoutRoot.Children.Clear();
    rootPage.LayoutRoot.Children.Add(
        &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; TextBlock { Text = message });
}


&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 class=&quot;subHeading&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;

Limitations of 
Full-Screen Mode&lt;/h3&gt;
&lt;div class=&quot;subsection&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
A Silverlight-based application can enter full-screen mode only in response 
to a user-initiated action. This means that you can programmatically switch to 
full-screen mode only in a user-input event handler. If you try to set the 
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.isfullscreen(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;IsFullScreen&lt;/span&gt;&lt;/a&gt; 
property to &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;true&lt;/strong&gt;&lt;/span&gt; in a &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.application.startup(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Startup&lt;/span&gt;&lt;/a&gt; 
event handler, for example, the property setting is ignored. Limiting the 
actions that enable full-screen mode ensures that the user is always the 
initiator of full-screen mode behavior. This limits malicious applications from 
spoofing the appearance of the operating system or other programs. &lt;br /&gt;
&lt;div class=&quot;alert&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;&lt;img alt=&quot;Note&quot; id=&quot;alert_note&quot; src=&quot;http://i.msdn.microsoft.com/dynimg/IC101471.gif&quot; title=&quot;Note&quot; xmlns=&quot;&quot; /&gt; 
&lt;strong&gt;Note:&lt;/strong&gt; &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;User initiation and other requirements do not apply to trusted applications. 
For more information, see the next section.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
By default, only one application can be in full-screen mode at a time. An 
application will normally exit full-screen mode when the user switches to 
another application. &lt;br /&gt;
To configure a Silverlight-based application to stay in full-screen mode 
regardless of whether it is active, set the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.fullscreenoptions(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;FullScreenOptions&lt;/span&gt;&lt;/a&gt; 
property to &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.fullscreenoptions(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;StaysFullScreenWhenUnfocused&lt;/span&gt;&lt;/a&gt;. 
This enables users to view an application in full-screen mode while interacting 
with other applications. Users can also display multiple applications in 
full-screen mode. &lt;br /&gt;
When an application stays in full-screen mode while inactive, users can 
switch to other applications. This includes the original host browser or 
out-of-browser window, where the embedded Silverlight plug-in will display an 
empty area while the application is in full-screen mode. &lt;br /&gt;
In most cases, switching back to a full-screen application will not 
re-display the full-screen message. This means that malicious applications have 
an additional opportunity to spoof other applications. To help prevent this, the 
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.fullscreenoptions(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;StaysFullScreenWhenUnfocused&lt;/span&gt;&lt;/a&gt; 
setting causes the application to display a user-consent dialog box before 
entering full-screen mode. If the user does not provide consent, then the 
application uses the default full-screen behavior.&lt;br /&gt;
The user-consent dialog box includes a check box that enables users to save 
their preferences. Users can modify their preferences in the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc645084(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Microsoft 
Silverlight Configuration Dialog Box&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;
When a Silverlight-based application is in full-screen mode, most keyboard 
events are disabled. This limitation of keyboard input during full-screen mode 
is a security feature, and is intended to minimize the possibility of unintended 
information being entered by a user. In full-screen mode, the only input allowed 
is through the following keys: &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
UP ARROW&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
DOWN ARROW&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
LEFT ARROW&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
RIGHT ARROW&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
SPACEBAR&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
TAB&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
PAGE UP&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
PAGE DOWN&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
HOME&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
END&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
ENTER&lt;/li&gt;
&lt;/ul&gt;
Silverlight does not support dialog boxes in full-screen mode. This includes 
the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.controls.openfiledialog(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;OpenFileDialog&lt;/span&gt;&lt;/a&gt; 
and &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.controls.savefiledialog(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;SaveFileDialog&lt;/span&gt;&lt;/a&gt; 
classes in addition to user-consent dialog boxes. In most cases, displaying a 
dialog box in full-screen mode will cause the application to revert to embedded 
mode. However, to avoid issues on some browsers, you should exit full-screen 
mode before using a feature that displays a dialog box. &lt;br /&gt;
Full-screen mode does not support drag-and-drop or multitouch input. If your 
application uses these features, you should provide user guidance on 
alternatives when the application enters full-screen mode. &lt;/div&gt;
&lt;h3 class=&quot;subHeading&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;

Full-Screen Mode with 
Trusted Applications&lt;/h3&gt;
&lt;div class=&quot;subsection&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
The full-screen message, user-initiation requirement, keyboard restrictions, 
and dialog-box restrictions do not apply to trusted applications. Additionally, 
trusted applications do not display the user-consent dialog box when using the 
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.fullscreenoptions(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;StaysFullScreenWhenUnfocused&lt;/span&gt;&lt;/a&gt; 
setting. &lt;br /&gt;
In trusted applications, you can enter full-screen mode in a &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.application.startup(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Application&lt;span xmlns=&quot;&quot;&gt;.&lt;/span&gt;Startup&lt;/span&gt;&lt;/a&gt; or &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.loaded(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;FrameworkElement&lt;span xmlns=&quot;&quot;&gt;.&lt;/span&gt;Loaded&lt;/span&gt;&lt;/a&gt; event handler. However, you must do so by 
setting the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.isfullscreen(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;IsFullScreen&lt;/span&gt;&lt;/a&gt; 
property in a delegate passed to the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatcher.begininvoke(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Dispatcher&lt;span xmlns=&quot;&quot;&gt;.&lt;/span&gt;BeginInvoke&lt;/span&gt;&lt;/a&gt; method. &lt;br /&gt;
Because the ESC key has no built-in effect for trusted applications, you can 
use it for your own purposes. In this case, you should implement and document an 
alternative so that users can exit full-screen mode.&lt;br /&gt;
For more information, see &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ee721083(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Trusted 
Applications&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;h3 class=&quot;subHeading&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;

The Size of the 
Application in Full-Screen Mode&lt;/h3&gt;
&lt;div class=&quot;subsection&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
When a Silverlight-based application is in full-screen mode, its size is 
equal to the current resolution of the screen. However, the values of the 
plug-in &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;width&lt;/strong&gt;&lt;/span&gt; and &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;height&lt;/strong&gt;&lt;/span&gt; properties are not affected during the switch 
to full-screen mode. To determine the true size of the application in 
full-screen mode, use the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.actualwidth(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Content&lt;span xmlns=&quot;&quot;&gt;.&lt;/span&gt;ActualWidth&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.actualheight(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Content&lt;span xmlns=&quot;&quot;&gt;.&lt;/span&gt;ActualHeight&lt;/span&gt;&lt;/a&gt; properties. In full-screen mode, these 
properties are set to the current resolution of the screen.&lt;br /&gt;
When an application in full-screen mode switches back to embedded mode, the 
plug-in size reverts to the values of the &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;width&lt;/strong&gt;&lt;/span&gt; and &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;height&lt;/strong&gt;&lt;/span&gt; 
properties.&lt;br /&gt;
For more information about the &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;width&lt;/strong&gt;&lt;/span&gt; 
and &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;height&lt;/strong&gt;&lt;/span&gt; properties, see &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc838268(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Property 
Values of the HTML Object Element&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;h3 class=&quot;subHeading&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;

Performance 
Characteristics During a Mode Change&lt;/h3&gt;
&lt;div class=&quot;subsection&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
Switching between embedded and full-screen modes has minimal effect on 
performance for content that is contained within the application. This means, in 
most cases, that the playback of audio or video content is seamless.&lt;br /&gt;
&lt;div class=&quot;alert&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;&lt;img alt=&quot;Note&quot; id=&quot;alert_note&quot; src=&quot;http://i.msdn.microsoft.com/dynimg/IC101471.gif&quot; title=&quot;Note&quot; xmlns=&quot;&quot; /&gt; 
&lt;strong&gt;Note:&lt;/strong&gt; &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;For best performance, when your application goes into full-screen mode, hide 
or disconnect from the visual tree all objects that are not being rendered in 
full-screen mode. You can hide an object by setting its &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.uielement.visibility(v=vs.95).aspx&quot;&gt;Visibility&lt;/a&gt; 
property to &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.visibility(v=vs.95).aspx&quot;&gt;Collapsed&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 class=&quot;subHeading&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;

Full-Screen Windowless 
Applications&lt;/h3&gt;
&lt;div class=&quot;subsection&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
A Silverlight plug-in with the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc838156(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Windowless&lt;/span&gt;&lt;/a&gt; 
property set to &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;true&lt;/strong&gt;&lt;/span&gt; always draws its 
background color at full opacity when displayed in full-screen mode. However, 
when the application returns to embedded mode, the background color reverts to 
its previous opacity value.&lt;br /&gt;
Windowless HTML overlay effects are not supported in full-screen mode. 
However, out-of-browser applications can use the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;WebBrowser&lt;/span&gt;&lt;/a&gt; 
control to display HTML in full-screen mode.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/&quot; id=&quot;Returning_to_Embedded_Mode&quot;&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;div xmlns=&quot;&quot;&gt;
&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot;&gt;
&lt;div&gt;
&lt;a class=&quot;LW_CollapsibleArea_TitleAhref&quot; href=&quot;javascript:void(0)&quot; title=&quot;Collapse&quot;&gt;&lt;img class=&quot;cl_CollapsibleArea_expanding LW_CollapsibleArea_Img&quot; src=&quot;http://i.msdn.microsoft.com/Areas/Global/Content/clear.gif&quot; /&gt; &lt;span class=&quot;LW_CollapsibleArea_Title&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #3f529c; font-size: large;&quot;&gt;Returning to Embedded Mode&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/a&gt;
&lt;br /&gt;
&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot;&gt;
&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sectionblock&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/&quot; id=&quot;sectionToggle2&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
A Silverlight-based application in 
full-screen mode can return to embedded mode in several ways. The simplest way 
to leave full-screen mode is for the user to press ESC or use one of the 
following keystroke combinations:&lt;/div&gt;
&lt;ul xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;li&gt;
Windows users can press ALT+F4.&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
Macintosh users can press COMMAND+ESC.&lt;/li&gt;
&lt;/ul&gt;
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
In addition, if an application in 
full-screen mode loses focus, it returns to embedded mode unless the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.fullscreenoptions(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;StaysFullScreenWhenUnfocused&lt;/span&gt;&lt;/a&gt; 
setting is in effect. An application in full-screen mode can lose focus when 
another application gains focus through a user action. For example, switching 
between tasks in Windows by using the ALT+TAB key combination causes the current 
application to lose focus and the next application to gain focus.&lt;/div&gt;
&lt;h3 class=&quot;subHeading&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;

Setting the 
IsFullScreen Property to False&lt;/h3&gt;
&lt;div class=&quot;subsection&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
A Silverlight-based application exits full-screen mode when you set the 
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.isfullscreen(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;IsFullScreen&lt;/span&gt;&lt;/a&gt; 
property to &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;false&lt;/strong&gt;&lt;/span&gt;. When the application 
switches back to embedded mode, its size reverts to the values of the plug-in 
&lt;span class=&quot;input&quot;&gt;&lt;strong&gt;width&lt;/strong&gt;&lt;/span&gt; and &lt;span class=&quot;input&quot;&gt;&lt;strong&gt;height&lt;/strong&gt;&lt;/span&gt; properties.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/&quot; id=&quot;Using_the_OnFullScreenChange_Event&quot;&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;div xmlns=&quot;&quot;&gt;
&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot;&gt;
&lt;div&gt;
&lt;a class=&quot;LW_CollapsibleArea_TitleAhref&quot; href=&quot;javascript:void(0)&quot; title=&quot;Collapse&quot;&gt;&lt;img class=&quot;cl_CollapsibleArea_expanding LW_CollapsibleArea_Img&quot; src=&quot;http://i.msdn.microsoft.com/Areas/Global/Content/clear.gif&quot; /&gt; &lt;span class=&quot;LW_CollapsibleArea_Title&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #3f529c; font-size: large;&quot;&gt;The FullScreenChanged Event&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/a&gt;
&lt;br /&gt;
&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot;&gt;
&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sectionblock&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/&quot; id=&quot;sectionToggle3&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
The &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.fullscreenchanged(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;Content&lt;span xmlns=&quot;&quot;&gt;.&lt;/span&gt;FullScreenChanged&lt;/span&gt;&lt;/a&gt; event occurs whenever the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.isfullscreen(v=vs.95).aspx&quot;&gt;&lt;span style=&quot;color: #1364c4;&quot;&gt;IsFullScreen&lt;/span&gt;&lt;/a&gt; 
property changes. You can handle this event to change your user interface in 
full-screen mode. &lt;/div&gt;
&lt;div class=&quot;alert&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;&lt;img alt=&quot;Note&quot; id=&quot;alert_note&quot; src=&quot;http://i.msdn.microsoft.com/dynimg/IC101471.gif&quot; title=&quot;Note&quot; xmlns=&quot;&quot; /&gt; 
&lt;strong&gt;Note:&lt;/strong&gt; &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.resized(v=vs.95).aspx&quot;&gt;Resized&lt;/a&gt; 
event does not occur when the application enters full-screen mode. However, you 
typically perform similar layout changes in handlers for both the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.resized(v=vs.95).aspx&quot;&gt;Resized&lt;/a&gt; 
and &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.interop.content.fullscreenchanged(v=vs.95).aspx&quot;&gt;FullScreenChanged&lt;/a&gt; 
events. &lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://silverlighthelpcenter.blogspot.com/feeds/8221132628400249514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2012/04/silverlight-layout-and-screen-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/8221132628400249514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436319934970218468/posts/default/8221132628400249514'/><link rel='alternate' type='text/html' href='http://silverlighthelpcenter.blogspot.com/2012/04/silverlight-layout-and-screen-mode.html' title='Silverlight Layout and Screen mode design'/><author><name>Amin Uddin</name><uri>http://www.blogger.com/profile/01517505374798681625</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>