public void SetSettings(DashboardState state) { Name = state.Name; InitWidth = state.InitWidth; InitHeight = state.InitHeight; IsDimensionsLocked = state.IsDimensionsLocked; }
public DashboardState GenerateSettings() { DashboardState state = new DashboardState { Name = Name, InitHeight = InitHeight, InitWidth = InitWidth, IsDimensionsLocked = IsDimensionsLocked }; return(state); }