- 博客(5)
- 收藏
- 关注
转载 Silverlight中PlaneProjection做3D效果
下面的示例将 Projection 属性设置为 PlaneProjection,以便旋转 StackPanel,就好像它在三维空间中一样。 <StackPanel Margin="35" Background="Gray"> <StackPanel.Projection> <PlaneProjection Ro...
2009-10-14 17:23:00 97
转载 Silverlight设置背景图片
其实给Silverlight程序设置背景图片很容易,代码如下:<Grid.Background> <ImageBrushImageSource="bg.png"Stretch="Fill"></ImageBrush></Grid.Background> 转载于:https://www.cnblogs.com/taoxiaosa...
2009-10-14 16:42:00 78
转载 Silverlight中AutoCompletTextBox的使用
XAML页面:<Grid x:Name="LaoutRoot"><StackPanel Grid.Column="0" Grid.Row="0" VerticalAlignment="Center" Orientation="Horizontal"> <TextBlock Text="书籍名称" Width="50" ...
2009-10-14 13:30:00 69
转载 Silverlight获取DataGrid选中的行数据
今天在做一个小的DEMO时,群里有位哥们问到了如何获取当前选中的datagrid的行数据,顺便测试了一下,发现SL的方式要比ASPX的方便很多!并且如果你绑定的数据是Entity的话,那么你可以根据你当前选中的datagrid获取到这个Entity,下面把代码贴上。注意触发的事件为:CurrentCellChanged后台代码:/// <summary> ///...
2009-10-14 13:19:00 83
转载 获取grid_rowcomman事件下模板列中的控件
public void gridview_rowcomman(object sender,EventAge e){ GridView grid = (GridView)e.CommandSource; Label lblFID = (Label)grid.Rows[Convert.ToInt32(e.CommandArgument)].Cells[0].Fin...
2009-09-17 18:24:00 129
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人