Search Results for

    Show / Hide Table of Contents

    Class StackBasedApplicationWindow<TModel, TViewModel, TService>

    Stack based application window

    Inheritance
    System.Object
    DefaultRibbonWindow
    StackBasedWindow
    StackBasedApplicationWindow<TModel, TViewModel, TService>
    Implements
    ISaveableLayout
    IFocusableControlBase
    IWindow<System.Guid, TModel, TViewModel>
    Inherited Members
    StackBasedWindow.CommentWindowClosed
    StackBasedWindow.InvokeFlowEvents
    StackBasedWindow.InvokeFlowEventsProperty
    StackBasedWindow.OnCreateArchiveRibbon(RibbonTab)
    StackBasedWindow.GetDeleteRestriction()
    StackBasedWindow.OnWindowModeChanged(WindowModeChangedArgs)
    StackBasedWindow.OnOpenSetNotificationWindow(OpenSetNotificationWindowArgs)
    StackBasedWindow.GetInstanceDataGuid()
    StackBasedWindow.SetInstanceDataGuid(Guid)
    StackBasedWindow.SetStackParameter(DocCenterParameter)
    StackBasedWindow.OnDocumentArchived(Guid)
    StackBasedWindow.OnClosed(EventArgs)
    StackBasedWindow.StackName
    StackBasedWindow.StackGuid
    StackBasedWindow.UseRegisterAssignment
    StackBasedWindow.UseAutoConnector
    StackBasedWindow.AddAccessRights
    StackBasedWindow.StackParameter
    StackBasedWindow.AllowInstanceDataComment
    StackBasedWindow.SecurityType
    StackBasedWindow.EnableTenantSystem
    StackBasedWindow.RefreshCommentControlAutomatically
    StackBasedWindow.ReportTab
    StackBasedWindow.ArchiveTab
    StackBasedWindow.SelectedTenantId
    DefaultRibbonWindow.OnWindowCommandAction
    DefaultRibbonWindow.PagingEvent
    DefaultRibbonWindow.ResetFocus()
    DefaultRibbonWindow.OnActivated(EventArgs)
    DefaultRibbonWindow.FindVisualChildren<T>(DependencyObject)
    DefaultRibbonWindow.ValidateUIControls()
    DefaultRibbonWindow.OnUIInitialized()
    DefaultRibbonWindow.RemoveCurrentPagingObject()
    DefaultRibbonWindow.CallWindowCommand(WindowCommand)
    DefaultRibbonWindow.OnOpenPageCall(WindowOpenPageEventArg)
    DefaultRibbonWindow.OnPaging(WindowPagingEventArg)
    DefaultRibbonWindow.AddPagingObject(Object)
    DefaultRibbonWindow.FindChild<T>(String)
    DefaultRibbonWindow.FindChildByParent<T>(DependencyObject, String)
    DefaultRibbonWindow.UseLocking
    DefaultRibbonWindow.MessageLabelProperty
    DefaultRibbonWindow.MessageLabel
    DefaultRibbonWindow.AllowSave
    DefaultRibbonWindow.AllowDelete
    DefaultRibbonWindow.AllowPaging
    DefaultRibbonWindow.CloseWithEscape
    DefaultRibbonWindow.WindowMode
    DefaultRibbonWindow.PagingObjects
    DefaultRibbonWindow.CurrentPagingIndex
    DefaultRibbonWindow.CurrentObject
    DefaultRibbonWindow.CloseMessage
    DefaultRibbonWindow.DeleteMessage
    DefaultRibbonWindow.AutoSaveBeforePaging
    DefaultRibbonWindow.RadRibbonView
    DefaultRibbonWindow.RadRibbonHomeTab
    DefaultRibbonWindow.RadRibbonLayoutTab
    DefaultRibbonWindow.RadRibbonSecurityTab
    DefaultRibbonWindow.RadRibbonDataGroup
    DefaultRibbonWindow.FreeEventsOnClosed
    DefaultRibbonWindow.LayoutContext
    DefaultRibbonWindow.ShowSaveDialog
    DefaultRibbonWindow.HasNoOwner
    DefaultRibbonWindow.ResetByTabIndex
    DefaultRibbonWindow.LocalizationService
    DefaultRibbonWindow.IsBusy
    DefaultRibbonWindow.FocusOnStart
    Namespace: Simplic.Framework.Extension.UI
    Assembly: Simplic.Framework.Extension.dll
    Syntax
    public abstract class StackBasedApplicationWindow<TModel, TViewModel, TService> : StackBasedWindow where TModel : new()
        where TViewModel : IWindowViewModel<TModel>, new()
        where TService : IRepositoryBase<Guid, TModel>, IModelIdentity<Guid, TModel>
    Type Parameters
    Name Description
    TModel

    Model type

    TViewModel

    Viewmodel type

    TService

    Service instance

    Constructors

    | Improve this Doc View Source

    StackBasedApplicationWindow(TService)

    Initialize stack based window

    Declaration
    public StackBasedApplicationWindow(TService service)
    Parameters
    Type Name Description
    TService service

    Service instance

    Properties

    | Improve this Doc View Source

    ViewModel

    Gets the current DataContext as TViewModel

    Declaration
    public TViewModel ViewModel { get; }
    Property Value
    Type Description
    TViewModel

    Methods

    | Improve this Doc View Source

    OnDelete(WindowDeleteEventArg)

    Service based deletion

    Declaration
    public override void OnDelete(WindowDeleteEventArg e)
    Parameters
    Type Name Description
    WindowDeleteEventArg e
    Overrides
    StackBasedWindow.OnDelete(WindowDeleteEventArg)
    | Improve this Doc View Source

    OnOpenPage(WindowOpenPageEventArg)

    Service based page opening

    Declaration
    public override void OnOpenPage(WindowOpenPageEventArg e)
    Parameters
    Type Name Description
    WindowOpenPageEventArg e
    Overrides
    StackBasedWindow.OnOpenPage(WindowOpenPageEventArg)
    | Improve this Doc View Source

    OnSave(WindowSaveEventArg)

    Service based saving

    Declaration
    public override void OnSave(WindowSaveEventArg e)
    Parameters
    Type Name Description
    WindowSaveEventArg e
    Overrides
    StackBasedWindow.OnSave(WindowSaveEventArg)
    | Improve this Doc View Source

    Show(TModel, Mode)

    Show window

    Declaration
    public void Show(TModel model, Mode mode)
    Parameters
    Type Name Description
    TModel model

    Data model

    Mode mode

    Window mode

    | Improve this Doc View Source

    Show(IList<TModel>, Mode)

    Show window

    Declaration
    public void Show(IList<TModel> models, Mode mode)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<TModel> models

    List of data model

    Mode mode

    Window mode

    | Improve this Doc View Source

    Show(IList<Guid>, Mode)

    Show window

    Declaration
    public void Show(IList<Guid> ids, Mode mode)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<System.Guid> ids

    List of data ids

    Mode mode

    Window mode

    | Improve this Doc View Source

    Show(Guid, Mode)

    Show window

    Declaration
    public void Show(Guid id, Mode mode)
    Parameters
    Type Name Description
    System.Guid id

    Data id

    Mode mode

    Window mode

    | Improve this Doc View Source

    ShowDialog(TModel, Mode)

    Show window modal

    Declaration
    public bool? ShowDialog(TModel model, Mode mode)
    Parameters
    Type Name Description
    TModel model

    Data model

    Mode mode

    Window mode

    Returns
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    ShowDialog(IList<TModel>, Mode)

    Show window modal

    Declaration
    public bool? ShowDialog(IList<TModel> models, Mode mode)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<TModel> models

    List of data model

    Mode mode

    Window mode

    Returns
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    ShowDialog(IList<Guid>, Mode)

    Show window modal

    Declaration
    public bool? ShowDialog(IList<Guid> ids, Mode mode)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<System.Guid> ids

    List of data ids

    Mode mode

    Window mode

    Returns
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    ShowDialog(Guid, Mode)

    Show window modal

    Declaration
    public bool? ShowDialog(Guid id, Mode mode)
    Parameters
    Type Name Description
    System.Guid id

    Data id

    Mode mode

    Window mode

    Returns
    Type Description
    System.Nullable<System.Boolean>

    Implements

    ISaveableLayout
    IFocusableControlBase
    IWindow<, , >
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx