VH
Vignesh H
Syncfusion Team
August 14, 2007 11:59 PM UTC
Hi Jon,
Thanks for using Syncfusion Products.
In our latest version, the properties AutoHideButtonRect, MenuButtonRect, CloseButtonRect etc are modified into a enum type i.e., CaptionButtonType.Pin, CaptionButtonType.Menu, CaptionButtonType.Close etc inorder to increase efficiency of the code.
In the older version, the control has to perform are hard coded as shown below
>>>>>>
protected Rectangle AutoHideButtonRect
{
// functionality which it has to perform.
// logic to render the border rectangle when the mouse hover take place.
}
>>>>>>
In v5.1
>>>>>
GetButtonImageBounds(CaptionButtonType buttonType)
{
//new Rectangle object to be drawn here
}
>>>>>
The buttons, drawing and the functionality are changed to follow better design pattern for the developers.
Kindly let us know if you need any further assistance.
Regards,
Vignesh