Search Results for

    Show / Hide Table of Contents

    Class SearchViewModel

    Search viewmodel

    Inheritance
    System.Object
    SearchViewModel
    Namespace: Simplic.Framework.DBUI
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public class SearchViewModel : ViewModelBase

    Constructors

    | Improve this Doc View Source

    SearchViewModel(Search, Boolean, Boolean)

    Initializew new viewmodel instance

    Declaration
    public SearchViewModel(Search search, bool isFulltextSearchEnabled, bool createEmptyConfiguration = false)
    Parameters
    Type Name Description
    Search search

    Search instance

    System.Boolean isFulltextSearchEnabled
    System.Boolean createEmptyConfiguration

    Create an empty configuration, if the list of configurations is empty

    Properties

    | Improve this Doc View Source

    AddIcon

    Gets the add icon

    Declaration
    public ImageSource AddIcon { get; }
    Property Value
    Type Description
    System.Windows.Media.ImageSource
    | Improve this Doc View Source

    AddNewGridSearchConfigurationCommand

    Gets or sets the new search configuration

    Declaration
    public ICommand AddNewGridSearchConfigurationCommand { get; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    AddNewGroupCommand

    Gets or sets the group add comand

    Declaration
    public ICommand AddNewGroupCommand { get; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    Configurations

    Gets or sets all configurations

    Declaration
    public ObservableCollection<SearchConfigurationViewModel> Configurations { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<SearchConfigurationViewModel>
    | Improve this Doc View Source

    FulltextSearchVisibility

    Gets or sets the fulltext visibility

    Declaration
    public Visibility FulltextSearchVisibility { get; }
    Property Value
    Type Description
    System.Windows.Visibility
    | Improve this Doc View Source

    FulltextShowDirectInput

    Gets or sets whether to show the fulltext search as direct input or not.

    Declaration
    public bool FulltextShowDirectInput { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsFulltextSearchEnabled

    Gets or sets if the full text search is enabled

    Declaration
    public bool IsFulltextSearchEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsSaved

    Gets or sets whether the viewmodel was saved

    Declaration
    public bool IsSaved { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Model

    Gets the api model

    Declaration
    public Search Model { get; }
    Property Value
    Type Description
    Search
    | Improve this Doc View Source

    SelectedSearch

    Gets or sets the selected search configuration

    Declaration
    public SearchConfigurationViewModel SelectedSearch { get; set; }
    Property Value
    Type Description
    SearchConfigurationViewModel

    Methods

    | Improve this Doc View Source

    OnAddNewGroupCommand(Object)

    Add new group

    Declaration
    public void OnAddNewGroupCommand(object commandParameter = null)
    Parameters
    Type Name Description
    System.Object commandParameter
    | Improve this Doc View Source

    OnAddNewSearchConfigurationCommand(Object)

    Add new search configuration

    Declaration
    public void OnAddNewSearchConfigurationCommand(object commandParameter = null)
    Parameters
    Type Name Description
    System.Object commandParameter
    | Improve this Doc View Source

    OnDelete()

    Remove currently selected configuration

    Declaration
    public void OnDelete()
    | Improve this Doc View Source

    OnSave()

    Save configuration

    Declaration
    public bool OnSave()
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx