DependencyPropertyValueSource.LocalStaticResource 属性

注意:此 API 现在已过时。 非过时替代项是 StaticResource

获取一个 DependencyPropertyValueSource 对象,该对象表示一个设置为本地静态资源的属性。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
<ObsoleteAttribute("Use DependencyPropertyValueSource.StaticResource instead")> _
Public Shared ReadOnly Property LocalStaticResource As DependencyPropertyValueSource
    Get
[ObsoleteAttribute("Use DependencyPropertyValueSource.StaticResource instead")]
public static DependencyPropertyValueSource LocalStaticResource { get; }
[ObsoleteAttribute(L"Use DependencyPropertyValueSource.StaticResource instead")]
public:
static property DependencyPropertyValueSource^ LocalStaticResource {
    DependencyPropertyValueSource^ get ();
}
[<ObsoleteAttribute("Use DependencyPropertyValueSource.StaticResource instead")>]
static member LocalStaticResource : DependencyPropertyValueSource
static function get LocalStaticResource () : DependencyPropertyValueSource

属性值

类型:Microsoft.Windows.Design.PropertyEditing.DependencyPropertyValueSource
一个 DependencyPropertyValueSource 对象,该对象表示一个设置为本地静态资源的属性。

.NET Framework 安全性

请参见

参考

DependencyPropertyValueSource 类

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

WPF 设计器扩展性

属性编辑体系结构