Click or drag to resize

SinglePropertyEdit Class

Represents an undoable edit operation that modifies a single property on a single visual object.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsDocumentEdit
    Demo3D.VisualsDocumentVisualsEdit
      Demo3D.VisualsMultiVisualPropertyEdit
        Demo3D.VisualsSinglePropertyEdit

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public class SinglePropertyEdit : MultiVisualPropertyEdit

The SinglePropertyEdit type exposes the following members.

Constructors
  NameDescription
Public methodSinglePropertyEdit
Initializes a new instance of the SinglePropertyEdit class.
Top
Properties
  NameDescription
Public propertyDocument
The document that contains the edit.
(Inherited from DocumentEdit.)
Public propertyIds
The Ids of the affected visuals.
(Inherited from DocumentVisualsEdit.)
Top
Methods
  NameDescription
Public methodFindVisuals
Find all visuals in the scene which match an id in the Ids property."/>
(Inherited from DocumentVisualsEdit.)
Public methodRedo
Executed when redo is called on this edit from the UndoManager
(Inherited from MultiVisualPropertyEdit.)
Public methodSetVisuals
Set the list of affected visuals.
(Inherited from DocumentVisualsEdit.)
Public methodToString
Returns a string representation of this property edit showing the old and new values.
(Overrides MultiVisualPropertyEditToString.)
Public methodUndo
Executed when undo is called on this edit from the UndoManager
(Inherited from MultiVisualPropertyEdit.)
Protected methodVisualsToString
Returns a string representation of the affected visuals for display purposes.
(Inherited from DocumentVisualsEdit.)
Top
Fields
  NameDescription
Protected fieldnewValues
The list of new property values for each visual after the edit.
(Inherited from MultiVisualPropertyEdit.)
Protected fieldoldValues
The list of original property values for each visual before the edit.
(Inherited from MultiVisualPropertyEdit.)
Protected fieldpath
The property path to be modified on each visual.
(Inherited from MultiVisualPropertyEdit.)
Top
See Also