Class ExternAccountEditor
Interaction logic for the external account editor
Implements
ISaveableLayout
IFocusableControlBase
Inherited Members
Namespace: Simplic.Framework.Base
Assembly: Simplic.Framework.Base.dll
Syntax
public class ExternAccountEditor : DefaultRibbonWindow
Constructors
| Improve this Doc View SourceExternAccountEditor()
Initialize editor
Declaration
public ExternAccountEditor()
Properties
| Improve this Doc View SourceCurrent
Get current datacontext as ExternAccount
Declaration
public ExternAccount Current { get; }
Property Value
Type | Description |
---|---|
ExternAccount |
Methods
| Improve this Doc View SourceEdit(Guid)
Edit an existing external account
Declaration
public void Edit(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Unique account id |
New(Int32)
Create new extern account for the given user
Declaration
public void New(int userId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | userId | User id |
OnDelete(WindowDeleteEventArg)
Delete account
Declaration
public override void OnDelete(WindowDeleteEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowDeleteEventArg | e |
Overrides
| Improve this Doc View SourceOnOpenPage(WindowOpenPageEventArg)
Open account
Declaration
public override void OnOpenPage(WindowOpenPageEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowOpenPageEventArg | e |
Overrides
| Improve this Doc View SourceOnSave(WindowSaveEventArg)
Save account
Declaration
public override void OnSave(WindowSaveEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowSaveEventArg | e |
Overrides
Implements
ISaveableLayout
IFocusableControlBase