when using devexpress, see error:      devexpress.wpf.grid.infinitegridsizeexception unhandled             message="by default, infinite grid height not allowed since grid rows rendered , hence grid work slowly. fix issue, should place grid container give finite height grid, or should manually specify grid's height or maxheight. note can avoid exception setting gridcontrol.allowinfinitegridsize static property true, in case grid run slowly."           the problem dxgrid  has infinite height.   to fix, set height non-infinite.   snoop absolutely invaluable this:     if "height" xaml element infinite (i.e. 0  or nan ), can set using one  of following:    option 1: height="{binding path=actualheight, relativesource={relativesource mode=findancestor, ancestortype=uielement}}"  option 2: verticalalignment="stretch"  option 3: height="auto"    hint: use verticalalignment="stretch"  if child of grid  <rowdefinition height=...
 
Comments
Post a Comment