Search Results for

    Show / Hide Table of Contents

    Interface IExtendableViewModel

    Interface for extendable viewmodels

    Inherited Members
    IViewModelBase.RaisePropertyChanged(String)
    IViewModelBase.OnClose()
    IViewModelBase.IsDirty
    IViewModelBase.ForceSave
    IViewModelBase.Parent
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: Simplic.UI.MVC
    Assembly: Simplic.UI.dll
    Syntax
    public interface IExtendableViewModel : IViewModelBase, INotifyPropertyChanged

    Methods

    | Improve this Doc View Source

    CustomPropertyChanged(String, Object)

    Will be called when a custom property gets changed

    Declaration
    void CustomPropertyChanged(string name, object value)
    Parameters
    Type Name Description
    System.String name

    Name of the property that way changed

    System.Object value

    New value

    | Improve this Doc View Source

    CustomPropertyGetter(String, Object, PropertyInfo)

    Will be called when getting values from the getter

    Declaration
    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
    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

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