Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <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;
 }