文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 高等教育 > 工学 > 稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton
侵权投诉

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

示例 1

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

、ListBox.xaml <UserControl x:Class="Silverlight20.Control.ListBox" xmlns="doc.guandang.net; xmlns:x="doc.guandang.net; <StackPanel HorizontalAlignment="Left"> <!-- SelectionChanged - ListBox中某个对象被选中后所触发的事件 -->

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

<

稳扎稳打Silverlight(5) - 2.0控件之ListBox, MultiScaleImage, PasswordBox, ProgressBar, RadioButton

ListBox Margin="5" Width="200" Height="100"

SelectionChanged="ListBox_SelectionChanged">

<ListBoxItem Content="ListBoxItem01"/>

<ListBoxItem Content="ListBoxItem02"/>

<ListBoxItem Content="ListBoxItem03"/>

<ListBoxItem Content="ListBoxItem04"/>

<ListBoxItem Content="ListBoxItem05"/>

<ListBoxItem Content="ListBoxItem06"/>

<ListBoxItem Content="ListBoxItem07"/>

<ListBoxItem Content="ListBoxItem08"/>

<ListBoxItem Content="ListBoxItem09"/>

<ListBoxItem Content="ListBoxItem10"/>

</ListBox>

<!--

ListBox中可以包含任何对象

-->

<ListBox Margin="5" Width="200">

<TextBlock Text="TextBlock"/>

<TextBox Text="TextBox"/>

<Button Content="Button"/>

</ListBox>

</StackPanel>

</UserControl>

ListBox.xaml.cs

using System;

using System.Collections.Generic;

using System.Linq;

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email