拆分面板或Touch& amp;移动一个控件。 [英] Splitter panel or ability to Touch & Move a control.

查看:80
本文介绍了拆分面板或Touch& amp;移动一个控件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个控件,它最初占据屏幕的底部,并且大部分控件都被剪切在可见区域下方。我需要允许用户通过触摸移动/曝光,控件进入屏幕中间。是否有一个允许
出现的控件,无论是作为带分割条的面板还是触摸和拖动的能力?



William Wegerson( www.OmegaCoder.Com

解决方案


执行此操作的一种方法是将各种控件放在垂直方向的StackPanel中。  ;然后,您可以使用Visibility = Visible或Collapsed进行控制。将每个控件设置为自动填充。最底部的控件可以仅仅作为填充物使用
,并且当可见时会向上推动你的控制。


-Mark



I have a control which initially occupies the bottom of the screen and a majority of the control is clipped below the visible. I need to allow the user to move/expose via touch, the control into the middle of the screen. Is there a control which allows that to occur, either as a panel with a splitter bar or the ability to touch and drag?


William Wegerson (www.OmegaCoder.Com)

解决方案

Hi,

One way to do this is to place your various controls in a StackPanel that is vertically oriented.  Then you can make controls come and go using Visibility = Visible or Collapsed. Set each control to automatically fill. A control at the very bottom could be used simply as a filler, and would push your control upwards when Visible.

-Mark


这篇关于拆分面板或Touch& amp;移动一个控件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