摘要: App.Current.Host.Content.FullScreenChanged+= new xxxxx例子:App.Current.Host.Content.FullScreenChanged += FullScreenChanged; private void FullScreenChanged(object sender, EventArgs handler) { if (Application.Current.Host.Content.IsFullScreen) { TextBlock tb =... 阅读全文
posted @ 2013-06-28 10:54 吕川福 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 介绍Silverlight 2.0 人机交互:响应用户的鼠标操作和键盘操作MouseEnter - 鼠标进入时触发的事件(显然,此事件不能冒泡)MouseLeave - 鼠标离开时触发的事件(显然,此事件不能冒泡)MouseLeftButtonDown - 鼠标左键单击按下时触发的事件MouseLeftButtonUp - 鼠标左键单击按下并放开时触发的事件MouseMove - 鼠标移动时触发的事件MouseEventArgs.GetPosition() - 鼠标相对于指定元素的坐标MouseButtonEventArgs.Handled - 此事件是否已被处理KeyDown - 鼠标按下时 阅读全文
posted @ 2013-06-28 10:39 吕川福 阅读(477) 评论(0) 推荐(0) 编辑
摘要: alert($(window).height()); //浏览器当前窗口可视区域高度 alert($(document).height()); //浏览器当前窗口文档的高度 alert($(document.body).height());//浏览器当前窗口文档body的高度 alert($(document.body).outerHeight(true));//浏览器当前窗口文档body的总高度 包括border padding margin alert($(window).width()); //浏览器当前窗口可视区域宽度 alert($(document).width());//浏览器当 阅读全文
posted @ 2013-06-28 08:34 吕川福 阅读(731) 评论(0) 推荐(0) 编辑