Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to specify custom background for DXEditors

$
0
0

In our themes, the Control.BackgroundProperty is defined by several elements with different colors, gradients, margins, paddings and corner rounding. You can't specify this complex functionality with only the Control.BackgroundProperty property. You can implement your own template using the TextEditThemeKey key ({dxet:TextEditThemeKey ResourceKey=BorderTemplate}). Also, you need to bind to the Background property.

Question Comments

Added By: Drew Noakes at: 8/19/2015 3:58:07 AM    

Is it a problem that the control template's binding references TextEdit, yet is also used in DateEdit and ComboBoxEdit?


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>