最近,我問了一下關於設置(Visible
)屬性,當我把它設置爲true的問題,我驚訝於追蹤將其設定爲true.that後其價值仍然是虛假的。答案是我一個驚喜:
- "The Visible property has a special
property: when you read the value it
not only reports on the control
itself but also on it's parent. The
value you get is the "real"
visibility."
我的問題是:有沒有財產,你像(Visible
)相同的方法的行爲之前見面嗎?以及我們應該如何以最佳方式使用它們?
你是什麼意思..不明確 – V4Vendetta 2011-04-21 11:40:27
http://stackoverflow.com/questions/5729069/property-has-the-same-value-after-setting-it 我想所有屬性表現得像(' Visible')。 – 2011-04-21 11:42:07