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:

Created:

Updated:

Platform:

Replies:

47289 Aug 2,2006 12:35 AM UTC Aug 2,2006 11:02 AM UTC WinForms 1
loading
Tags: Tools
Stephen
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.

cardlayout.zip


Best Regards,
Seetha

CONFIRMATION

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.

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

;