PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Visual Studio 2008/CSSL3HTMLBridge/CSSL3HTMLBridge/MainPage.xaml

#
XAML | 24 lines | 24 code | 0 blank | 0 comment | 0 complexity | cd28cc0ba755169f612616c4c1e3de6a MD5 | raw file
 1<UserControl x:Class="CSSL3HTMLBridge.MainPage"
 2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
 3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 5    xmlns:sys="clr-namespace:System;assembly=mscorlib"
 6    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 7    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
 8    <Grid x:Name="LayoutRoot">
 9        <Border BorderBrush="Green" BorderThickness="10">
10            <StackPanel>
11                <TextBlock FontSize="32" Text="Silverlight" Foreground="Green"/>
12                <TextBlock TextWrapping="Wrap" ><Run FontWeight="Bold" Text="Sample 1: Call Javascript method from managed code "/><LineBreak/><Run Text="Try input text in textbox below"/></TextBlock>
13                <TextBox Name="tb1"/>
14                <TextBlock TextWrapping="Wrap"><LineBreak/><Run FontWeight="Bold" Text="Sample 2: Handle Html element from managed code"/><LineBreak/><Run Text="Test2: Try input text on right side textbox"/></TextBlock>
15                <TextBox Name="tb2" IsReadOnly="True"/>
16                <TextBlock TextWrapping="Wrap"><LineBreak/><Run FontWeight="Bold" Text="Sample 3: Call managed code method from javascript"/><LineBreak/><Run Text="Try input text on right side textbox"/></TextBlock>
17                <TextBox Name="tb3" IsReadOnly="True"/>
18                <TextBlock TextWrapping="Wrap"><LineBreak/><Run FontWeight="Bold" Text="Sample 4: Handle managed code event from javascript"/><LineBreak/><Run Text="Try input text on textbox below"/></TextBlock>
19                <TextBox Name="tb4"/>
20            </StackPanel>
21        </Border>
22        <Grid Background="#88000000" Visibility="Collapsed" Name="DisableGrid"/>
23    </Grid>
24</UserControl>