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.
Unfortunately, activation email could not send to your email. Please try again.

RectangleTool FillStyle by default always yellow?

Thread ID:





95094 Jun 21,2010 06:50 AM Jun 22,2010 07:06 AM Windows Forms 1
Tags: Diagram
Blanca Calderon
Asked On June 21, 2010 06:50 AM


Can I change de color of a rectangle when it is created? I know how to change it when it has been already created but this is not my problem. I want that my rectangle FillStyle color property by default will be White, not Yellow.

Could anybody help me?


Melba Winshia [Syncfusion]
Replied On June 22, 2010 07:06 AM

Hi Blanca,

Thank you for contacting Syncfusion Support.

You can achieve this by overriding the RectangleTool class. Please refer to the sample in the following link which illustrates this:



In the above sample, select Rectangle Tool from Tools -> Rectangle Symbol

Please try this and let me know if this helps.



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.

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.