文檔半島外圍網(wǎng)上直營(yíng)>>Devexpress WPF控件文檔中心>>觸摸滾動(dòng)條
                觸摸滾動(dòng)條
DevExpress控件支持觸摸滾動(dòng)條。默認(rèn)情況下,觸摸滾動(dòng)條是隱藏的,當(dāng)將鼠標(biāo)指針懸停在其上時(shí)顯示,從而導(dǎo)致滾動(dòng)條部分重疊網(wǎng)格內(nèi)容區(qū)域的右邊框或下邊框。
要顯示觸摸滾動(dòng)條而不是常規(guī)滾動(dòng)條,請(qǐng)將DevExpress控件或可視化樹(shù)中更高級(jí)別控件的ScrollBarExtensions.ScrollBarMode屬性設(shè)置為TouchOverlap,請(qǐng)看下面的例子。
	
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" x:Class="TouchScrollbars.MainWindow"
Title="MainWindow" Height="500" Width="800">
<Grid dx:ScrollBarExtensions.ScrollBarMode="TouchOverlap">
<dxe:ListBoxEdit ItemsSource="{Binding}" />
</Grid>
</Window>
	
 
 

 QQ交談
QQ交談 在線咨詢
在線咨詢 
                 
                
 渝公網(wǎng)安備
            50010702500608號(hào)
渝公網(wǎng)安備
            50010702500608號(hào)
             
            
 客服熱線
客服熱線