DependencyProperty 클래스

정의

주의

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

정의하거나 에 연결할 수 있는 특수한 종류의 속성입니다 DependencyObject. 종속성 속성에는 인스턴스 속성, 메타 속성 및 연결된 속성의 세 가지 종류가 있습니다. 이 클래스는 상속할 수 없습니다.

public ref class DependencyProperty sealed : System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class DependencyProperty : System.Runtime.Serialization.ISerializable
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class DependencyProperty : System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type DependencyProperty = class
    interface ISerializable
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type DependencyProperty = class
    interface ISerializable
Public NotInheritable Class DependencyProperty
Implements ISerializable
상속
DependencyProperty
특성
구현

설명

Note

이 재질에서는 사용되지 않는 형식 및 네임스페이스에 대해 설명합니다. 자세한 내용은 Windows Workflow Foundation 4.5 참조하세요.

종속성 속성은 세 가지 사용 사례를 지원합니다. 먼저 종속성 속성을 사용하여 활동의 인스턴스 속성을 구현하는 경우 해당 속성을 실제 값 대신 할당 ActivityBind 할 수 있습니다. 둘째, 메타데이터인 작업 속성(즉, 런타임에 값을 변경할 수 없음)은 종속성 속성을 사용하여 옵션을 지정하여 Metadata 구현해야 합니다. 셋째, 종속성 속성은 종속성 개체에 동적으로 적용되는 속성인 연결된 속성을 지원합니다.

속성

Name Description
DefaultMetadata
사용되지 않음.

이에 PropertyMetadataDependencyProperty대한 사용자 정의 데이터를 나타내는 데이터를 가져옵니다.

IsAttached
사용되지 않음.

등록에 연결되어 DependencyObject 있는지 여부를 DependencyProperty 나타내는 속성을 가져옵니다.

IsEvent
사용되지 않음.

이벤트Delegate인지 여부를 DependencyProperty 나타내는 속성을 가져옵니다.

Name
사용되지 않음.

의 값을 NameDependencyProperty가져옵니다.

OwnerType
사용되지 않음.

의 값을 TypeDependencyProperty가져옵니다.

PropertyType
사용되지 않음.

Type 저장된 값의 값을 DependencyProperty가져옵니다.

ValidatorType
사용되지 않음.

에 해당하는 Type 구현 유효성 검사 논리를 DependencyProperty가져옵니다.

메서드

Name Description
Equals(Object)
사용되지 않음.

지정한 개체와 현재 개체가 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
FromName(String, Type)
사용되지 않음.

OwnerType에 따라 등록된 DependencyProperty 값을 Name 가져옵니다.

FromType(Type)
사용되지 않음.

IList 특정 Type에 속하는 형식 DependencyProperty 을 만듭니다.

GetHashCode()
사용되지 않음.

이 인스턴스의 해시 코드를 반환합니다.

GetType()
사용되지 않음.

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()
사용되지 않음.

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
Register(String, Type, Type, PropertyMetadata)
사용되지 않음.

입력 매개 변수에 따라 매개 변수가 있는 속성이 있는 클래스의 DependencyProperty 새 인스턴스를 초기화합니다.

Register(String, Type, Type)
사용되지 않음.

입력 매개 변수에 따라 매개 변수가 있는 속성이 있는 클래스의 DependencyProperty 새 인스턴스를 초기화합니다.

RegisterAttached(String, Type, Type, PropertyMetadata, Type)
사용되지 않음.

입력 매개 변수에 따라 매개 변수가 있는 속성이 있는 클래스의 DependencyProperty 새 인스턴스를 초기화합니다.

RegisterAttached(String, Type, Type, PropertyMetadata)
사용되지 않음.

입력 매개 변수에 따라 매개 변수가 있는 속성이 있는 클래스의 DependencyProperty 새 인스턴스를 초기화합니다.

RegisterAttached(String, Type, Type)
사용되지 않음.

입력 매개 변수에 따라 매개 변수가 있는 속성이 있는 클래스의 DependencyProperty 새 인스턴스를 초기화합니다. 이 인스턴스는 소유 형식의 개체가 아닌 다른 개체에 사용되는 속성을 선언하기 위한 것입니다.

ToString()
사용되지 않음.

속성 값을 반환하도록 메서드를 재정 Object 의합니다 Name .

명시적 인터페이스 구현

Name Description
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
사용되지 않음.

대상 개체를 SerializationInfo serialize하는 데 필요한 데이터로 채웁니다.

적용 대상