Bagikan melalui


DependencyPropertyValueSource.LocalStaticResource Property

Note: This API is now obsolete. The non-obsolete alternative is StaticResource.

Gets a DependencyPropertyValueSource object that represents a property set to a local static resource.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
<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

Property Value

Type: Microsoft.Windows.Design.PropertyEditing.DependencyPropertyValueSource
A DependencyPropertyValueSource that represents a property set to a local static resource.

.NET Framework Security

See Also

Reference

DependencyPropertyValueSource Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture