• Return to Home Page
    • Solutions
      Industries
      • Academic and Research
      • Aerospace, Defense, and Government
      • Electronics
      • Energy
      • Industrial Machinery
      • Life Sciences
      • Semiconductor
      • Transportation
      Product Life Cycles
      • Design and Prototype
      • Validation
      • Production
      Focus Areas
      • 5G and 6G Technology
      • ADAS and Autonomous Driving Testing
      • Artificial Intelligence
      • Electric Vehicle Test
      • Lifecycle Analytics
      • Radar and Electronic Warfare
      • Space Launch and Exploration
      • Validation Lab Innovations
      See our approach to solutions
      Get a Helping Hand
      From troubleshooting technical issues and product recommendations, to quotes and orders, we’re here to help.
      Contact Us
    • Products
      Software
      View All Software
      Test Automation
      • LabVIEW
      • LabVIEW+ Suite
      • TestStand (Test Execution)
      • VeriStand (HIL Test Development)
      Free Interactive Test Software
      • FlexLogger (for DAQ hardware)
      • InstrumentStudio (for PXI hardware)
      Test Analytics and Operations
      • DIAdem (for Analysis and Visualization)
      • SystemLink (Test Operations)
      • OptimalPlus GO (Manufacturing Analytics)
      SERVICES
      View All Services
      • Repair Services
      • Calibration
      • Training Courses
      HARDWARE
      View All Hardware
      Data Acquisition and Control
      • Learn About DAQ
      • New DAQ Hardware (mioDAQ)
      • Multifunction I/O
      • Voltage
      • Digital I/O
      • Temperature
      • Sound and Vibration
      • Current
      • Strain, Pressure, and Force
      Communication Interfaces
      • Software Defined Radios
      • GPIB, Serial, and Ethernet
      • Industrial Communication Buses
      • Vehicle Communication Buses
      • Avionics Communication Buses
      PXI Instrumentation
      • Switches
      • Oscilloscopes
      • Digital Multimeters
      • Waveform Generators
      • RF Signal Generators
      • SMUs and LCR Meters
      • Power Supplies and Loads
      • Vector Signal Transceivers
      • FlexRIO Instruments
      Accessories
      • Power Accessories
      • Connectors
      • Cables
      • Sensors
      RESOURCES
      • Ordering Resources
      • Distributors
      • System Advisors
      See all products
      CompactDAQ

      Modular Data Acquisition

      CompactRIO

      Distributed Measurement and Control

      PXI

      High-Performance Test

      LabVIEW+ Suite

      Automated Test System Development Software

    • Perspectives
      Perspectives

      Perspectives showcases how NI sees what’s next in the world of test and technology.

      View all articles
      Charting the Course for Test Development with LabVIEW
      LabVIEW remains key in test, promising speed, efficiency, and new features with NI’s investment in core tech, community, and integration.
      Read our featured article
    • Support
      Resources
      View All Support Resources
      • Software Downloads
      • Register and Activate
      • Product Documentation
      • Release Notes
      • Training Courses
      • On-Demand Learning
      • KnowledgeBase
      • Code Examples
      Request Support

      You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.

      Open a service request
      Popular Software Downloads
      See all Software Product Downloads
      icon of LabVIEW logo
      LabVIEW
      icon of Multisim logo
      Multisim
      icon of Academic Volume License logo
      Academic Volume License
      Popular Driver Downloads
      See all Driver Software Downloads
      • NI-DAQmx

        Provides support for NI data acquisition and signal conditioning devices. 

      • NI-VISA

        Provides support for Ethernet, GPIB, serial, USB, and other types of instruments. 

      • NI-488.2

        Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports. 

    • Community
    • Partners
    • Contact Usflag representing the selected language
    • My Account
    • Search
  • Cart
    • Solutions
      • Back
      • Industries
      • Academic and Research
      • Aerospace, Defense, and Government
      • Electronics
      • Energy
      • Industrial Machinery
      • Life Sciences
      • Semiconductor
      • Transportation
      • Product Life Cycles
      • Design and Prototype
      • Validation
      • Production
      • Focus Areas
      • 5G and 6G Technology
      • ADAS and Autonomous Driving Testing
      • Artificial Intelligence
      • Electric Vehicle Test
      • Lifecycle Analytics
      • Radar and Electronic Warfare
      • Space Launch and Exploration
      • Validation Lab Innovations
      • See our approach to solutions
    • Products
      • Back
      • Software
      • View All Software
      • Test Automation
      • LabVIEW
      • LabVIEW+ Suite
      • TestStand (Test Execution)
      • VeriStand (HIL Test Development)
      • Free Interactive Test Software
      • FlexLogger (for DAQ hardware)
      • InstrumentStudio (for PXI hardware)
      • Test Analytics and Operations
      • DIAdem (for Analysis and Visualization)
      • SystemLink (Test Operations)
      • OptimalPlus GO (Manufacturing Analytics)
      • SERVICES
      • View All Services
      • Repair Services
      • Calibration
      • Training Courses
      • HARDWARE
      • View All Hardware
      • Data Acquisition and Control
      • Learn About DAQ
      • New DAQ Hardware (mioDAQ)
      • Multifunction I/O
      • Voltage
      • Digital I/O
      • Temperature
      • Sound and Vibration
      • Current
      • Strain, Pressure, and Force
      • Communication Interfaces
      • Software Defined Radios
      • GPIB, Serial, and Ethernet
      • Industrial Communication Buses
      • Vehicle Communication Buses
      • Avionics Communication Buses
      • PXI Instrumentation
      • Switches
      • Oscilloscopes
      • Digital Multimeters
      • Waveform Generators
      • RF Signal Generators
      • SMUs and LCR Meters
      • Power Supplies and Loads
      • Vector Signal Transceivers
      • FlexRIO Instruments
      • Accessories
      • Power Accessories
      • Connectors
      • Cables
      • Sensors
      • RESOURCES
      • Ordering Resources
      • Distributors
      • System Advisors
      • See all products
    • Perspectives
    • Support
      • Back
      • Resources
      • View All Support Resources
      • Software Downloads
      • Register and Activate
      • Product Documentation
      • Release Notes
      • Training Courses
      • On-Demand Learning
      • KnowledgeBase
      • Code Examples
      • Popular Software Downloads
      • See all Software Product Downloads
      • icon of LabVIEW logo
      • icon of Multisim logo
      • icon of Academic Volume License logo
      • Popular Driver Downloads
      • See all Driver Software Downloads
      • NI-DAQmx
      • NI-VISA
      • NI-488.2
      • Request Support
      • You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.Open a service request
    • Community
    • Partners
    • Contact Us
    • Account
