XamlTextNode getPropertyValueNode() { XamlTextNode n = new XamlTextNode( reader.LineNumber, reader.LinePosition, getDepth(), reader.Value); if (n.TextContent.StartsWith("{StaticResource ")) { n.setkeyText(n.TextContent.Remove(0, "{StaticResource ".Length).TrimEnd('}')); } return(n); }
XamlTextNode getPropertyValueNode() { XamlTextNode n = new XamlTextNode( reader.LineNumber, reader.LinePosition, getDepth(), reader.Value); if (n.TextContent.StartsWith("{StaticResource ")) { n.setkeyText(n.TextContent.Remove(0, "{StaticResource ".Length).TrimEnd('}')); } return n; }