controls has a predefined ItemContainerStyleSelector
that sets default styles to the following types of elements:RadToolBarSeparator
However, the ItemContainerStyleSelector
can only be applied to direct children of the listed types and since in your case, the TextBox
are wrapped in another control before added to the RadToolBar
you'll need to define a custom style for them. I attached a sample project that contains the predefined styles for the RadToolBar
and its children. I also added a custom control with a TextBox
and I copied the RadToolBar TextBox
predefined styles and I applied it to the controls in the CustomControl
. Please have a look at the solution and let me know if it helps.
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>