Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7710559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:09:21+00:00 2026-06-01T01:09:21+00:00

I have a boolean setting in my Properties/Settings.settings file, which basically stores per user

  • 0

I have a boolean setting in my Properties/Settings.settings file, which basically stores per user “Right to Left” or “Left to Right” display mode.

I have a checkbox in my Ribbon which I have bound to the value. It appears however that the binding is only 1 way. Is there any way I can make this two way without having to write code to persist the setting?

Clarification

I have successfully configured the application to bind to the settings when it is first loaded. The problem is that this is a one-direction bind, i.e. the UI updates when settings are changed, but settings don’t change when the UI is changed.

Hence my question…how can I configure two-way binding against user settings?

I can write event handlers to do all of this manually, but I figured that defies the point of using binding.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:09:22+00:00Added an answer on June 1, 2026 at 1:09 am

    This works on my machine solely by using visual studio designer, so I would try ruling things out.

    First, I would set the checkbox on a regular form and see if that helps. What component/library are you using for the ribbon? Are you using DevExpress? I know DevExpress has no databinding support for Ribbon-controls. Are you using other components or your own code for that?

    Second, note that the order of events is not as you might expect. It can very well be that first the CheckedChanged-event is fired and after that the value is synchronized with the Settings. So instead of using the CheckedChanged event I would use a separate button that gets the focus and check within that handler if the value is synchronized.

    Third, you could also override the CheckedChanged event and push the new databinding value to the underlying datasource. I’ve done that for many controls and works like a charm.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Boolean, user scoped setting. I access it through a referenced class
When you have a boolean option and a flag for setting it to false
I have a boolean (BOOL) type field in the SQLite table. In the SubSonic
I have a boolean column in one of my tables (value is either 0
I have a boolean property IsActive. In the view is a list of objects
I have a boolean(primitive) variable in my bean. I need its value to be
If I have a boolean field like: private static final boolean DEBUG = false;
I am creating an android application using Java. I have a boolean variable called
I want to have an image bound to a boolean and have the source
This may seem a very silly question. Consider this: I have a simple Boolean

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.