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 really like this project, especially its WPF-Example. When I set the MinWidth, I get DeskBand with the Size I need.
But there's a problem: The UserControl isn't correctly sized to the bounds of its parent. Is there a way to achieve this? I already tried to modify the CSDeskBand.cs, but that didn't do anything:
public IntPtr Handle
{
get
{
if (_rootVisual.Child == null)
{
_rootVisual.Child = UIElement;
_rootVisual.Child.ClipToBounds = true;
_rootVisual.ClipToBounds = true;
}
return HwndSource.Handle;
}
}
Do you have any other ideas?
The text was updated successfully, but these errors were encountered:
Okay, I think I found a way by myself. The answer #25 (comment) was helping me here. I think by using the overrides, it should crash at the next restart.
Hey,
I really like this project, especially its WPF-Example. When I set the MinWidth, I get DeskBand with the Size I need.
But there's a problem: The UserControl isn't correctly sized to the bounds of its parent. Is there a way to achieve this? I already tried to modify the CSDeskBand.cs, but that didn't do anything:
Do you have any other ideas?
The text was updated successfully, but these errors were encountered: