public MainWindowSettingsModel() { // Initialize default layout models: Blank, Focus, Columns, Rows, Grid, and PriorityGrid _blankModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Blank, LayoutType.Blank) { TemplateZoneCount = 0, SensitivityRadius = 0, }; DefaultModels.Add(_blankModel); _focusModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Focus, LayoutType.Focus); _focusModel.InitTemplateZones(); DefaultModels.Add(_focusModel); _columnsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Columns, LayoutType.Columns) { Rows = 1, RowPercents = new List <int>(1) { GridLayoutModel.GridMultiplier }, }; _columnsModel.InitTemplateZones(); DefaultModels.Add(_columnsModel); _rowsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Rows, LayoutType.Rows) { Columns = 1, ColumnPercents = new List <int>(1) { GridLayoutModel.GridMultiplier }, }; _rowsModel.InitTemplateZones(); DefaultModels.Add(_rowsModel); _gridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Grid, LayoutType.Grid); _gridModel.InitTemplateZones(); DefaultModels.Add(_gridModel); _priorityGridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Priority_Grid, LayoutType.PriorityGrid); _priorityGridModel.InitTemplateZones(); DefaultModels.Add(_priorityGridModel); }