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

How to implement the Auto Height functionality in RepositoryItemAnyControl

$
0
0

To support the Auto Heightfunctionality in your custom editor, implement the IHeightAdaptable interface for its ViewInfo class and return the required height in its IHeightAdaptable.CalcHeight method. This example shows how to calculate the best height based on the editor's text. If your custom editor is more complex, you need to adapt this code to take your custom layout into account.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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