Hi,
We are hosting a calendar control inside of a ToolWindow/ToolWindowContainer and would like the size of the container to match the height of the calendar control.
After reading through the documentation, I've found I can set the DockSite.ControlSize attached property to set the initial size. However, I don't want to hard-code the size of the control (as it is depends on the users machine). Is it possible to use a concept like the SizeToContent property on this control? Basically, I'd like the control container to auto-size until the user fiddles with the container size themselves.
Is this possible?
Cheers,
-Brad
We are hosting a calendar control inside of a ToolWindow/ToolWindowContainer and would like the size of the container to match the height of the calendar control.
After reading through the documentation, I've found I can set the DockSite.ControlSize attached property to set the initial size. However, I don't want to hard-code the size of the control (as it is depends on the users machine). Is it possible to use a concept like the SizeToContent property on this control? Basically, I'd like the control container to auto-size until the user fiddles with the container size themselves.
Is this possible?
Cheers,
-Brad