private void OnToggleActiveClicked(LaunchCommandElement widget, bool active) { var widgetData = widget.GetData(); widgetData.Active = active; widget.SetData(widgetData); Save(); }
private void Bind(LaunchCommandElement v, int index) { WidgetDataLaunchCommandElement widgetData = _widgetDatas[index]; v.SetData(widgetData); }