![Avatar](https://secure.gravatar.com/avatar/557616c7b16ea3ba9fc2f1ae3e5c2643.jpg?s=64&d=identicon&r=g)
Hi
For our application, we would like to have a few notifications such as when a contact on your messenger list logs on, or sends you a message. These notifications originate from the statusbar, and appear when the mouse cursor is over a control, or an event occurs.
The thing is that we do not wish is to be a Popup control. I would very much like to declare the statusbar at the bottom of a grid, but not in the RibbonWindow.StatusBar property. The "popups" or notifications should appear over the workspace.
We have declared the view for our statusbar inside of a usercontrol (in this case, one deriving from Statusbar). If we then place the notifications at the bottom of the grid in the main view, I am unable to bind between the notification and the originating control to show the information on mouseover of the control.
I have been thinking about using AdornerLayer or some such, but then I would still have issues with binding to the mouseover control. Another approach is attached behavior and trying to link the control with the notification. But since the two different controls would be in different files, the complexity of understanding the code would be high.
Placing the StatusView at the bottom of the grid, and not in the StatusBar property of the window, the statusbar does not get the correct style (should be possible to work around). It would then also cover some of the content of the workspace/docksite.
I suppose a workaround would be to place the statusview and the notifications in mainview, because I could then bind to the notifications. However, then the main file would grow quite large, and be difficult to maintain.
Any suggestions on how to implement this functionality? I assume someone must have had to implement this kind of functionality.
[Modified at 04/11/2011 10:38 AM]
For our application, we would like to have a few notifications such as when a contact on your messenger list logs on, or sends you a message. These notifications originate from the statusbar, and appear when the mouse cursor is over a control, or an event occurs.
The thing is that we do not wish is to be a Popup control. I would very much like to declare the statusbar at the bottom of a grid, but not in the RibbonWindow.StatusBar property. The "popups" or notifications should appear over the workspace.
We have declared the view for our statusbar inside of a usercontrol (in this case, one deriving from Statusbar). If we then place the notifications at the bottom of the grid in the main view, I am unable to bind between the notification and the originating control to show the information on mouseover of the control.
I have been thinking about using AdornerLayer or some such, but then I would still have issues with binding to the mouseover control. Another approach is attached behavior and trying to link the control with the notification. But since the two different controls would be in different files, the complexity of understanding the code would be high.
Placing the StatusView at the bottom of the grid, and not in the StatusBar property of the window, the statusbar does not get the correct style (should be possible to work around). It would then also cover some of the content of the workspace/docksite.
I suppose a workaround would be to place the statusview and the notifications in mainview, because I could then bind to the notifications. However, then the main file would grow quite large, and be difficult to maintain.
Any suggestions on how to implement this functionality? I assume someone must have had to implement this kind of functionality.
[Modified at 04/11/2011 10:38 AM]
Bjørnar Sundsbø