Silverlight canvas scrollbars -


I read that a canvas will not work inside the scrollover because the canvas does not report its size. I am experimenting with different containers (borders, grid, canvas and scroll-reliefs) and can actually do with general description how scrollers behave within nested containers like if I have a container hierarchy UserControl> Grid1> Canvas1> ScrollViewer> Grid2> Canvas2 should appear scrollbars all around Grid2, when Canvas2 extends with Canvas1? (Or actually more than UserControl) If not, then how should I adjust my container so that I will add the weight of the euittelment to canvas 2 and show scrollbar as needed. (My userstrand width and height is set to 100%)

If you explicitly have a ScrollViewer The problem is that the problem is that if you do not give height and width for any control, then it will try that it is the area available on the basis of her parents' container. An ScrollViewer however infinite is available area.

Take a grid for example. If I define a grid, which contains 2 star width columns and 2 star height rows, how the grid shows how broad each column should be? Star says that they should be half of the available area, but the area available within a ScrollViewer is infinite.

What control are you adding to canvas 2? If you are connecting them with fixed positions from ScrollViewer , then all elements will be expanded at home. If you are not giving them a fixed position compared to all the situations, then it will pile up over each other, because it is a canvas


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -