'SilverLight'에 해당되는 글 24건
- 2009/07/16 Silverlight + Expression = Visual Kitchen
- 2009/07/16 2009년 07월 16일 - sunyruru 미투데이 일기장
- 2009/07/13 Silverlight - Network Example 1
- 2009/07/03 Silverlight – Custom control
- 2009/06/23 Silverlight Custom control
- 2009/05/18 Silverlight – bubbling events (2)
- 2009/05/12 Silverlight – DispatcherTimer , Clock
- 2009/05/10 Silverlight – Dynamic Page load
- 2009/05/10 Silverlight – Host Settings
- 2009/05/07 Silverlight OpenFileDialog
http://www.microsoft.com/silverlight/seethelight/
Silverlight 3와 함께 또 흥미로운 녀식이 있었네요.
http://www.microsoft.com/silverlight/seethelight/visualkitchen/default.htm
위 영상을 한번 보세요 ^ ^
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight - Animation (0) | 2009/07/21 |
|---|---|
| Silverlight - Media Player Sample (2) | 2009/07/20 |
| Silverlight + Expression = Visual Kitchen (0) | 2009/07/16 |
| Silverlight - Network Sample 2 (0) | 2009/07/15 |
| Silverlight - Network Example 1 (0) | 2009/07/13 |
| Silverlight – Custom control (0) | 2009/07/03 |
- OCS의 DMessengerEvents::OnContactStatusChange (http://msdn.microsoft.com/en-us/library/bb758796.aspx) . Scriptable 이라고 써있으니 스크립트에서 처리가능해야 하는데 왜 안되냐..ㅡㅡ2009-07-08 16:06:25
- 자바스크립트 유용한 함수들을 잘 정리해둔 사이트를 찾았당… 유후~ 나중에도 쓸만한 내용이 많겠군.. 훗~2009-07-14 19:19:55
- 브라우져의 주소 부분에 javascript:var w=window.document;var p=w.plugins;for(var i in w)w.writeln(i+“=”+eval('w.'+i)+“<br/>”); 이렇게 실행하면 document개체의 값을 볼 수 있네요.2009-07-15 10:12:29
- 아오.. C++ ATL COM 개체에서 받은 이벤트를 어떻게 JavaScript로 콜백해줘야 하는거냐 ㅠㅠ어렵다 제기랄…2009-07-15 14:47:00
- 우리 진상.. 얼마나 피곤했으면 신입이 한시간을 라커룸에서 업무시간에 잤을까 -_ -;; 그래도 조심해야지 신입인데.. 조심좀 해~2009-07-15 16:48:19
- Silverlight 2 Unit Test를 .net계의 멋진 행님 스캇 구슬이 님이 만드셨나부다. Visual Studio랑 연계도 되고.. Silverlight 2.0 용으로 브라우져에서 GUI 환경으로 유닛 테스트가 되니 꽤 좋은것 같다…2009-07-15 20:08:39
이 글은 sunyruru님의 2009년 7월 8일에서 2009년 7월 15일까지의 미투데이 내용입니다.
'FunFun' 카테고리의 다른 글
| 2009년 7월 22일 - sunyruru 미투데이 일기장 (0) | 2009/07/23 |
|---|---|
| 2009년 7월 16일 - sunyruru 미투데이 일기장 (0) | 2009/07/17 |
| 2009년 07월 16일 - sunyruru 미투데이 일기장 (0) | 2009/07/16 |
| sunyruru의 미투데이 - 2009년 3월 22일 (0) | 2009/03/23 |
| sunyruru의 미투데이 - 2009년 3월 20일 (0) | 2009/03/21 |
| sunyruru의 미투데이 - 2009년 3월 13일 (0) | 2009/03/14 |
자료제공 : http://hugeflow.com/
3-1.WebClientTest.zip |
이전 내용에 Silverlight의 네트워크에 작성한 내용이 있다.
2009/04/30 - [.NET/SilverLight] - Silverlight - Network
이 내용을 바탕으로 다음의 소스코드를 작성하였으므로 내용의 이해가 조금 부족하면 확인하시길...
예제는 프로젝트명 WebClientTest로 하였고,
먼저 Page.xaml 코드는
<UserControl x:Class="WebClientTest.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="Auto" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="418">
<Grid x:Name="LayoutRoot" Background="White"><TextBox Height="47" Margin="8,8,100,0" VerticalAlignment="Top" Text="http://hugeflow.com/sample.xml" TextWrapping="Wrap" x:Name="tboxAddress"/>
<Button HorizontalAlignment="Right" Margin="0,8,8.192,0" VerticalAlignment="Top" Content="Get" Width="88" Height="47" x:Name="buttonGet" Click="buttonGet_Click"/>
<TextBlock Margin="8,59,8,8" Text="" TextWrapping="Wrap" x:Name="tbOutput"/></Grid>
</UserControl>
다음으로 C# 코드
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;namespace WebClientTest
{
public partial class Page : UserControl
{
public Page()
{
InitializeComponent();
}private void buttonGet_Click(object sender, RoutedEventArgs e)
{
if (string.IsNullOrEmpty(tboxAddress.Text) == true)
{
return;
}try
{
WebClient wc = new WebClient();
wc.DownloadStringCompleted += new DownloadStringCompletedEventHandler(wc_DownloadStringCompleted);
wc.DownloadStringAsync(new Uri(tboxAddress.Text, UriKind.Absolute));
}
catch (Exception ex)
{
tbOutput.Text = ex.Message;
throw;
}
}void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
{
if (e.Cancelled == true)
{
tbOutput.Text = "취소되었습니다.";
return;
}if (e.Error != null)
{
if (string.IsNullOrEmpty(e.Error.Message) == false)
{
tbOutput.Text = e.Error.Message;
}
else
{
tbOutput.Text = e.Error.ToString();
}
return;
}tbOutput.Text = e.Result;
}
}
}
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight + Expression = Visual Kitchen (0) | 2009/07/16 |
|---|---|
| Silverlight - Network Sample 2 (0) | 2009/07/15 |
| Silverlight - Network Example 1 (0) | 2009/07/13 |
| Silverlight – Custom control (0) | 2009/07/03 |
| Silverlight Custom control (0) | 2009/06/23 |
| Silverlight – bubbling events (2) | 2009/05/18 |
이번엔 실버라이트 사용자 컨트롤을 만들어봅니다.
설명이 많이 부족하지만 따라하시다보면 성공하실수.....
사실 제가 부족해서 설명이 많이 부족하네요ㅠㅠ
Generic.xaml
-
Custom Control의 기본 모양을 정의하는 파일
-
Xmlns와 xmlns:x는 page.xaml에서 가져온다
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
</ResourceDictionary>
public class MyControl : Control
{
public MyControl()
{
this.DefaultStyleKey = typeof(MyControl);
}
}
Control을 상속 받고
기본 스타일 키를 현재 형식의 타입을 지정한다.
재정의할 메소드가 있는데, OnApplyTemplate 을 override 하여 메소드를 만든다
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
}
이제 Generic.xaml에서 내가 작성하는 control의 네임스페이스를 지정한다.
My로 prefix를 주었으므로 my를 앞으로 사용하게 된다
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:CustomControlTest2"
>
<Style TargetType="my:MyControl">
</Style>
</ResourceDictionary>
이제 컨트롤의 템플릿을 만든다
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:CustomControlTest2"
>
<Style TargetType="my:MyControl">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="my:MyControl">
<Grid>
<TextBlock x:Name="MyText" Text="안녕?" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
이제 기본적인 내용은 끝났고 Grid 안에 내용을 지정한다.
이제 컨트롤에서 속성을 노출할 수 있도록 작성해보자.
propdp를 입력하면 인텔리센스로 작성할 수 있다.
마지막에 UIxxxxxxx(0) 라고 나오는 부분은 지워주고 PropertyMetadata 로 변경해야한다.
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace CustomControlTest2
{
public class MyControl : Control
{
TextBlock _tb = null;
public string Text
{
get { return (string)GetValue(TextProperty); }
set { SetValue(TextProperty, value); }
}
// Using a DependencyProperty as the backing store for Text. This enables animation, styling, binding, etc...
public static readonly DependencyProperty TextProperty =
DependencyProperty.Register(
"Text",
typeof(string),
typeof(MyControl),
new PropertyMetadata(new PropertyChangedCallback(
// e는 보낸쪽
(d, e) =>
{
MyControl myControl = d as MyControl;
if (myControl != null && myControl._tb != null)
{
myControl._tb.Text = e.NewValue.ToString();
}
})
)
);
public MyControl()
{
this.DefaultStyleKey = typeof(MyControl);
}
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
// 컨트롤에 들어 있는 TextBlock을 가져온다.
_tb = GetTemplateChild("MyText") as TextBlock;
if (_tb !=null)
{
_tb.Text = "커스텀 컨트롤~!";
}
}
}
}
이제 Page.xaml에 돌아와서 MyControl을 작성해 보자
<UserControl x:Class="CustomControlTest2.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:CustomControlTest2"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">
<my:MyControl Text="여기에 글을 작성해보자!!"></my:MyControl>
</Grid>
</UserControl>
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight - Network Sample 2 (0) | 2009/07/15 |
|---|---|
| Silverlight - Network Example 1 (0) | 2009/07/13 |
| Silverlight – Custom control (0) | 2009/07/03 |
| Silverlight Custom control (0) | 2009/06/23 |
| Silverlight – bubbling events (2) | 2009/05/18 |
| Silverlight – DispatcherTimer , Clock (0) | 2009/05/12 |
이번에는 Silverlight의 컨트롤을 정의해서 만들어봅니다.
예전에 강의들을 때 작성하고 다시보니 무슨소린지 모르겠네요.. ㅋㅋㅋ
그래도 전혀 무지한 것 보단 캡쳐라도 약간 있으니 ㅠㅠ 나중에 약간이라도 도움될 듯..
부족하지만 1%라도 얻을게 있을지 모르니 정리 안된 상태로 등록합니다... ㅋㅋ
Generic.xaml
-
Custom Control의 기본 모양을 정의하는 파일
-
Xmlns와 xmlns:x는 page.xaml에서 가져온다
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
</ResourceDictionary>
public class MyControl : Control
{
public MyControl()
{
this.DefaultStyleKey = typeof(MyControl);
}
}
Control을 상속 받고
기본 스타일 키를 현재 형식의 타입을 지정한다.
재정의할 메소드가 있는데, OnApplyTemplate 을 override 하여 메소드를 만든다
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
}
이제 Generic.xaml에서 내가 작성하는 control의 네임스페이스를 지정한다.
my로 prefix를 주었으므로 my를 앞으로 사용하게 된다
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:CustomControlTest2"
>
<Style TargetType="my:MyControl">
</Style>
</ResourceDictionary>
이제 컨트롤의 템플릿을 만든다
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:CustomControlTest2"
>
<Style TargetType="my:MyControl">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="my:MyControl">
<Grid>
<TextBlock x:Name="MyText" Text="안녕?" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
이제 기본적인 내용은 끝났고 Grid 안에 내용을 지정한다.
이제 컨트롤에서 속성을 노출할 수 있도록 작성해보자.
propdp를 입력하면 인텔리센스로 작성할 수 있다.
마지막에 UIxxxxxxx(0) 라고 나오는 부분은 지워주고 PropertyMetadata 로 변경해야한다.
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace CustomControlTest2
{
public class MyControl : Control
{
TextBlock _tb = null;
public string Text
{
get { return (string)GetValue(TextProperty); }
set { SetValue(TextProperty, value); }
}
// Using a DependencyProperty as the backing store for Text. This enables animation, styling, binding, etc...
public static readonly DependencyProperty TextProperty =
DependencyProperty.Register(
"Text",
typeof(string),
typeof(MyControl),
new PropertyMetadata(new PropertyChangedCallback(
// e는 보낸쪽
(d, e) =>
{
MyControl myControl = d as MyControl;
if (myControl != null && myControl._tb != null)
{
myControl._tb.Text = e.NewValue.ToString();
}
})
)
);
public MyControl()
{
this.DefaultStyleKey = typeof(MyControl);
}
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
// 컨트롤에 들어 있는 TextBlock을 가져온다.
_tb = GetTemplateChild("MyText") as TextBlock;
if (_tb !=null)
{
_tb.Text = "커스텀 컨트롤~!";
}
}
}
}
이제 Page.xaml에 돌아와서 MyControl을 작성해 보자
<UserControl x:Class="CustomControlTest2.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:CustomControlTest2"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">
<my:MyControl Text="여기에 글을 작성해보자!!"></my:MyControl>
</Grid>
</UserControl>
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight - Network Example 1 (0) | 2009/07/13 |
|---|---|
| Silverlight – Custom control (0) | 2009/07/03 |
| Silverlight Custom control (0) | 2009/06/23 |
| Silverlight – bubbling events (2) | 2009/05/18 |
| Silverlight – DispatcherTimer , Clock (0) | 2009/05/12 |
| Silverlight – Dynamic Page load (0) | 2009/05/10 |
이번 내용은 실버라이트에서 개체가 중첩되어 있을 때 이벤트가 중첩(버블링, Bubbling)되는 현상을 막기 위한 방법인데요.
두서 없이 작성한 내용이라 저도 무슨 소린지 모르겠네요 - _-;;
중요한 내용은 4~5번 내용을 살펴보시면 이해가 되실거에요.
1. XAML 코드
<UserControl x:Class="BubblingEvents.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">
<Grid x:Name="SubPanel" Margin="28,20,33,26" Background="#FF4084CE" Grid.Row="3">
<Ellipse x:Name="Ellipse1" Margin="47,48,129,43" Stroke="#FF000000">
<Ellipse.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF0D4C07"/>
<GradientStop Color="#FF239E16" Offset="1"/>
</LinearGradientBrush>
</Ellipse.Fill>
</Ellipse>
<Ellipse x:Name="Ellipse2" Margin="146,79,61,43" Stroke="#FF000000">
<Ellipse.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF490B68"/>
<GradientStop Color="#FFF56DFD" Offset="1"/>
</LinearGradientBrush>
</Ellipse.Fill>
</Ellipse>
</Grid>
<TextBlock x:Name="Output" HorizontalAlignment="Left" VerticalAlignment="Top"/>
</Grid>
</UserControl>
2. C# Code
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace BubblingEvents
{
public partial class Page : UserControl
{
private Int16 _sequence = default(Int16);
public Page()
{
InitializeComponent();
InitHandlers();
}
private void InitHandlers()
{
this.MouseLeftButtonDown += new MouseButtonEventHandler(MouseLeftClickHandler);
this.SubPanel.MouseLeftButtonDown += new MouseButtonEventHandler(MouseLeftClickHandler);
this.Ellipse1.MouseLeftButtonDown += new MouseButtonEventHandler(MouseLeftClickHandler);
this.Ellipse2.MouseLeftButtonDown += new MouseButtonEventHandler(MouseLeftClickHandler);
}
void MouseLeftClickHandler(Object sender, MouseButtonEventArgs e)
{
Trace((sender as FrameworkElement).Name);
}
private void Trace(String name)
{
this.Output.Text = String.Format("[{0}] {1}\n{2}", ++_sequence, name, this.Output.Text);
}
}
}
3. 버블링이 발생한다
(클릭순서 1. 파란배경, 2 녹색원, 3보라원)
4. 버블링 제거 코드
Ellipse를 포함하고 있는 Grid의 이벤트에서만 별도로 이벤트를 작성해 준다
private void InitHandlers()
{
this.MouseLeftButtonDown += new MouseButtonEventHandler(MouseLeftClickHandler);
this.SubPanel.MouseLeftButtonDown += new MouseButtonEventHandler(SubPanel_MouseLeftButtonDown);
this.Ellipse1.MouseLeftButtonDown += new MouseButtonEventHandler(MouseLeftClickHandler);
this.Ellipse2.MouseLeftButtonDown += new MouseButtonEventHandler(MouseLeftClickHandler);
}
void SubPanel_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
Trace((sender as FrameworkElement).Name);
e.Handled = true;
}
5. 상위의 개체가 하위의 개체의 이벤트 전달을 막지 않도록 설정
IsHitTestVisable 속성을 이용하여 사용자의 마우스나 키보드 등의 입력이 전달되는 것을 막지 않을 수 있다.
…
<Ellipse x:Name="Ellipse2" Margin="146,79,61,43" Stroke="#FF000000" IsHitTestVisible="False">
<Ellipse.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF490B68"/>
<GradientStop Color="#FFF56DFD" Offset="1"/>
</LinearGradientBrush>
</Ellipse.Fill>
</Ellipse>
</Grid>
<TextBlock x:Name="Output" HorizontalAlignment="Left" VerticalAlignment="Top" IsHitTestVisible="False" />
…
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight – Custom control (0) | 2009/07/03 |
|---|---|
| Silverlight Custom control (0) | 2009/06/23 |
| Silverlight – bubbling events (2) | 2009/05/18 |
| Silverlight – DispatcherTimer , Clock (0) | 2009/05/12 |
| Silverlight – Dynamic Page load (0) | 2009/05/10 |
| Silverlight – Host Settings (0) | 2009/05/10 |
DispatcherTimer 를 이용해 시계를 만들어보도록 한다.
먼저 using으로 using System.Windows.Threading; Namespace를 추가해야 하고 다음을 따라 진행한다
-
Xaml
<UserControl x:Class="ClockSample.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">
<TextBlock FontSize="60" TextAlignment="Center" VerticalAlignment="Center" x:Name="tbTime" Text="12:00:00" />
</Grid>
</UserControl>
- Code
public Page()
{
InitializeComponent();
TimerSetting();
}
private void TimerSetting()
{
DispatcherTimer timer = new DispatcherTimer()
{
Interval = TimeSpan.FromMilliseconds(50)
};
timer.Tick += new EventHandler(timer_Tick);
timer.Start();
}
void timer_Tick(object sender, EventArgs e)
{
this.tbTime.Text = DateTime.Now.ToString("HH:mm:ss");
}
-
다음과 같이 시계가 잘 작동한다.
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight Custom control (0) | 2009/06/23 |
|---|---|
| Silverlight – bubbling events (2) | 2009/05/18 |
| Silverlight – DispatcherTimer , Clock (0) | 2009/05/12 |
| Silverlight – Dynamic Page load (0) | 2009/05/10 |
| Silverlight – Host Settings (0) | 2009/05/10 |
| Silverlight OpenFileDialog (0) | 2009/05/07 |
Silverlight에서 네비게이션(메뉴에 따른 페이지 호출?)을 작성하기 위해 넘겨온 값에 따라 시작되는 비주얼을 지정하면 된다.
그를 위해 다음과 같은 코드가 필요하다.
Private void Application_Startup(object sender, StartupEventArgs e)
{
String machineid = e.InitParams["machineid"];
this.RootVisual = new Page(machineid);
}
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight – bubbling events (2) | 2009/05/18 |
|---|---|
| Silverlight – DispatcherTimer , Clock (0) | 2009/05/12 |
| Silverlight – Dynamic Page load (0) | 2009/05/10 |
| Silverlight – Host Settings (0) | 2009/05/10 |
| Silverlight OpenFileDialog (0) | 2009/05/07 |
| Silverlight - Access HTML document (0) | 2009/05/07 |
실버라이트를 Host 하는 플러그–인 구동 정보에 접근이 가능하다
쉽게 말해서 Silverlight를 HTML에 띄울 때 설정한 OBJECT 테그의 param 값들에 접근할 수 있다는 소리
-
Object 테그에서 Parameter로 설정 정보들 (대부분 읽기전용이다. 왜? html에서 설정한 내용을 읽어온 것이니깐..)
this.Host.Settings.안의 프로퍼티 들을 이용해 다양한 개발이 가능하다.
흠... 유용한 처리를 할 수 있을 듯…
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight – DispatcherTimer , Clock (0) | 2009/05/12 |
|---|---|
| Silverlight – Dynamic Page load (0) | 2009/05/10 |
| Silverlight – Host Settings (0) | 2009/05/10 |
| Silverlight OpenFileDialog (0) | 2009/05/07 |
| Silverlight - Access HTML document (0) | 2009/05/07 |
| Silverlight - Access managed code form javascript (0) | 2009/05/05 |
Silverlight에서는 OpenFileDialog는 사용 가능하지만 SaveFileDialog는 제공하지 않는다.
이는 사용자 PC에 접근하는 권한이 없기 때문에 파일 저장에 관한 내용은 제공하지 않는다.
Isolated Storage
- 임시로 저장할 수 있는 공간을 XAP Application 마다 제공한다.
아직 이쪽에 내용을 아는 것이 부족한데 천천히 추가해 나가야 겠다. -_ -;;
'.NET > Silverlight' 카테고리의 다른 글
| Silverlight – Dynamic Page load (0) | 2009/05/10 |
|---|---|
| Silverlight – Host Settings (0) | 2009/05/10 |
| Silverlight OpenFileDialog (0) | 2009/05/07 |
| Silverlight - Access HTML document (0) | 2009/05/07 |
| Silverlight - Access managed code form javascript (0) | 2009/05/05 |
| Silverlight - Network (2) | 2009/04/30 |

이올린에 북마크하기
이올린에 추천하기
3-1.WebClientTest.zip


Prev




