Interface IChangesStream
Provides the functionality for stream, that tracks changes.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Edit.Interfaces
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public interface IChangesStream : IStream
Properties
AutoPush
Gets or sets the count of changes to be made, to execute autopush.
Declaration
int AutoPush { get; set; }
Property Value
Type |
---|
System.Int32 |
CanUndo
Gets a value indicating whether it performs undo operation or not.
Declaration
bool CanUndo { get; }
Property Value
Type |
---|
System.Boolean |
Methods
AddChange(ChangeContext)
Add the changed context to the stream and applies its new changes.
Declaration
void AddChange(ChangeContext context)
Parameters
Type | Name | Description |
---|---|---|
ChangeContext | context | Change context. |
AddChange(Int64, ChangeContext)
Add the changed context to the stream and applies its new changes.
Declaration
void AddChange(long position, ChangeContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | position | Position in stream. |
ChangeContext | context | Change context. |
CopyTo(Stream)
Copies all data to specified stream.
Declaration
void CopyTo(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Destination stream. |
FlushChanges()
Flushes changes to source and empties undo buffer.
Declaration
void FlushChanges()
PopState()
Gets the pops current state.
Declaration
void PopState()
PushState()
Gets the pushes current state.
Declaration
void PushState()
Redo()
Helps to Redo the last undone action.
Declaration
void Redo()
Undo()
Helps to undo last action.
Declaration
void Undo()