withSIX.Play.Applications.ViewModels.Overlays.SettingsViewModel.SetupPropertyGrid C# (CSharp) Method

SetupPropertyGrid() protected method

protected SetupPropertyGrid ( ) : void
return void
        protected void SetupPropertyGrid() {
            // Needed later for refreshing property grid to enable/disable options at runtime
            PropertyGrid = this;

            // Need this to handle startup situation for enabled/disabled options
            EnableDisableOption("CloseMeansMinimize", EnableTrayIcon);

            EnableDisableOption("WarnOnOverlayOpen", RememberWarnOnOverlayOpen);
            EnableDisableOption("WarnOnAbortUpdate", RememberWarnOnAbortUpdate);
            EnableDisableOption("WarnOnBusyShutdown", RememberWarnOnBusyShutdown);
            EnableDisableOption("WarnOnGameRunning", RememberWarnOnGameRunning);
            EnableDisableOption("WarnOnLogout", RememberWarnOnLogout);
            EnableDisableOption("WarnOnUnprotectedServer", RememberWarnOnUnprotectedServer);
            EnableDisableOption("WarnOnOutdatedDirectX", RememberWarnOnOutdatedDirectX);
        }