Exemple #1
0
        public override void Load(Call call, TabModel model)
        {
            model.Items   = ListProperty.Create(_propertyTest);
            model.Editing = true;

            model.Actions = new List <TaskCreator>()
            {
                new TaskDelegate("Toggle", Toggle),
            };
        }
Exemple #2
0
        public override void Load(Call call, TabModel model)
        {
            model.Items   = ListProperty.Create(Project.ProjectSettings);
            model.Editing = true;

            model.Actions = new List <TaskCreator>()
            {
                new TaskDelegate("Reset", Reset),
                new TaskDelegate("Save", Save),
            };
        }
Exemple #3
0
    public void LoadObject(object obj)
    {
        ClearControls();

        AddSummary();

        ItemCollection <ListProperty> properties = ListProperty.Create(obj);

        foreach (ListProperty property in properties)
        {
            AddPropertyRow(property);
        }
    }