public KeymapOutputItem(KeymapOutput output) { InitializeComponent(); this.output = output; this.tbName.Text = output.Name; this.border.Background = new SolidColorBrush(KeymapColors.GetColor(output.Type)); //this.adorner.Visibility = Visibility.Hidden; }
public KeymapOutputRow(KeymapOutput output) { InitializeComponent(); KeymapOutputItem item = new KeymapOutputItem(output); item.OnDragStart += item_OnDragStart; item.OnDragStop += item_OnDragStop; this.mainGrid.Children.Add(item); }
public void addOutput(KeymapOutput output) { this.Stack.Add(output); }
public KeymapOutConfig(KeymapOutput output, bool inherited) { this.Stack = new List<KeymapOutput>(); this.Stack.Add(output); this.Inherited = inherited; }