拆分面板或Touch& amp;移动一个控件。 [英] Splitter panel or ability to Touch & Move a control.
问题描述
我有一个控件,它最初占据屏幕的底部,并且大部分控件都被剪切在可见区域下方。我需要允许用户通过触摸移动/曝光,控件进入屏幕中间。是否有一个允许
出现的控件,无论是作为带分割条的面板还是触摸和拖动的能力?
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屋!