Search Results for

    Show / Hide Table of Contents

    Class ApplicationWindow<TId, TModel, TViewModel, TService>

    Inheritance
    System.Object
    DefaultRibbonWindow
    ApplicationWindow<TId, TModel, TViewModel, TService>
    Implements
    ISaveableLayout
    IFocusableControlBase
    IWindow<TId, TModel, TViewModel>
    Inherited Members
    DefaultRibbonWindow.OnWindowCommandAction
    DefaultRibbonWindow.PagingEvent
    DefaultRibbonWindow.ResetFocus()
    DefaultRibbonWindow.OnActivated(EventArgs)
    DefaultRibbonWindow.GetDeleteRestriction()
    DefaultRibbonWindow.FindVisualChildren<T>(DependencyObject)
    DefaultRibbonWindow.ValidateUIControls()
    DefaultRibbonWindow.OnUIInitialized()
    DefaultRibbonWindow.RemoveCurrentPagingObject()
    DefaultRibbonWindow.CallWindowCommand(WindowCommand)
    DefaultRibbonWindow.OnOpenPageCall(WindowOpenPageEventArg)
    DefaultRibbonWindow.OnWindowModeChanged(WindowModeChangedArgs)
    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.UI
    Assembly: Simplic.Framework.Base.dll
    Syntax
    public class ApplicationWindow<TId, TModel, TViewModel, TService> : DefaultRibbonWindow where TModel : new()
        where TViewModel : IWindowViewModel<TModel>, new()
        where TService : IRepositoryBase<TId, TModel>
    Type Parameters
    Name Description
    TId
    TModel
    TViewModel
    TService

    Constructors

    | Improve this Doc View Source

    ApplicationWindow(TService)

    Initialize stack based window

    Declaration
    public ApplicationWindow(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 page opening

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

    OnOpenPage(WindowOpenPageEventArg)

    Gets invoked when page opened

    Declaration
    public override void OnOpenPage(WindowOpenPageEventArg e)
    Parameters
    Type Name Description
    WindowOpenPageEventArg e
    Overrides
    DefaultRibbonWindow.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
    DefaultRibbonWindow.OnSave(WindowSaveEventArg)
    | Improve this Doc View Source

    Show(TId, Mode)

    Show window

    Declaration
    public void Show(TId id, Mode mode)
    Parameters
    Type Name Description
    TId id

    Data id

    Mode mode

    Window mode

    | 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<TId>, Mode)

    Show window

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

    List of data ids

    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

    ShowDialog(TId, Mode)

    Show window modal

    Declaration
    public bool? ShowDialog(TId id, Mode mode)
    Parameters
    Type Name Description
    TId id

    Data id

    Mode mode

    Window mode

    Returns
    Type Description
    System.Nullable<System.Boolean>
    | 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<TId>, Mode)

    Show window modal

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

    List of data ids

    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>

    Implements

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