ToolStrip items and PropertyBinding

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Q2hyaXMgV2Fsa2Vy?=

    #1

    ToolStrip items and PropertyBinding

    Using just the designer, is there a way to PropertyBind ToolStrip items
    (Buttons, TextBox....)?

    I can easily do this with the regular windows controls. For example, I
    place a TextBox on my form, on it's properties window I go to
    ApplicationSett ings, PropertyBinding . There I can bind the Text property.
    Then, without writting any code, I can persist the contents of the TextBox
    between sessions.

    I can do the same thing with Items in the ToolStrip, but they will only save
    load the properties, not save them. I can go in through code and manually
    save the settings, but I don't think I should have to do this. Am I missing
    something with this?

    Calling ToolStripManage r.SaveSettings doesn't work either. It doesn't save
    bound properties.

    Thanks,
Working...