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
public CollapsibleSectionViewModel(ICollapsibleSection section)
Construct from your section - the view model should be a member of the section
section (ICollapsibleSection)

Properties

CppPointer

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

Methods

Commit

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

Discard

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

GetData

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

UndoHelper

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