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:

Created:

Updated:

Platform:

Replies:

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

Hi,

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?

Thanks!!

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:

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=RectangleTool620762366.zip

Note:

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

Please try this and let me know if this helps.

Thanks,
Melba

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.

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.

;