DependencyObject クラス
定義
注意事項
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
依存関係プロパティを持つすべてのオブジェクトの基本クラス。The base class for all objects that have dependency properties. このクラスは継承できません。This class must be inherited.
public ref class DependencyObject abstract : IDisposable, System::ComponentModel::IComponent
public abstract class DependencyObject : IDisposable, System.ComponentModel.IComponent
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public abstract class DependencyObject : IDisposable, System.ComponentModel.IComponent
type DependencyObject = class
interface IComponent
interface IDisposable
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type DependencyObject = class
interface IComponent
interface IDisposable
Public MustInherit Class DependencyObject
Implements IComponent, IDisposable
- 継承
-
DependencyObject
- 派生
- 属性
- 実装
注釈
注意
ここでは、廃止された型と名前空間について説明します。This material discusses types and namespaces that are obsolete. 詳細については、「.NET 4.5 での Windows Workflow Foundation の新機能」を参照してください。For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
コンストラクター
DependencyObject() |
派生クラスとして実装された場合、DependencyObject クラスの新しいインスタンスを初期化します。When implemented in a derived class, initializes a new instance of the DependencyObject class. |
プロパティ
DesignMode |
このインスタンスがデザイン モードとランタイム モードのどちらであるかを示す値を取得します。Gets the value that indicates whether this instance is in design or run-time mode. |
ParentDependencyObject |
DependencyObject グラフにおける親 DependencyObject を取得します。Gets the parent DependencyObject in the DependencyObject graph. |
Site |
Site の DependencyObject コンポーネントの参照を取得または設定します。Gets or sets a reference to the Site component of the DependencyObject. |
UserData |
このクラス インスタンスにカスタム データを関連付ける IDictionary を取得します。Gets an IDictionary that associates custom data with this class instance. |
メソッド
AddHandler(DependencyProperty, Object) |
DependencyObject のイベントを処理するハンドラーを追加します。Adds a handler for an event of a DependencyObject. |
Dispose() |
DependencyObject によって使用されているすべてのリソースを解放します。Releases all the resources used by the DependencyObject. |
Dispose(Boolean) |
DependencyObject で使用されているアンマネージド リソースを解放します。オプションでマネージド リソースを解放します。Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject. |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object. (継承元 Object) |
Finalize() |
Finalize() に対するオーバーライドとなるもので、どのアンマネージ リソースも確定的にクリーンアップします。Provided as an override to Finalize() to clean up any unmanaged resources deterministically. |
GetBinding(DependencyProperty) |
特定の ActivityBind に関連付けられている DependencyProperty にアクセスできるようにします。Provides access to the ActivityBind associated with the specific DependencyProperty. |
GetBoundValue(ActivityBind, Type) |
Object のサブジェクトである ActivityBind を取得します。Retrieves the Object that is the subject of an ActivityBind. |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. (継承元 Object) |
GetInvocationList<T>(DependencyProperty) |
指定された DependencyProperty のデリゲートを格納する配列を取得します。Gets an array that contains the delegates for the specified DependencyProperty. |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
GetValue(DependencyProperty) |
指定した DependencyProperty の値にアクセスできるようにします。Provides access to the value of the designated DependencyProperty. |
GetValueBase(DependencyProperty) |
DependencyProperty のバインドされたオブジェクトにアクセスできるようにし、GetValue(DependencyProperty) オーバーライドを省略します。Provides access to the bound object of a DependencyProperty and bypasses the GetValue(DependencyProperty) override. |
InitializeProperties() |
依存関係プロパティを初期化するメソッドとして、派生クラスでオーバーライドします。Performs initialization on dependency properties when overridden in a derived class. |
IsBindingSet(DependencyProperty) |
DependencyProperty の値がバインディングとして設定されているかどうかを表します。Indicates whether the value of a DependencyProperty is set as a binding. 以下を参照してください。SetBinding(DependencyProperty, ActivityBind)See SetBinding(DependencyProperty, ActivityBind). |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 Object) |
MetaEquals(DependencyObject) |
この |
RemoveHandler(DependencyProperty, Object) |
関連付けられた EventHandler から DependencyProperty を削除します。Removes an EventHandler from an associated DependencyProperty. |
RemoveProperty(DependencyProperty) |
DependencyProperty から DependencyObject を削除します。Removes a DependencyProperty from the DependencyObject. |
SetBinding(DependencyProperty, ActivityBind) |
指定された ActivityBind の DependencyProperty を設定します。Sets the ActivityBind for the specified DependencyProperty. |
SetBoundValue(ActivityBind, Object) |
ターゲット ActivityBind の値を設定します。Sets the value of the target ActivityBind. |
SetReadOnlyPropertyValue(DependencyProperty, Object) |
読み取り専用である DependencyProperty の値を設定します。Sets the value of a DependencyProperty, which is read-only. |
SetValue(DependencyProperty, Object) |
DependencyProperty の値をオブジェクトに設定します。Sets the value of the DependencyProperty to the object. |
SetValueBase(DependencyProperty, Object) |
DependencyProperty を省略して、Object の値を指定した SetValue(DependencyProperty, Object) に設定します。Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue(DependencyProperty, Object). |
ToString() |
現在のオブジェクトを表す文字列を返します。Returns a string that represents the current object. (継承元 Object) |
明示的なインターフェイスの実装
IComponent.Disposed |
コンポーネントの Disposed イベントを処理するメソッドを表します。Represents the method that handles the Disposed event of a component. |