摘要: <Window x:Class="LayoutPanels_InkCanvas.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <InkCanvas Na 阅读全文
posted @ 2011-10-21 16:53 jacky_j2ee 阅读(137) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="LayoutPanels.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <Grid ShowGridLines=&qu 阅读全文
posted @ 2011-10-21 15:58 jacky_j2ee 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 不应显示设定元素(比如控件)的尺寸。不应使用屏幕坐标指定元素的位置。布局容器和它们的子元素“共享”可以使用的空间。可以嵌套布局容器。布局过程:(包含2个阶段)测量阶段:容器遍历所有子元素,并询问子元素所期望的尺寸。排列阶段:容器在合适的位置放置子元素。 阅读全文
posted @ 2011-10-14 15:15 jacky_j2ee 阅读(231) 评论(0) 推荐(0) 编辑
摘要: [DataContract] public class Customer { private string firstName; private string lastName; [DataMember] public string FirstName { get { return fi... 阅读全文
posted @ 2011-09-07 15:25 jacky_j2ee 阅读(179) 评论(0) 推荐(0) 编辑