Interaction logic for Row.xaml
Inheritance: System.Windows.Controls.UserControl
コード例 #1
0
 private void AddRow(DeviceConfiguration config, int index)
 {
     var row = new Controls.Row();
     row.Configuration = config;
     row.Clicked += Row_Clicked;
     Rows.Insert(index, row);
 }
コード例 #2
0
 private void AddRow(DeviceConfiguration config)
 {
     var row = new Row();
     row.Configuration = config;
     row.Clicked += Row_Clicked;
     Rows.Add(row);
 }
コード例 #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);
        }
コード例 #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);
        }