[FrmSilverlight.xaml]

 

<Canvas xmlns="http://schemas.microsoft.com/client/2007"

        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <TextBlock

        x:Name="lblTitle"

        FontFamily="Malgun Gothic"

        FontSize="20"

        Text="안녕하세요. 반갑습니다."></TextBlock>

</Canvas>

 




-------------------------------------------------------------------------------------



[FrmSilverlight.htm]




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

    <title></title>

</head>

<body>

    <h3>수작업으로 XAML파일 웹페이지에 object태그를 사용해서 인클루드</h3>

    <object type="application/x-silverlight"

        id="sil1" width="640" height="100">

        <param name="background" value="silver" />

        <param name="source" value="FrmSilverlight.xaml" />

        <div style="background-color:Gray;">

            부분에 대체 콘텐츠를 입력

        </div>   

    </object>   

    </hr>

    <embed type="application/x-silverlight"

        id="sil2" width="640" height="100"

        background="silver"

        source="FrmSilverlight.xaml">

        <noembed>

부분에 대체 콘텐츠를 입력

        </noembed>   

    </embed>

</body>

</html>

 

 

-------------------------------------------------------------------------------------



[실행결과]









Posted by holland14
: