Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
??のコンテナを取得するTreeView方法TreeNode
TreeView
TreeNode
皆さん、ありがとうございました。
リフレクション以外の方法はないようです:
TreeNode node = GetNode(); TreeView view = (TreeView) node.GetType(). GetProperty("Owner", BindingFlags.Instance | BindingFlags.NonPublic). GetValue(node, null);