c# - MVVM: custom class for grid objects that is only accessible by code behind -
i'm writing c# ui , trying follow mvvm pattern. design consists of grid representing bring together of 2 objects in database, text fields, , buttons.
i've been successful binding info context of xaml view model code, , code-behind (.xaml.cs) minimal. i've done adding class called gridobjs
hold grid objects (i.e. objects properties specific ui aren't members of model layer objects). unfortunately, however, approach requires expose gridobjs
class publicly in order used .xaml.cs.
is there solution allows me hide gridobjs
allows accessible .xaml.cs?
c# wpf mvvm
No comments:
Post a Comment