即使节点文本的大小较小,我也要始终显示滚动条。 我使用Site Web asp.net和我的Framwork:4.6
<asp:TreeView ID="TreeView1" runat="server" Height="5px" Width="56px" LineImagesFolder="~/TreeLineImages" ShowLines="True" OnInit="TreeView1_Init" AutoGenerateDataBindings="False">
<Nodes>
<asp:TreeNode Text="ID" Target="_blank">
<asp:TreeNode Text="1" Target="_blank" />
<asp:TreeNode Text="2" Target="_blank" />
<asp:TreeNode Text="3" Target="_blank" />
<asp:TreeNode Text="4" Target="_blank" />
</asp:TreeNode>
</Nodes>
</asp:TreeView>
我尝试编写此属性,但找不到! "Scrollable=true"
你能帮我吗?