dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-dot-addtohistory-x28-devexpress-dot-dashboardwin-dot-ihistoryitem-x29.md
Allows you to write an action to history.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public void AddToHistory(
IHistoryItem item
)
Public Sub AddToHistory(
item As IHistoryItem
)
| Name | Type |
|---|---|
| item | IHistoryItem |
The following code snippets (auto-collected from DevExpress Examples) contain references to the AddToHistory(IHistoryItem) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
CustomPropertyHistoryItem historyItem = new CustomPropertyHistoryItem(dashboardItem, PropertyName, newValue.ToString(), $"Scale break for {dashboardItem.ComponentName} is {status}");
designer.AddToHistory(historyItem);
}
CustomPropertyHistoryItem historyItem = new CustomPropertyHistoryItem(dashboardItem, customPropertyName, settings.ToJson(), $"Autogenerate Panes for {dashboardItem.ComponentName} is {status}");
dashboardDesigner.AddToHistory(historyItem);
UpdateBarItems();
dashboard-constant-lines/CS/ConstantLineExtension.Win/ConstantLineModule.cs#L138
hystoryMessage);
dashboardDesigner.AddToHistory(historyItem);
}
Dim historyItem As New CustomPropertyHistoryItem(dashboardItem, PropertyName, newValue.ToString(), $"Scale break for {dashboardItem.ComponentName} is {status}")
designer.AddToHistory(historyItem)
End Sub
Dim historyItem As New CustomPropertyHistoryItem(dashboardItem, customPropertyName, settings.ToJson(), $"Autogenerate Panes for {dashboardItem.ComponentName} is {status}")
dashboardDesigner.AddToHistory(historyItem)
UpdateBarItems()
See Also