/// <summary> /// Initializes a new instance of the <see cref="T:AiForms.Renderers.SettingsModel"/> class. /// </summary> /// <param name="settingsRoot">Settings root.</param> public SettingsModel(SettingsRoot settingsRoot) { _root = settingsRoot; _visibleSections = _root.Where(x => x.IsVisible); }
/// <summary> /// Initializes a new instance of the <see cref="T:AiForms.Renderers.SettingsView"/> class. /// </summary> public SettingsView() { VerticalOptions = HorizontalOptions = LayoutOptions.FillAndExpand; Root = new SettingsRoot(); Model = new SettingsModel(Root); }
/// <summary> /// Initializes a new instance of the <see cref="T:AiForms.Renderers.SettingsModel"/> class. /// </summary> /// <param name="settingsRoot">Settings root.</param> public SettingsModel(SettingsRoot settingsRoot) { _root = settingsRoot; }