/// <inheritdoc /> public override void Initialize(LayoutElementsContainer layout) { element = layout.Checkbox(); element.CheckBox.StateChanged += (box) => SetValue(box.Checked); }