SalTreeItem
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.50 (5.0.0.0)
Adds SAL numeric data, dynamic-item tracking, and label-editing permission to a tree node.
- C#
- VB.NET
public class SalTreeItem : TreeNode
Public Class SalTreeItem
Inherits TreeNode
Example:
var item = new PPJ.Runtime.Windows.SalTreeItem("Customer");
item.Value = 42;
item.IsEditable = false;
Constructors
SalTreeItem()
Creates an empty tree item with label editing enabled.
SalTreeItem(text)
Creates a tree item with the specified caption and label editing enabled.
| Name | Type | Description |
|---|---|---|
| text | String | The node caption. |
Properties
IsDynamic
Boolean: Gets or sets whether a SAL tree reset may remove this item as dynamically added content.
IsEditable
Boolean: Gets or sets whether SalTreeControl permits label editing for this item.
The default is true; the containing tree must also enable label editing.
Value
SalNumber: Gets or sets the application-defined SAL numeric value associated with the item.