We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Filling a control in CardLayout

Thread ID:





47289 Aug 2,2006 12:35 AM UTC Aug 2,2006 11:02 AM UTC WinForms 1
Tags: Tools
Asked On August 2, 2006 12:35 AM UTC

Is it possible to add a control to a CardLayout and have it fill CardLayout''s parent container? The controls that I add to the CardLayout always seem to stay centered without filling the entire container, even though I set Dock = DockStyle.Fill. Thanks.

Administrator [Syncfusion]
Replied On August 2, 2006 11:02 AM UTC

Hi Stephen,

Thanks for using Essential tools.

You can set the LayoutMode property of card layout to Fill, this property will fill the control inside the entire container.

Here is the code snippet:

this.cardLayout1.LayoutMode = Syncfusion.Windows.Forms.Tools.CardLayoutMode.Fill;

I have attached a sample. Please take a look and let me know if you have any questions.


Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon