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

RectangleTool FillStyle by default always yellow?

Thread ID:





95094 Jun 21,2010 10:50 AM UTC Jun 22,2010 11:06 AM UTC WinForms 1
Tags: Diagram
Blanca Calderon
Asked On June 21, 2010 10:50 AM UTC


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 11:06 AM UTC

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.

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