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
Methods
| Name | Description | |
|---|---|---|
| ActivatePanel |
Called when a panel is being displayed.
(Inherited from IReadOnlyPanel) | |
| CanShow |
Indicates whether the panel is visible
for the specified context.
(Inherited from IReadOnlyPanel) | |
| DeactivatePanel |
Called when a panel is no longer displayed.
(Inherited from IReadOnlyPanel) | |
| Initialize |
Called when panel is initializing.
(Inherited from IReadOnlyPanel) | |
| IsDataChanged | Indicates whether panel data has changed and should be saved. | |
| IsPanelValid |
Indicates whether the panel is valid.
(Inherited from IReadOnlyPanel) | |
| Refresh |
Refresh the panel;
Reloads all data, inluding settings from the database.
(Inherited from IReadOnlyPanel) | |
| Rollback | Rollback the data changes; Revert data back to the point before changes. | |
| Save | Save the data changes. | |
| SetContext |
Called when the data context is changed.
(Inherited from IReadOnlyPanel) | |
| Terminate |
Called when panel is terminating;
All resources should be released.
(Inherited from IReadOnlyPanel) |
Events
| Name | Description | |
|---|---|---|
| OnDataChanged | The event notifier which should be invoked when panel data has changed and should be saved. |
See Also