Interaction logic for Row.xaml
Inheritance: System.Windows.Controls.UserControl
 private void AddRow(DeviceConfiguration config, int index)
 {
     var row = new Controls.Row();
     row.Configuration = config;
     row.Clicked += Row_Clicked;
     Rows.Insert(index, row);
 }
 private void AddRow(DeviceConfiguration config)
 {
     var row = new Row();
     row.Configuration = config;
     row.Clicked += Row_Clicked;
     Rows.Add(row);
 }
Ejemplo n.º 3
0
        private void Row_Clicked(Controls.Row row)
        {
            var data = new EventData(this);

            data.Id     = "OPEN_DEVICE_DETAILS";
            data.Data01 = row.Device;
            SendData?.Invoke(data);
        }
Ejemplo n.º 4
0
        private void AddRow(DeviceConfiguration config, int index)
        {
            var row = new Controls.Row();

            row.Configuration = config;
            row.Clicked      += Row_Clicked;
            Rows.Insert(index, row);
        }