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. Image for the cookie policy date

TextBoxBarItem Border customization

Is it possible to customize the border appearance of a textboxbaritem in an XPToolbar?  I just want to change it to a 3D border. 



3 Replies

JP Jagadeesan Pichaimuthu Syncfusion Team August 6, 2019 07:08 AM UTC

Hi San, 
 
Thanks for using Syncfusion product. 
 
You can able to customize the border color by DrawToolbarItem event. Please find the code snippet below, 
 
this.textBoxBarItem1.DrawToolbarItem += TextBoxBarItem1_DrawToolbarItem; 
 
private void TextBoxBarItem1_DrawToolbarItem(object sender, Syncfusion.Windows.Forms.Tools.XPMenus.DrawToolbarItemEventArgs drawItemInfo) 
{             
    drawItemInfo.Graphics.FillRegion(new SolidBrush(Color.Blue), new Region(drawItemInfo.Bounds)); 
} 
 
 
But currently we don’t have support to customize the border style, border width and etc. So we already considered this and logged the feature report for this and you can track from below link, 
 
 
This feature will be included in any of our upcoming release. 
 
Please cast your vote to make it count. We will prioritize the features every release based on the demands. 
 
If you have any more specification/suggestions to the feature request you can add it as a comment in the portal. 
 
Regards, 
Jagadeesan 



SA San August 7, 2019 02:10 AM UTC

Understood. Thanks anyway, will look forward to udpates regarding this.


JP Jagadeesan Pichaimuthu Syncfusion Team August 7, 2019 04:40 AM UTC

Hi San, 
 
Thanks for your update. 
 
This feature will be included in any of our upcoming release and we will update you once the feature rolled out. 
 
Regards, 
Jagadeesan 


Loader.
Live Chat Icon For mobile
Up arrow icon