2011-01-19 15 views
6

我目前正在學習Microsoft.NET Framework 3.5 - Windows Presentation Foundation考試。在本書中,我有(由馬修Stoeckler),它說這有關這些屬性:LargeChange和SmallChange屬性爲ProgressBar控件做了什麼?

 
LargeChange 
    Represents the amount added to or subtracted from the Value property when a 
    large change is required 
SmallChange 
    Represents the amount added to or subtracted from the Value property when a 
    small change is required 

我不知道這可能意味着一個進度條。

回答

13

LargeChangeSmallChange不適用於ProgressBar - 它們從RangeBase繼承並用於ScrollBar

如果用戶單擊滾動條(SmallChange)結尾處的箭頭或滾動條兩側的ScrollBar的背景(LargeChange),它們用於確定(至少用於滾動條)滾動的距離)

+1

我以爲這就是它。這些屬性在本書中的表格中提到,作者將其描述爲「_ProgressBar_控件的重要屬性顯示......」。顯然,我對「重要」這個詞有不同的理解。 – Jeroen 2011-01-19 16:07:42

+1

是的,這本書很sl。。 – briantyler 2011-05-07 12:58:35

3

更具體地說,LargeChange和SmallChange專門MSDN文章中叫出不適用的進度:

Link

顯然,這還沒有把它做成書作爲.NET 4版本,這是我現在閱讀的版本。

相關問題