Search Results for

    Show / Hide Table of Contents

    Class ExtendableViewModel

    Viewmodel which inherits ExtendableViewModel and enables python extensions by default

    Inheritance
    System.Object
    ExtendableViewModel
    AccessRightItemViewModel
    AccessRightsEditorViewModel
    StackReportEditorViewModel
    StackReportViewModel
    OrganizationTenantViewModel
    ColumnEditorViewModel
    ColumnViewModel
    PropertyAssignmentViewModel
    PropertyEditorConfigurationViewModel
    UITabViewModel
    AddonViewModel
    TextModuleViewModel
    Implements
    IPyExtendableViewModel
    Namespace: Simplic.Framework.UI
    Assembly: Simplic.Framework.Base.dll
    Syntax
    public class ExtendableViewModel : ExtendableViewModelBase, IPyExtendableViewModel

    Constructors

    | Improve this Doc View Source

    ExtendableViewModel()

    Initialize new extendable viewmodel

    Declaration
    public ExtendableViewModel()

    Properties

    | Improve this Doc View Source

    PyHook

    Gets a viewmodel hooks

    Declaration
    public IViewModelHook PyHook { get; }
    Property Value
    Type Description
    IViewModelHook

    Methods

    | Improve this Doc View Source

    CustomPropertyGetter(String, Object, PropertyInfo)

    Will be called when getting values from the getter

    Declaration
    public override object CustomPropertyGetter(string name, object value, PropertyInfo propertyInfo)
    Parameters
    Type Name Description
    System.String name

    Name of the property

    System.Object value

    Value that is currently stored in the field of the property

    System.Reflection.PropertyInfo propertyInfo

    Property informatiopn

    Returns
    Type Description
    System.Object

    Value to return from the getter

    | Improve this Doc View Source

    CustomPropertySetter(String, Object, out Object, PropertyInfo)

    Will be called before the custom property is changed

    Declaration
    public override bool CustomPropertySetter(string name, object inValue, out object outValue, PropertyInfo propertyInfo)
    Parameters
    Type Name Description
    System.String name

    Name of the property to change

    System.Object inValue

    Value that was passed into the setter

    System.Object outValue

    Value that should be set

    System.Reflection.PropertyInfo propertyInfo

    Property information

    Returns
    Type Description
    System.Boolean

    True if the setter should set the value

    Implements

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