SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

AvalonDock can't change InfoTip of DocumentContent after it was initialized?

Last post 07-20-2015 5:14 PM by dinbrca. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-16-2015 11:31 AM

    AvalonDock can't change InfoTip of DocumentContent after it was initialized?

    Hi,

    I have a class that inherits from DocumentContent class..

    My class is called TabDocument, and I have an ObservableCollection<DocumentContent> called MyDocuments which is where all my documents tabs are in..

    I am adding a new TabDocument to the ObservableCollection using:

    string title= "Untitled";

    MyDocuments.Add(new TabDocument(this, os, version) { Title = title, InfoTip = title });

     

    So when my document is loaded it have a a Title and an InfoTip with values of "Untitled"..

     

    But I want to change the Title & InfoTip after an event occured and after the TabDocument was initialized (when the user saved the document) so I do the following:

    selectedDocument.Title = "NewTitle";

    selectedDocument.InfoTip = "NewTitle";

     

    Well - the problem is that the Title of my document changes.. but the InfoTip property does not..

    I am using the newest AvalonDock built for .Net Framework 3.5 Client Profile

     

    Thanks in advance,

    Din.

  • 07-20-2015 5:14 PM In reply to

    Re: AvalonDock can't change InfoTip of DocumentContent after it was initialized?

    anyone?

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.