Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSOutlineViewMBS class.

NSOutlineViewMBS.autoresizesOutlineColumn as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean value that indicates whether the outline view resizes its outline column when the user expands or collapses items.

The outline column contains the cells with the expansion symbols and is generally the first column. The default value of this property is true, which causes the outline column to be resized.
The outline column is resized based on how many indentation levels are exposed or hidden. For example, if expanding a row exposes a single indentation level, the outline column width is increased by one indentationPerLevel.
(Read and Write property)

Some examples using this property:

NSOutlineViewMBS.autosaveExpandedItems as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean value indicating whether the expanded items are automatically saved across launches of the app.

When the value of this property is true, the outline view saves the state of its expanded items and restores that state the next time the user launches the app. (If the outline view’s autosaveName property is nil, or if you have not implemented the itemForPersistentObject and persistentObjectForItem events, this setting is ignored and outline information is not saved.) The configuration data is saved separately for each user and for each app. The default value of this property is NO.
You can have separate settings for the autosaveExpandedItems and autosaveTableColumns properties, so you could, for example, save expanded item information, but not table column positions.
(Read and Write property)

Some examples using this property:

NSOutlineViewMBS.indentationMarkerFollowsCell as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean value indicating whether the indentation marker symbol displayed in the outline column should be indented along with the cell contents.

When the value of this property is true, the indentation marker is indented along with the cell contents. When the value is false, the marker is always displayed left-justified in the column. The default value of this property is true.
(Read and Write property)

NSOutlineViewMBS.indentationPerLevel as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The per-level indentation, measured in points.

(Read and Write property)

Some examples using this property:

NSOutlineViewMBS.outlinetableColumn as NSTableColumnMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The table column in which hierarchical data is displayed.

Each level of hierarchical data is indented by the amount specified by the indentationPerLevel property (the default is 16.0), and decorated with the indentation marker (disclosure triangle) on rows that are expandable. Outline table column data is archived with the rest of the outline view’s state information.
Attempts to set the value of this property to nil are silently ignored.
(Read and Write property)

Some examples using this property:

NSOutlineViewMBS.stronglyReferencesItems as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean value that indicates whether the outline view retains and releases the objects returned from its data source.

For Xojo applications we highly recommend to keep all items in arrays in Xojo, so they are not released by Xojo too early!

When the value of this property is true, the outline view retains and releases the objects returned to it from dataSource. When the value is NO, the outline view treats the objects as opaque items and assumes that the client has a retain on them. The default value is YES for applications linked on macOS 10.12 and later, and false for applications linked on earlier versions of macOS. If you require the legacy behavior and your app links in macOS 10.12 or later, the value of this property must be explicitly set toNO in code, because it is not encoded in the nib. In general, this is required if the items themselves create a retain cycle.
(Read and Write property)

NSOutlineViewMBS.userInterfaceLayoutDirection as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The user interface layout direction.

When set to NSUserInterfaceLayoutDirectionRightToLeft, the outline view displays the disclosure triangle to the right of the cell instead of the left. The default value is NSUserInterfaceLayoutDirectionLeftToRight.
(Read and Write property)

The items on this page are in the following plugins: MBS MacControls Plugin.


The biggest plugin in space...