C# Class Zetbox.Client.Presentables.CompoundObjectViewModel

Inheritance: Zetbox.Client.Presentables.ViewModel
Show file Open project: daszat/zetbox Class Usage Examples

Protected Properties

Property Type Description
isReadOnlyStore bool

Public Methods

Method 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

Protected Methods

Method 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

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

Method Details

CompoundObjectViewModel() public method

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
return System

CreatePropertyGroups() protected method

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
return List

Fetch() public static method

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
return CompoundObjectViewModel

OnPropertyModelsByNameCreated() protected method

Called after the PropertyModelsByName dictionary has been created.
protected OnPropertyModelsByNameCreated ( ) : void
return void

OnPropertyModelsCreated() protected method

Called after the PropertyModels list has been created.
protected OnPropertyModelsCreated ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

isReadOnlyStore protected property

protected bool isReadOnlyStore
return bool