Hello,
I need to know the optimal height for a TileView the same way I get it from a GridView, but the result is always zero.
CodeTileViewInfo viewInfo = view.GetViewInfo() as TileViewdViewInfo;
return viewInfo.CalcRealViewHeight(new Rectangle(0, 0, view.GridControl.Width, Int16.MaxValue));
How do I do this in a TileView?
Regards
Hello,
TileView
cannot calculate its own minimum required height. TheCalcRealViewHeight
method is primarily used to calculate the optimal height for a detail view, but not all views support it.Could you please specify your usage scenario in greater detail? For what purpose are you using TileView and which LayoutMode are you using? What settings does your TileView have? If possible, please share a simple project demonstrating your usage scenario. This way, I will be in a better position to find a suitable solution.
I look forward to your reply.