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:

Created:

Updated:

Platform:

Replies:

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

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 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:

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.

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

;