Посмотрите документацию ResourceResolverFactory.
https://sling.apache.org/apidocs/sling7/org/apache/sling/api/resource/ResourceResolverFactory.html
Попробуйте это:
<TextBlock Width="{Binding ElementName=trvBookmarks,Path=ActualWidth}" ... />