I am currently looking at the C# Metro default controltemplate for scrollbar. And in it the scrollbar template, there is this portion that called verticalpanningroot. Do you have any idea which part of the scrollbar UI is it responsible to render?
<Grid x:Name="VerticalPanningRoot" VerticalAlignment="Top" MinHeight="66">
<Border x:Name="VerticalPanningThumb"
Background="{StaticResource ScrollBarPanningBackgroundThemeBrush}"
BorderBrush="{StaticResource ScrollBarPanningBorderThemeBrush}"
BorderThickness="{StaticResource ScrollBarPanningBorderThemeThickness}"
Width="4" MinHeight="17"/>
</Grid>
Thanks.
If you mean
x:Name="VerticalPanningRoot", it just means that you can access yourGridby it’s name in your code behind (C#) which isVerticalPanningRoot.Example:
Edit:
Your
Gridis actually holding the “thumb” (theBorderelement) of theScrollBar(the thumb is the part you can drag and drop to go down and up more faster).You can see here all the
ScrollBarparts, this image is taken from this tuto.