且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

银色光页面加载事件

更新时间:2023-10-05 19:23:46

您需要先阅读有关Silverlight的知识,然后才能直接跳转至代码.
没有页面加载或IsPostback.查找XAML页面(App.xaml)

在此处阅读有关Silverlight的基础知识: Silverlight简介 [ Silverlight的Google搜索结果 [
You need to read about Silverlight before jumping directly to code for it.
There is no pageload or IsPostback in it. Look for XAML pages (App.xaml)

Read about basics of Silverlight here: An Introduction to Silverlight[^]

For examples and samples look here: Google result for Silverlight[^]

Try!


Silverlight中没有IsPostback.
您可以在设计时或在运行时(对于控件)进行绑定.您可以使用Load方法进行控制.
There is no IsPostback in Silverlight.
You can do binding at design or at runtime (for controls). You have a control on Load method that you can use to do this.


默认情况下看不到.

在RootLayout中添加加载事件

< grid x:name ="LayoutRoot" loading ="LayoutRoot_Loaded" mode ="hold" xmlns:x =#unknown">
现在您可以在代码窗口中打开LayoutRoot_Loaded事件...

森提尔,
www.senthil.name
You can''t see by default.

Add the load event in RootLayout

<grid x:name="LayoutRoot" loaded="LayoutRoot_Loaded" mode="hold" xmlns:x="#unknown">
Now you can the event LayoutRoot_Loaded in code window...

Senthil,
www.senthil.name