Search Results for

    Show / Hide Table of Contents

    Class AddonViewModel

    Represents a viewmodel, which adds it's custom properties by the given table name

    Inheritance
    System.Object
    ExtendableViewModel
    AddonViewModel
    TextModuleAddonViewModel
    Implements
    IPyExtendableViewModel
    Inherited Members
    ExtendableViewModel.CustomPropertyGetter(String, Object, PropertyInfo)
    ExtendableViewModel.CustomPropertySetter(String, Object, Object, PropertyInfo)
    ExtendableViewModel.PyHook
    Namespace: Simplic.Framework.UI
    Assembly: Simplic.Framework.Base.dll
    Syntax
    public abstract class AddonViewModel : ExtendableViewModel, IPyExtendableViewModel

    Properties

    | Improve this Doc View Source

    PrimaryKeyColumn

    Gets the primary key column anme

    Declaration
    public abstract string PrimaryKeyColumn { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Scheme

    Gets the table schmene. Default is 'admin'

    Declaration
    public virtual string Scheme { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TableName

    Gets the table name

    Declaration
    public abstract string TableName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UseDelete

    Gets or sets whether data should be deleted. Default is false

    Declaration
    public virtual bool UseDelete { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    Delete()

    Delete addon values, only if UseDelete is true

    Declaration
    public virtual void Delete()
    | Improve this Doc View Source

    Load(ICustomAddonViewModel)

    Initialize the viewmodel and fill its content

    Declaration
    public virtual void Load(ICustomAddonViewModel parent)
    Parameters
    Type Name Description
    ICustomAddonViewModel parent

    Parent viewmodel, which will be extended using the viewmodel

    | Improve this Doc View Source

    Save()

    Save addon values

    Declaration
    public virtual void Save()

    Implements

    IPyExtendableViewModel
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx