Bagikan melalui


DependencyPropertyValueSource.IsLocalResource Property

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

Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a local resource.

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

Syntax

'Declaration
<ObsoleteAttribute("Use DependencyPropertyValueSource.IsResource instead")> _
Public ReadOnly Property IsLocalResource As Boolean
    Get
[ObsoleteAttribute("Use DependencyPropertyValueSource.IsResource instead")]
public bool IsLocalResource { get; }
[ObsoleteAttribute(L"Use DependencyPropertyValueSource.IsResource instead")]
public:
property bool IsLocalResource {
    bool get ();
}
[<ObsoleteAttribute("Use DependencyPropertyValueSource.IsResource instead")>]
member IsLocalResource : bool
function get IsLocalResource () : boolean

Property Value

Type: System.Boolean
true if this object represents a property set to a LocalDynamicResource or a LocalStaticResource; otherwise, false.

.NET Framework Security

See Also

Reference

DependencyPropertyValueSource Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture