Table of Contents

Method UpdateHistory

Namespace
Alternet.Editor.Common
Assembly
Alternet.Editor.Common.v10.dll

UpdateHistory(ToolStripItemCollection, int, ToolStripItem, ToolStripItem)

Updates visual history elements accordingly the new history index.

public void UpdateHistory(ToolStripItemCollection items, int newIndex, ToolStripItem backward, ToolStripItem forward)

Parameters

items ToolStripItemCollection

List of items to be updated accordingly to the history collection.

newIndex int

New current history index.

backward ToolStripItem

Visual element related to the backward navigation.

forward ToolStripItem

Visual element related to the forward navigation.

UpdateHistory(ToolStripItemCollection, int, ToolStripItem, ToolStripItem, bool)

Updates visual history elements accordingly the new history index.

public void UpdateHistory(ToolStripItemCollection items, int newIndex, ToolStripItem backward, ToolStripItem forward, bool relative)

Parameters

items ToolStripItemCollection

List of items to be updated accordingly to the history collection.

newIndex int

New current history index.

backward ToolStripItem

Visual element related to the backward navigation.

forward ToolStripItem

Visual element related to the forward navigation.

relative bool

True if visual controls should display only part of the history list.