public AcSettingsControls_Controller_Main()
        {
            InitializeComponent();

            this.AddWidthCondition(720).Add(x => {
                MainGrid.FindVisualChild <UniformGrid>()?.SetValue(UniformGrid.ColumnsProperty, x ? 2 : 1);
            });
        }
 public void Initialize()
 {
     InitializeComponent();
     this.AddWidthCondition(1200).Add(x =>
                                      MainGrid.FindVisualChild <SpacingUniformGrid>()?.SetValue(SpacingUniformGrid.ColumnsProperty, x ? 2 : 1));
 }