Begins a change or batch of changes. This returns a reference to the
content which you should use to make your changes. It may also make a
copy of the content state allowing EndChange
to send an
event with the old and new contents. Calls to this method are counted;
you must call EndChange() once for every call to BeginChange().
If Changed() was called between the calls to BeginChange() and
EndChange(), the last call to EndChange() may cause the ContentChanged
event to be sent.
RhinoCommon (in RhinoCommon.dll)
public void BeginChange(
Public Sub BeginChange (
changeContext As RenderContentChangeContexts
- Type: Rhino.RenderRenderContentChangeContexts
the change context. If this is kUI, kProgram, kDrop or kTree, the
content will be copied. EndChange() will then send the copy as 'old' in
the OnContentChanged event.
If you override this method, please be sure to call the base
Rhino for WindowsSupported in: 6.15