[Version 2.0] Can't get a DP Value from LayoutAnchorablePaneGroup

Sep 30, 2013 at 12:10 PM
I have a named group pane in my xaml:
<xcad:LayoutPanel Orientation="Horizontal">
   <xcad:LayoutDocumentPane/>
   <xcad:LayoutAnchorablePaneGroup x:Name="ToolPane" Width="200"/>
</xcad:LayoutPanel>
and in my LayoutUpdateStrategy I am able to get the LayoutAnchorablePaneGroup if I directly look for it:
var toolPane = layout
      .Descendents()
      .OfType<LayoutAnchorablePaneGroup>()
However if I want to get the dependency property of x:name, I never get anything back... i.e.
var toolPane = layout
     .Descendents()
     .OfType<LayoutAnchorablePaneGroup>()
     .FirstOrDefault(x => 
          x.GetValue(FrameworkElement.NameProperty).Equals("ToolPane"));
I never get the assigned name value and it always returns an empty string. Now I know I have the right panel and that it is initialized because width is equal to 200 when I debug. So can anyone point what I'm doing wrong ?