如何以编程方式关注DevExpress TreeList中的子节点?首先,我必须得到选定的节点(父节点或子节点),然后我必须将重点放在该节点上。我尝试使用FocusedNode,但我只能关注父节点。
示例:
我正在使用FocusedNode获得的信息:
致以问候。
发布于 2014-12-12 09:28:22
首先,您需要找到子节点,然后在TreeList焦点节点中设置它。VB.Net中的示例代码如下所示:
Dim NodeID As String = "some id" 'Set the child node id in this variable
Dim node = TreeList1.FindNodeByKeyID(NodeID)
TreeList1.FocusedNode = nodehttps://stackoverflow.com/questions/27439722
复制相似问题