IPanel Interface

ISaveable Interface ISaveable Interface is inteded for working with changes: notify application about changes, save and rollback them anywhere within the application tree hierarchy.

Namespace: Gamanet.C4.SimpleInterfaces.Plugins
Assembly: Gamanet.C4.SimpleInterfaces (in Gamanet.C4.SimpleInterfaces.dll) Version: 2026.0.0.242
Syntax
C#
public interface IPanel : IReadOnlyPanel, IPlugin

The IPanel type exposes the following members.

Properties
 NameDescription
Public propertyCanEdit Indicates whether is possible to change data on panel.
Top
Methods
 NameDescription
Public methodActivatePanel Called when a panel is being displayed.
(Inherited from IReadOnlyPanel)
Public methodCanShow Indicates whether the panel is visible for the specified context.
(Inherited from IReadOnlyPanel)
Public methodDeactivatePanel Called when a panel is no longer displayed.
(Inherited from IReadOnlyPanel)
Public methodInitialize Called when panel is initializing.
(Inherited from IReadOnlyPanel)
Public methodIsDataChanged Indicates whether panel data has changed and should be saved.
Public methodIsPanelValid Indicates whether the panel is valid.
(Inherited from IReadOnlyPanel)
Public methodRefresh Refresh the panel; Reloads all data, inluding settings from the database.
(Inherited from IReadOnlyPanel)
Public methodRollback Rollback the data changes; Revert data back to the point before changes.
Public methodSave Save the data changes.
Public methodSetContext Called when the data context is changed.
(Inherited from IReadOnlyPanel)
Public methodTerminate Called when panel is terminating; All resources should be released.
(Inherited from IReadOnlyPanel)
Top
Events
 NameDescription
Public eventOnDataChanged The event notifier which should be invoked when panel data has changed and should be saved.
Top
See Also

Reference

Gamanet.C4.SimpleInterfaces.Plugins Namespace