Skip to main contentSkip to search
Product Documentation - NIProduct Documentation - NI
Product Documentation - NI
  • Home
  • All Manuals
  • Log in

LabVIEW Programming Reference Manual

Table of Contents
  • LabVIEW Programming Reference Manual
  • Functions
  • Property and Method Reference
  • LabVIEW Environment Reference
  • LabVIEW Dialog Box Reference
  • Error Codes and Messages
Table of Contents

TreeControl Properties

Download PDF
Selected SectionSelected Section and Subsection(s)Entire Manual
  • Updated2026-02-04
  • 6 minute(s) read
    • LabVIEW
    • API Reference
    • LabVIEW G

  • Active Cell:Active Column Number
    Sets the column of the active cell(s).
  • Active Cell:Background Color
    The background color of the active cell(s).
  • Active Cell:Cell Font
    The font of the active cell in the tree control.
  • Active Cell:Cell Font:Bold
    Indicates whether the text in the active cell is bold.
  • Active Cell:Cell Font:Color
    The text font color in the active cell.
  • Active Cell:Cell Font:Italic
    Indicates whether the text in the active cell is italic.
  • Active Cell:Cell Font:Name
    The name of the font in the active cell. Predefined font names include App Font, Sys Font, and Dlg Font.
  • Active Cell:Cell Font:Size
    The size of the font in the active cell.
  • Active Cell:Cell Font:Strikeout
    Indicates whether to strike out the text in the active cell.
  • Active Cell:Cell Font:Underline
    Indicates whether the text in the active cell is underlined.
  • Active Cell:Cell Justification
    Gets and sets the justification of text.
  • Active Cell:Cell Size
    The size of the active cell(s) in pixels.
  • Active Cell:Cell Size:Height
    The height of the active cell(s) in pixels.
  • Active Cell:Cell Size:Width
    The width of the active cell(s) in pixels.
  • Active Cell:Position
    The coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the active cell(s).
  • Active Cell:Position:Left
    The coordinate in pixels, relative to the origin of the owning pane, of the left edge of the active cell.
  • Active Cell:Position:Top
    The coordinate in pixels, relative to the origin of the owning pane, of the top edge of the active cell.
  • Active Cell:String
    The string in the active cell(s).
  • Active Item:Child-Only?
    If TRUE, you cannot indent other items under the active item(s).
  • Active Item:Disabled?
    If TRUE, the active item(s) appears dimmed and you cannot select the item(s).
  • Active Item:Indent Level
    The level at which the active item(s) appears in the hierarchy. Wire a value of 0 to this property to move the item to the highest level in the hierarchy.
  • Active Item:Open?
    If TRUE, the active item(s) appears expanded to display items indented under it.
  • Active Item:Row Number
    The row number of the item to which you want to apply subsequent property changes. Wire a value of –1 to this property to select the column headers. Wire a value of –2 to select all rows.
  • Active Item:Symbol Index
    The index of the symbol for the active item(s).
  • Active Item:Tag
    The tag of the item(s) to which you want to apply subsequent property changes.
  • All Tags
    The tags of all items in a tree control. This property returns the tags of both visible and hidden items in order from the top of the tree control to the bottom.
  • Allow Editing Cells
    If TRUE, users can edit non-header cells in this control at run time by clicking the cell text and then clicking it a second time after a short pause. If FALSE, users cannot edit non-header cells.
  • Allow Selection of Parent Items
    If TRUE, users can select items that have other items indented under them and items that are not child-only and do not have other items indented under them. If FALSE, users can select only items with a value of TRUE for the Child-Only? property.
  • Alternate Row Background Color
    Background color used to draw alternate rows.
  • Alternating Row Colors
    Row background colors alternate to make row size and boundaries more obvious.
  • Autosizing Row Height
    Determines whether the rows autosize their height to display all text when fonts change or when the number of lines in a cell changes.
  • Column Header Strings[]
    An array of the strings in the column headers.
  • Content Rect Bounds
    The size in pixels of the content rectangle of the tree control.
  • Content Rect Bounds:Height
    The height in pixels of the content rectangle of the tree control.
  • Content Rect Bounds:Width
    The width in pixels of the content rectangle of the tree control.
  • Content Rect Position
    The coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the content rectangle of the tree control.
  • Content Rect Position:Left
    The coordinate in pixels, relative to the origin of the owning pane, of the left edge of the content rectangle of the tree control.
  • Content Rect Position:Top
    The coordinate in pixels, relative to the origin of the owning pane, of the top edge of the content rectangle of the tree control.
  • Displayed Items
    Returns the unique tags of all visible items in the tree control in display order. If an item is indented under another item and the parent item is not expanded, this property does not return the tags of any items indented under that parent item.
  • Drag/Drop:Allow Drag and Drop Outside Control
    If TRUE, this enables the control to drag items to other controls and accept drags from other controls.
  • Drag/Drop:Allow Dragging
    If TRUE, you can drag items from this control.
  • Drag/Drop:Allow Dragging of Parent Items
    If FALSE, the user cannot drag an item in the tree control unless the item is child-only.
  • Drag/Drop:Allow Dropping
    If TRUE, LabVIEW automatically accepts drops containing the LV_TREE_TAG, LV_TEXT, or LV_TREE_ITEMS data types. The LV_TREE_TAG data type is a string that represents the tag from which you drag. The LV_TEXT data type is of type string. The LV_TREE_ITEMS data type is an array of a cluster containing an array of strings, from left to right, in the item you are dragging, an integer representing the glyph index associated with the item from which you are dragging data, and an integer representing the indent level of the item from which you are dragging.
  • Drag/Drop:Allow Dropping Between Items
    If FALSE, the user cannot drag an item to place it between two other items at the same hierarchical level.
  • Drag/Drop:Drag Mode
    Sets the default behavior for a drag and drop operation for the control. The settings apply only when the control configured is the source of the drag and drop operation.
  • Edit Position
    The row-column pair index of the current text entry. Values of (0,0) indicate the top-left text entry. A value of –1 indicates the row or column header but they cannot be edited using this property. Values of (–2, –2) indicate that no edits are being made to the text of the control.
  • Expand/Contract Symbol:Show Symbol at Root
    Shows or hides the expand/contract symbols for items at indent level 0. The indent level 0 items become flush with the left side of the tree control when you hide the expand/contract symbols.
  • Expand/Contract Symbol:Symbol Type
    The type of symbol to display next to each item that has other items indented under it. Valid values include 0 (None), 1 (LabVIEW), 2 (Mac OS X), 3 (Windows), and 4 (Default).
  • Focus Item
    Reads or writes an item tag to specify the tree's focus item, which is used as the basis when navigating using the arrow keys.
  • Is Array?
    Returns TRUE if the tree has an array data type.
  • Keyboard Mode
    Sets how to handle upper and lowercase characters when you type characters in a tree control at run time. Valid values include 0 (System Default), 1 (Case Sensitive), and 2 (Case Insensitive).
  • Multiple Line Input
    If TRUE, you can enter multiple lines of text in the tree control cells by pressing the <Enter> key on the keyboard. If FALSE, pressing the <Enter> key on the keyboard while editing cells causes LabVIEW to commit the edits in the current cell and the text focus moves to the next cell. This property does not affect run-time behavior of the tree control.
  • Number of Columns
    Number of visible columns in the tree control. This property counts partially visible columns.
  • Number of Rows
    Number of visible rows in the tree control, excluding column headers. This property counts partially visible rows.
  • Row Header Strings[]
    An array of the strings in the row headers.
  • Select Entire Rows
    Highlights the entire row if you select a row in the tree.
  • Selection Color
    The color used to highlight the selected items.
  • Selection Mode
    Number of items the user can select. Valid values include 0 (zero or one), 1 (one), 2 (zero or more), and 3 (one or more).
  • Sibling Multiselect
    If TRUE and the Selection Mode is 0 or More Items, users can select multiple items only if those items are siblings.
  • Size
    The width and height in pixels of the tree control.
  • Size:Height
    The height of the tree control in pixels.
  • Size:Width
    The width of the tree control in pixels.
  • Top Left Visible Cell
    The unique tag and column of the item string displayed in the top left corner of the tree control. Use this property to read or change the top item, or use it to read or change the leftmost column of information displayed.
  • Visible Items:Column Headers Visible
    If TRUE, displays the column headers.
  • Visible Items:Hierarchy Lines Visible
    If Visible, lines to outline the hierarchy of the items are always visible as vertical and horizontal lines to the left of the items in the tree control. If Invisible, the hierarchy lines are always invisible. If OS Default, LabVIEW displays the hierarchy lines if trees in the operating system show hierarchy lines.
  • Visible Items:Horizontal Lines Visible
    If TRUE, displays horizontal lines that separate rows in the tree control.
  • Visible Items:Horizontal Scrollbar Visible
    If TRUE, displays the horizontal scroll bar.
  • Visible Items:Row Headers Visible
    Shows the row headers.
  • Visible Items:Symbols Visible
    If TRUE, displays the item symbols.
  • Visible Items:Vertical Lines Visible
    If TRUE, displays vertical lines that separate columns in the tree control.
  • Visible Items:Vertical Scrollbar Visible
    If TRUE, displays the vertical scroll bar.
  • Word Wrap
    Determines whether the height of a row is based on explicit lines or wrapped text.

Previous

No previous section

Next

No next section

Previous

No previous section

Next

No next section
  • ©2008 - 2026 ACME Corporation. All Rights Reserved
  • Privacy PolicyTerms of Use
  • Powered By
    Zoomin_Logo
Solutions
  • Academic & Research
  • Aerospace, Defense, & Government
  • Electronics
  • Energy
  • Industrial Machinery
  • Life Sciences
  • Semiconductor
  • Transportation
Orders
  • NI Distribution Partners
  • Order Status and History
  • Retrieve a Quote
  • Terms of Service
  • Order by Part Number or Request a Quote
Company
  • NI is now part of Emerson
  • About
  • Emerson Careers
  • Newsroom
  • Supply Chain & Quality
  • Events
Support
  • Downloads
  • Product Documentation
  • Discussion Forums
  • Activate a Product
  • Submit a Service Request
  • Site Feedback
FacebookTwitterLinkedInYouTubeInstagram
LEGAL | IMPRINT | PRIVACY | Cookie Settings
© NATIONAL INSTRUMENTS CORP. ALL RIGHTS RESERVED.