CollapsibleSectionViewModel

Derive from this class to implement your own view model that wraps around a built in implementation of IRdkViewModel. Use GetData etc to implement your properties.

Constructors

CollapsibleSectionViewModel

#Since v6.0
Construct from your section - the view model should be a member of the section
public CollapsibleSectionViewModel()

Properties

CppPointer

#Since v6.0
public nint CppPointer { get; }
CppPointer

Methods

Commit

#Since v6.0
public void Commit(
uuidDataType
)
Commit

Discard

#Since v6.0
public void Discard(
uuidDataType
)
Discard

GetData

#Since v6.0
Call for an interface to data
public object GetData(
uuidDataType,
bForWrite,
bAutoChangeBracket = true
)
GetData

UndoHelper

#Since v6.0
Helper function to ease the use of undo records
public UndoRecord UndoHelper(
description
)
Return the undo record