6th. Data filtering and Sorting

Source: Internet
Author: User

6th. Data filtering and Sorting

A. TreeView control: A tree control that is used to display text or data as nodes, in the order in which they are organized in a hierarchical structure.

1. Common Properties and Event Nodes of the TreeView control Nodes

ImageList storing the image of the node

ImageIndex node default image index

selectedImageIndex the index of the image when the node is selected

SelectedNode the currently selected parent node

AfterSelect Node selected post event

Two. node of the TreeView control

The TreeView control consists of a single node, each of which is a TreeNode type.

Common properties of a node:

Three. Text on the text node

ImageIndex node default image index, which is the same as the TreeView setting by default

selectedImageIndex the image index when the node is selected, the default is the same as the TreeView setting

Four. Level node depth, starting from 0

Nodes the collection of child nodes that the current node contains

ParentNode The parent node of the current node

Two. Making a tree-like menu

1. Add a new TreeView control to the form, set name to Tvmenu.

2. In the Properties window, click the button next to the nodes property to invoke the TreeView editor.

3. Add the root node, then add the child nodes, set the Name property and the Text property

6th. Data filtering and Sorting

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.