You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem involving moving window with tab. In my app I have one tab that is fixed (FixedHeaderCount=1). User can add/remove aditional tabs. I dont want tabs to be dragable so i set InterTabController = null but doing so causes an issue when user tryies to frag fixed tab whole window is being dragged. This is caused by MoveWindowWithSolitaryTabs being placed on InterTabController. This feature I beliewe is controlled in:
private bool ShouldDragWindow(DragablzItemsControl sourceOfDragItemsControl)
{
return (Items.Count == 1
&& (InterTabController == null || InterTabController.MoveWindowWithSolitaryTabs)
&& !Layout.IsContainedWithinBranch(sourceOfDragItemsControl));
}
I think it might be better to change InterTabController == null || => InterTabController != null && or to move MoveWindowWithSolitaryTabs component so InterTabController wouldnt be necesary to disable window drag. Or maybe there is other way to disable window drag I'm not aware of?
The text was updated successfully, but these errors were encountered:
I have a problem involving moving window with tab. In my app I have one tab that is fixed (FixedHeaderCount=1). User can add/remove aditional tabs. I dont want tabs to be dragable so i set InterTabController = null but doing so causes an issue when user tryies to frag fixed tab whole window is being dragged. This is caused by MoveWindowWithSolitaryTabs being placed on InterTabController. This feature I beliewe is controlled in:
private bool ShouldDragWindow(DragablzItemsControl sourceOfDragItemsControl)
{
return (Items.Count == 1
&& (InterTabController == null || InterTabController.MoveWindowWithSolitaryTabs)
&& !Layout.IsContainedWithinBranch(sourceOfDragItemsControl));
}
I think it might be better to change InterTabController == null || => InterTabController != null && or to move MoveWindowWithSolitaryTabs component so InterTabController wouldnt be necesary to disable window drag. Or maybe there is other way to disable window drag I'm not aware of?
The text was updated successfully, but these errors were encountered: