c# - MVVM: custom class for grid objects that is only accessible by code behind -


I am writing a C # UI and am trying to follow the MVVM pattern. My design contains a grid that represents the presence of two objects in the database, some text fields and some buttons.

I have been able to force the data reference of xaml in my visual model code and my code-behind (.xaml.cs) is very low I have grid objects (i.e. objects with unique properties of UI which To capture the models that are not members of the Layer Objects) have done this by adding a class named GridObjs . Unfortunately, however, this approach is required to be used by .xaml.cs to expose my GridObjs class in public.

Is there a solution that allows me to hide GridObjs , but this .xaml.cs?

/ html>

Comments