C# Class Zetbox.Client.Presentables.CompoundObjectViewModel

Inheritance: Zetbox.Client.Presentables.ViewModel
Afficher le fichier Open project: daszat/zetbox Class Usage Examples

Protected Properties

Свойство Type Description
isReadOnlyStore bool

Méthodes publiques

Méthode Description
CompoundObjectViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, ICompoundObject obj ) : System
Fetch ( IViewModelFactory f, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, ICompoundObject obj ) : CompoundObjectViewModel
ToString ( ) : string

Méthodes protégées

Méthode Description
CreatePropertyGroups ( ) : List

Creates the property groups list.

Property groups are created based on the properties summary tags. Due to the fact, that properties can have more than one summary tag, properties may appear in more than one property group. Properties with no summary tags appears in the "Uncategorised" group. Note, that currently summary tags may not contain spaces as the space is defined as the seperator. You can override this method to add custom property groups.

OnPropertyModelsByNameCreated ( ) : void

Called after the PropertyModelsByName dictionary has been created.

OnPropertyModelsCreated ( ) : void

Called after the PropertyModels list has been created.

Private Methods

Méthode Description
FetchPropertyList ( ) : void
FetchPropertyModels ( ) : void
GetCategorySortKey ( string cat ) : string
ObjectPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

CompoundObjectViewModel() public méthode

public CompoundObjectViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, ICompoundObject obj ) : System
appCtx IViewModelDependencies
dataCtx IZetboxContext
parent Zetbox.Client.Presentables.ViewModel
obj ICompoundObject
Résultat System

CreatePropertyGroups() protected méthode

Creates the property groups list.
Property groups are created based on the properties summary tags. Due to the fact, that properties can have more than one summary tag, properties may appear in more than one property group. Properties with no summary tags appears in the "Uncategorised" group. Note, that currently summary tags may not contain spaces as the space is defined as the seperator. You can override this method to add custom property groups.
protected CreatePropertyGroups ( ) : List
Résultat List

Fetch() public static méthode

public static Fetch ( IViewModelFactory f, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, ICompoundObject obj ) : CompoundObjectViewModel
f IViewModelFactory
dataCtx IZetboxContext
parent Zetbox.Client.Presentables.ViewModel
obj ICompoundObject
Résultat CompoundObjectViewModel

OnPropertyModelsByNameCreated() protected méthode

Called after the PropertyModelsByName dictionary has been created.
protected OnPropertyModelsByNameCreated ( ) : void
Résultat void

OnPropertyModelsCreated() protected méthode

Called after the PropertyModels list has been created.
protected OnPropertyModelsCreated ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

isReadOnlyStore protected_oe property

protected bool isReadOnlyStore
Résultat bool