DependencyObject Classe

Definição

Cuidado

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

A classe base de todos os objetos que têm propriedades de dependência.The base class for all objects that have dependency properties. Essa classe deve ser herdada.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
Herança
DependencyObject
Derivado
Atributos
Implementações

Comentários

Observação

Este material discute tipos e namespaces obsoletos.This material discusses types and namespaces that are obsolete. Para obter mais informações, consulte Deprecated Types in Windows Workflow Foundation 4.5 (Tipos preteridos no Windows Workflow Foundation 4.5).For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Construtores

DependencyObject()

Quando implementado em uma classe derivada, inicializa uma nova instância da classe DependencyObject.When implemented in a derived class, initializes a new instance of the DependencyObject class.

Propriedades

DesignMode

Obtém o valor que indica se esta instância está em modo de design ou de tempo de execução.Gets the value that indicates whether this instance is in design or run-time mode.

ParentDependencyObject

Obtém o DependencyObject pai no grafo DependencyObject.Gets the parent DependencyObject in the DependencyObject graph.

Site

Obtém ou define uma referência ao componente Site do DependencyObject.Gets or sets a reference to the Site component of the DependencyObject.

UserData

Obtém um IDictionary que associa dados personalizados a essa instância de classe.Gets an IDictionary that associates custom data with this class instance.

Métodos

AddHandler(DependencyProperty, Object)

Adiciona um manipulador para um evento de um DependencyObject.Adds a handler for an event of a DependencyObject.

Dispose()

Libera todos os recursos usados pelo DependencyObject.Releases all the resources used by the DependencyObject.

Dispose(Boolean)

Libera os recursos não gerenciados usados e opcionalmente os gerenciados usados pelo DependencyObject.Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
Finalize()

Fornecido como uma substituição para Finalize() para limpar todos os recursos não gerenciados de forma determinística.Provided as an override to Finalize() to clean up any unmanaged resources deterministically.

GetBinding(DependencyProperty)

Fornece acesso para ao ActivityBind associado ao DependencyProperty específico.Provides access to the ActivityBind associated with the specific DependencyProperty.

GetBoundValue(ActivityBind, Type)

Recupera o Object que é a entidade de um ActivityBind.Retrieves the Object that is the subject of an ActivityBind.

GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetInvocationList<T>(DependencyProperty)

Obtém uma matriz que contém os delegados para o DependencyProperty especificado.Gets an array that contains the delegates for the specified DependencyProperty.

GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
GetValue(DependencyProperty)

Fornece acesso ao valor do DependencyProperty designado.Provides access to the value of the designated DependencyProperty.

GetValueBase(DependencyProperty)

Fornece acesso ao objeto associado de um DependencyProperty e ignora a substituição de GetValue(DependencyProperty).Provides access to the bound object of a DependencyProperty and bypasses the GetValue(DependencyProperty) override.

InitializeProperties()

Executa a inicialização nas propriedades de dependência quando substituído em uma classe derivada.Performs initialization on dependency properties when overridden in a derived class.

IsBindingSet(DependencyProperty)

Indica se o valor de um DependencyProperty é definido como uma associação.Indicates whether the value of a DependencyProperty is set as a binding. Consulte SetBinding(DependencyProperty, ActivityBind).See SetBinding(DependencyProperty, ActivityBind).

MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
MetaEquals(DependencyObject)

Determina se o metaproperties deste DependencyObject é igual a metaproperties do DependencyObject com parâmetros.Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.

RemoveHandler(DependencyProperty, Object)

Remove um EventHandler de um DependencyProperty associado.Removes an EventHandler from an associated DependencyProperty.

RemoveProperty(DependencyProperty)

Remove um DependencyProperty do DependencyObject.Removes a DependencyProperty from the DependencyObject.

SetBinding(DependencyProperty, ActivityBind)

Define o ActivityBind para o DependencyProperty especificado.Sets the ActivityBind for the specified DependencyProperty.

SetBoundValue(ActivityBind, Object)

Define o valor do ActivityBind de destino.Sets the value of the target ActivityBind.

SetReadOnlyPropertyValue(DependencyProperty, Object)

Define o valor de um DependencyProperty, que é somente leitura.Sets the value of a DependencyProperty, which is read-only.

SetValue(DependencyProperty, Object)

Define o valor do DependencyProperty para o objeto.Sets the value of the DependencyProperty to the object.

SetValueBase(DependencyProperty, Object)

Define o valor da DependencyProperty usando o Object especificado, ignorando o SetValue(DependencyProperty, Object).Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue(DependencyProperty, Object).

ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Implantações explícitas de interface

IComponent.Disposed

Representa o método que manipula o evento Disposed de um componente.Represents the method that handles the Disposed event of a component.

Aplica-se a