Closed RikaMi8 closed 2 months ago
When a control is placed outside the window and the focus moves to it, the control becomes completely invisible. To select that control again, I need to choose it from the TreeView.
https://github.com/user-attachments/assets/48638583-a9fd-4484-beac-1ec9ed3dfb19
Is there a way to display controls outside the window, similar to how the XAML designer in Visual Studio does?
If you set
ClipToBounds="False"
here: https://github.com/icsharpcode/WpfDesigner/blob/38e9db5129bb1de297c23cc5860dba62b2b83ddd/WpfDesign.Designer/Project/Controls/ControlStyles.xaml#L196
it should work.
You can copy the template for window clone to your code and override it
@jogibear9988 Thank you for your response. It's working well!
When a control is placed outside the window and the focus moves to it, the control becomes completely invisible. To select that control again, I need to choose it from the TreeView.
https://github.com/user-attachments/assets/48638583-a9fd-4484-beac-1ec9ed3dfb19
Is there a way to display controls outside the window, similar to how the XAML designer in Visual Studio does?