public bool TryGetNamespaceByPrefix (string prefix, out string xamlNs) { if ((this._namespaces != null) && this._namespaces.TryGetValue(prefix, out xamlNs)) { return true; } xamlNs = null; return false; }