I'm having problems with pane refreshes, I'll give some examples:
1. I have an event that causes the content of a pane to change, the pane is a second pane in a pane group, places on the bottom of the screen (in a split). When I change the content of the pane I also change the header and title properties of the pane - the result is that the content changes (its a RadGridView that changes ItemSource), the text of the pane's tab changes (the Header property?), but the header of the pane doesn't change (the Title property?). When I move from the pane to the second pane in the group, and back to the changed pane, it shows. The PaneGroup is written in Xaml, but both panes in the group are added by code (using Prisms RegionManager, with the group set as the region, to add panes dynamically to the group).
2. I have a split container to the right of the screen, that holds two group - both are added by code (again, prism and RegionManager, only this time the Region is the splitcontainer). The first group (top) has 3 panes, in one of the a button that creates a pane in the buttom panegroup - 'till you press the button, the buttom group exists, but without panes, so it doesn't show, and the top group is spread from top to bottom. When I press the button, I see in debug that the pane is added to the lower PaneGroup but visually, nothing happens - the pane group doesn't appear. Only when I move in the top pane group from one pane to another, the buttom group appears, taking 50% of the height, showing the newly added pane. It also appears when dragging the top group outside of the container or when changing the selected pane in the upper group from code. Trying to use SetFocus, SelectedItem or other methods to make the group re-calculate its height didn't work.
Any ideas would be appreciated.
1. I have an event that causes the content of a pane to change, the pane is a second pane in a pane group, places on the bottom of the screen (in a split). When I change the content of the pane I also change the header and title properties of the pane - the result is that the content changes (its a RadGridView that changes ItemSource), the text of the pane's tab changes (the Header property?), but the header of the pane doesn't change (the Title property?). When I move from the pane to the second pane in the group, and back to the changed pane, it shows. The PaneGroup is written in Xaml, but both panes in the group are added by code (using Prisms RegionManager, with the group set as the region, to add panes dynamically to the group).
2. I have a split container to the right of the screen, that holds two group - both are added by code (again, prism and RegionManager, only this time the Region is the splitcontainer). The first group (top) has 3 panes, in one of the a button that creates a pane in the buttom panegroup - 'till you press the button, the buttom group exists, but without panes, so it doesn't show, and the top group is spread from top to bottom. When I press the button, I see in debug that the pane is added to the lower PaneGroup but visually, nothing happens - the pane group doesn't appear. Only when I move in the top pane group from one pane to another, the buttom group appears, taking 50% of the height, showing the newly added pane. It also appears when dragging the top group outside of the container or when changing the selected pane in the upper group from code. Trying to use SetFocus, SelectedItem or other methods to make the group re-calculate its height didn't work.
Any ideas would be appreciated.