コード例 #1
0
        public ColumnObject(string name, bool enabled, string bindingName, int index, DataGrid datagridOwner, MainScreenViewModel viewModel)
        {
            initializing = true;

            Name = name;
            BindingName = bindingName;
            DataGridOwner = datagridOwner;
            Index = index;

            Enabled = enabled;

            initializing = false;
        }
コード例 #2
0
        public ColumnObject(ColumnListItem columnItem, DataGrid datagridOwner, MainScreenViewModel viewModel)
        {
            initializing = true;

            Name = columnItem.Name;
            DisplayIndexBindingName = columnItem.DisplayIndexBindingName;
            BindingName = columnItem.DataBindingName;
            DataGridOwner = datagridOwner;
            Index = columnItem.Index;

            Enabled = columnItem.Enabled;
            this.viewModel = viewModel;

            initializing = false;
        }