Hello.I want to block resize of dockPanel component.In the OnShow event I am setting up Constraints:
dockPanel->Constraints->MinWidth = 250;dockPanel->Constraints->MaxWidth = 500;
and I am checking them in OnResize event:
if(dockPanel->ClientWidth < dockPanel->Constraints->MinWidth)
{
dockPanel->ClientWidth = 250;
}
but this doesn't seem to work. My panel is still resizing to 0 width. Tried also with dockPanel->Width = 250 but doesn't help.
Comments