Поделиться через


DependencyPropertyValueSource Class

Represents the source of a dependency property value.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.PropertyEditing.PropertyValueSource
    Microsoft.Windows.Design.PropertyEditing.DependencyPropertyValueSource

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

Syntax

'Declaration
Public Class DependencyPropertyValueSource _
    Inherits PropertyValueSource
public class DependencyPropertyValueSource : PropertyValueSource
public ref class DependencyPropertyValueSource : public PropertyValueSource
type DependencyPropertyValueSource =  
    class
        inherit PropertyValueSource
    end
public class DependencyPropertyValueSource extends PropertyValueSource

The DependencyPropertyValueSource type exposes the following members.

Properties

  Name Description
Public propertyStatic member Ambient Gets a DependencyPropertyValueSource object that represents an ambient property.
Public propertyStatic member Binding Gets a DependencyPropertyValueSource object that represents a bound property.
Public propertyStatic member CustomMarkupExtension Gets a DependencyPropertyValueSource object that represents a property set to a custom markup extension.
Public propertyStatic member DataBound Obsolete. Gets a DependencyPropertyValueSource object that represents a data-bound property.
Public propertyStatic member DefaultValue Gets a DependencyPropertyValueSource object that represents a property set to its default value.
Public propertyStatic member DynamicResource Gets a DependencyPropertyValueSource object that represents a property set to a dynamic resource.
Public propertyStatic member Inherited Obsolete. Gets a DependencyPropertyValueSource object that represents an inherited property.
Public propertyStatic member InheritedValue Gets a DependencyPropertyValueSource object that represents a property whose value was inherited.
Public property IsAmbient Gets a value that indicates whether this DependencyPropertyValueSource represents an ambient property.
Public property IsBinding Gets a value that indicates whether this DependencyPropertyValueSource represents a bound property.
Public property IsCustomMarkupExtension Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a custom markup extension.
Public property IsDataBound Obsolete. Gets a value that indicates whether this DependencyPropertyValueSource represents a data-bound property.
Public property IsDefaultValue Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to its default value.
Public property IsDynamicResource Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a dynamic resource.
Public property IsExpression Obsolete. Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to an expression.
Public property IsInherited Obsolete. Gets a value that indicates whether this DependencyPropertyValueSource represents an inherited property.
Public property IsInheritedValue Gets a value that indicates whether this DependencyPropertyValueSource represents a property whose value was inherited.
Public property IsLocal Obsolete. Gets a value that indicates whether this DependencyPropertyValueSource represents a local property.
Public property IsLocalResource Obsolete. Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a local resource.
Public property IsLocalValue Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a local value.
Public property IsMarkupExtension Gets a value indicating whether this DependencyPropertyValueSource represents a property set to a markup extension.
Public property IsNull Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to x:Null.
Public property IsResource Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a resource.
Public property IsStatic Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a static value.
Public property IsStaticResource Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a static resource.
Public property IsSystemResource Obsolete. Gets a value that indicates whether this DependencyPropertyValueSource represents a property set to a system resource.
Public property IsTemplateBinding Gets a value that indicates whether this DependencyPropertyValueSource represents a template-bound property.
Public propertyStatic member Local Obsolete. Gets a DependencyPropertyValueSource object that represents a local property.
Public propertyStatic member LocalDynamicResource Obsolete. Gets a DependencyPropertyValueSource object that represents a property set to a local dynamic resource.
Public propertyStatic member LocalStaticResource Obsolete. Gets a DependencyPropertyValueSource object that represents a property set to a local static resource.
Public propertyStatic member LocalValue Gets a DependencyPropertyValueSource object that represents a property set to a local value.
Public propertyStatic member Null Gets a DependencyPropertyValueSource object that represents a property set to x:Null.
Public propertyStatic member Static Gets a DependencyPropertyValueSource object that represents a property set to a static value.
Public propertyStatic member StaticResource Gets a DependencyPropertyValueSource object that represents a property set to a static resource.
Public propertyStatic member SystemResource Obsolete. Gets a DependencyPropertyValueSource object that represents a property set to a system resource.
Public propertyStatic member TemplateBinding Gets a DependencyPropertyValueSource object that represents a template-bound property.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

The DependencyPropertyValueSource class is an implementation of the abstract PropertyValueSource class for a PropertyEntry that represents a dependency property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture