DependencyPropertyValueSource.LocalDynamicResource 属性
注意:此 API 现在已过时。 非过时替代项是 DynamicResource。
获取一个 DependencyPropertyValueSource 对象,该对象表示一个设置为本地动态资源的属性。
命名空间: Microsoft.Windows.Design.PropertyEditing
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
<ObsoleteAttribute("Use DependencyPropertyValueSource.DynamicResource instead")> _
Public Shared ReadOnly Property LocalDynamicResource As DependencyPropertyValueSource
Get
[ObsoleteAttribute("Use DependencyPropertyValueSource.DynamicResource instead")]
public static DependencyPropertyValueSource LocalDynamicResource { get; }
[ObsoleteAttribute(L"Use DependencyPropertyValueSource.DynamicResource instead")]
public:
static property DependencyPropertyValueSource^ LocalDynamicResource {
DependencyPropertyValueSource^ get ();
}
[<ObsoleteAttribute("Use DependencyPropertyValueSource.DynamicResource instead")>]
static member LocalDynamicResource : DependencyPropertyValueSource
static function get LocalDynamicResource () : DependencyPropertyValueSource
属性值
类型:Microsoft.Windows.Design.PropertyEditing.DependencyPropertyValueSource
一个 DependencyPropertyValueSource 对象,该对象表示一个设置为本地动态资源的属性。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
DependencyPropertyValueSource 类
Microsoft.Windows.Design.PropertyEditing 命名空间