|
이 문서는 기계로 번역한 것입니다. 원본 텍스트를 보려면 포인터를 문서의 문장 위로 올리십시오. 추가 정보
|
번역
원본
|
DependencyObject 클래스
네임스페이스: System.Windows
어셈블리: WindowsBase(WindowsBase.dll)
XAML의 XMLNS: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
DependencyObject 형식에서는 다음과 같은 멤버를 노출합니다.
| 이름 | 설명 | |
|---|---|---|
![]() | DependencyObjectType | |
![]() | Dispatcher | |
![]() | IsSealed |
| 이름 | 설명 | |
|---|---|---|
![]() | CheckAccess | |
![]() | ClearValue(DependencyProperty) | |
![]() | ClearValue(DependencyPropertyKey) | |
![]() | CoerceValue | |
![]() | Equals | |
![]() | Finalize | 가비지 수집자 에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. |
![]() | GetHashCode | |
![]() | GetLocalValueEnumerator | |
![]() | GetType | |
![]() | GetValue | |
![]() | InvalidateProperty | |
![]() | MemberwiseClone | |
![]() | OnPropertyChanged | |
![]() | ReadLocalValue | |
![]() | SetCurrentValue | |
![]() | SetValue(DependencyProperty, Object) | |
![]() | SetValue(DependencyPropertyKey, Object) | |
![]() | ShouldSerializeProperty | |
![]() | ToString | |
![]() | VerifyAccess |
종속성 속성 호스팅 지원입니다. 등록은 종속성 속성 를 호출 하 여는 Register 메서드와 해당 메서드의 반환 값을 클래스에 공용 정적 필드로 저장 합니다. 연결 된 속성 호스팅 지원입니다. 등록은 연결 된 속성 를 호출 하 여는 RegisterAttached 메서드 및 메서드의 반환 값을 공용 정적 읽기 전용 필드를 클래스에서 이름으로 저장 합니다. (또한 추가 멤버 요구 사항이 있습니다. 나타내는 참고는 WPF 연결 된 속성에 대 한 특정 구현입니다. 자세한 내용은 연결된 속성 개요입니다.) 다음에서 파생 되는 클래스에 연결 된 속성을 설정할 수 있습니다 DependencyObject. Get, set 및 지우기 모든 값에 대 한 유틸리티 메서드를 종속성 속성 의 존재는 DependencyObject. 메타 데이터, 강제 값 지원, 속성 변경 알림 및 재정의 콜백에 대 한 종속성 속성이 또는 연결 된 속성. 또한,는 DependencyObject 클래스 마다 소유자 속성 메타 데이터가 종속성 속성에 대 한 용이 하 게 합니다. 클래스에 대 한 공용 기본 클래스에서 파생 된 ContentElement, Freezable, 또는 Visual. (UIElement, 다른 기본 요소 클래스에서이 포함 하는 클래스 계층 구조 Visual입니다.)
public abstract class AquariumObject3 : DependencyObject { public enum Bouyancy { Floats, Sinks, Drifts } public static readonly DependencyProperty BouyancyProperty = DependencyProperty.RegisterAttached( "Bouyancy", typeof(Bouyancy), typeof(AquariumObject3), new FrameworkPropertyMetadata(Bouyancy.Floats, FrameworkPropertyMetadataOptions.AffectsArrange), new ValidateValueCallback(ValidateBouyancy) ); public static void SetBouyancy(UIElement element, Bouyancy value) { element.SetValue(BouyancyProperty, value); } public static Bouyancy GetBouyancy(UIElement element) { return (Bouyancy)element.GetValue(BouyancyProperty); } private static bool ValidateBouyancy(object value) { Bouyancy bTest = (Bouyancy) value; return (bTest == Bouyancy.Floats || bTest == Bouyancy.Drifts || bTest==Bouyancy.Sinks); } public static readonly DependencyProperty IsDirtyProperty = DependencyProperty.Register( "IsDirty", typeof(Boolean), typeof(AquariumObject3) ); }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008(서버 코어 역할은 지원되지 않음), Windows Server 2008 R2(서버 코어 역할은 SP1 이상에서 지원, Itanium은 지원되지 않음)
.NET Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.ContentElement
System.Windows.Controls.DataGridColumn
System.Windows.Controls.GridViewColumn
System.Windows.Controls.Ribbon.Primitives.StarLayoutInfo
System.Windows.Controls.TextSearch
System.Windows.Controls.ViewBase
System.Windows.Data.BindingGroup
System.Windows.Data.CollectionContainer
System.Windows.Data.CollectionViewSource
System.Windows.Freezable
System.Windows.Ink.GestureRecognizer
System.Windows.Media.Media3D.Visual3D
System.Windows.Media.Visual
System.Windows.Navigation.JournalEntry
System.Windows.TriggerAction
System.Windows.TriggerBase
System.Windows.VisualState
System.Windows.VisualStateGroup
System.Windows.VisualStateManager
System.Windows.VisualTransition
