Class HistoryEntry
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class HistoryEntry : Object, INotifyPropertyChanged
Constructors
HistoryEntry()
Declaration
public HistoryEntry()
Properties
Action
Gets the type of history changed action that was performed.
Declaration
public HistoryAction Action { get; }
Property Value
Type | Description |
---|---|
HistoryAction | The value used to show the type of history changed action performed during an undo or redo operation. The default value is None. |
Mode
Gets the mode of the entry, which is added either as internal or external.
Declaration
public EntryMode Mode { get; }
Property Value
Type | Description |
---|---|
EntryMode | The value that is used to identify whether the entry was added internally by SfDiagram or externally by the user side. The default entry is internal. |
NextEntry
Gets the next history entry in the Stack.
Declaration
public HistoryEntry NextEntry { get; }
Property Value
Type | Description |
---|---|
HistoryEntry | This property is used to show the next value in the Stack. The default is empty. |
PreviousEntry
Gets the previous history entry in the stack.
Declaration
public HistoryEntry PreviousEntry { get; }
Property Value
Type | Description |
---|---|
HistoryEntry | This property is used to show the previous value in the Stack. The default is empty. |
RedoElements
Gets the list of diagram elements to be reverted.
Declaration
public ObservableCollection<object> RedoElements { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.Object> | The values of the objects used in the Redo Operations. The default is an empty collection. |
UndoElements
Gets the list of diagram elements to be restored.
Declaration
public ObservableCollection<object> UndoElements { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.Object> | The values of the objects used in the Redo Operations. The default is an empty collection. |
Methods
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |