Share via


XamlObjectWriterSettings.RegisterNamesOnExternalNamescope 属性

定义

获取或设置一个值,该值确定是否应针对指定的 ExternalNameScope 进行名称注册。

public:
 property bool RegisterNamesOnExternalNamescope { bool get(); void set(bool value); };
public bool RegisterNamesOnExternalNamescope { get; set; }
member this.RegisterNamesOnExternalNamescope : bool with get, set
Public Property RegisterNamesOnExternalNamescope As Boolean

属性值

如果应针对 ExternalNameScope 进行名称注册,则为 true;如果应在父 XAML 命名范围内进行名称注册,则为 false。 默认值为 false

适用于