更多树视图的困境。 [英] More treeview woes.
问题描述
大家好。
是否可以在
树视图的每个节点中存储一些额外信息但不显示它?
ie例如,如果我的树视图显示了产品列表。但另外存储的是
是产品的价格。如果我点击
节点,消息框将显示产品名称和价格。但
价格仅在要求时可见。
谢谢
-
我会有一个B请Bob。
Hi all.
Is it possible to store some additional information in each node of a
treeview but without displaying it?
i.e. If, for example, my treeview displayed a list of products. But
additionally stored in it is the price of the product. If i clicked on a
node, a messagebox would display the product name and the price. But the
price is only visible upon request.
Thanks
--
I''ll have a B please Bob.
推荐答案
" Bob Hollness" < bo*@blockbuster.com> schrieb:
"Bob Hollness" <bo*@blockbuster.com> schrieb:
是否可以在
树视图的每个节点中存储一些附加信息但不显示它?
Is it possible to store some additional information in each node of a
treeview but without displaying it?
' 'TreeNode''有一个''Tag''属性,可以用来为节点存储额外的数据
。
-
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/>
VB< URL:http:/ /dotnet.mvps.org/dotnet/faqs/>
''TreeNode'' has a ''Tag'' property that can be used to store additional data
for a node.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Herfried K. Wagner [MVP]写道:
Herfried K. Wagner [MVP] wrote:
" Bob Hollness" < bo*@blockbuster.com> schrieb:
"Bob Hollness" <bo*@blockbuster.com> schrieb:
是否可以在
树视图的每个节点中存储一些附加信息但不显示它?
Is it possible to store some additional information in each node of a
treeview but without displaying it?
''TreeNode''有一个标签属性,可用于存储节点的其他数据。
''TreeNode'' has a ''Tag'' property that can be used to store additional data
for a node.
完美。谢谢。
p.s.出于好奇,你需要多长时间才能获得MVP?
-
我会有一个B请Bob。
Perfect. Thanks.
p.s. Out of curiousity, how long did it take you to get the MVP?
--
I''ll have a B please Bob.
Bob,
" Bob Hollness" < bo*@blockbuster.com> schrieb:
Bob,
"Bob Hollness" <bo*@blockbuster.com> schrieb:
p.s.出于好奇,你需要多长时间才能获得MVP?
p.s. Out of curiousity, how long did it take you to get the MVP?
你真的期待答案吗? IIRC,大约半年。尽管如此,
并不能保证捐出半年
的人也会获得奖励 - 获奖也取决于其他一些因素。
-
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/> ;
VB< URL:http://dotnet.mvps.org/dotnet/faqs/>
Do you really expect an answer? IIRC, about a half year. Nevertheless,
there is no guarantee that someone who contributes for "exactly a half year"
will be awarded too -- being awarded depends on some other factors too.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
这篇关于更多树视图的困境。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!