HtmlControlDesigner.OnBehaviorAttached Método

Definición

Precaución

The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202

Se le llama cuando un comportamiento está asociado al elemento.

protected:
 virtual void OnBehaviorAttached();
protected virtual void OnBehaviorAttached ();
[System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void OnBehaviorAttached ();
abstract member OnBehaviorAttached : unit -> unit
override this.OnBehaviorAttached : unit -> unit
[<System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member OnBehaviorAttached : unit -> unit
override this.OnBehaviorAttached : unit -> unit
Protected Overridable Sub OnBehaviorAttached ()
Atributos

Comentarios

Nota

El OnBehaviorAttached método está obsoleto. Use los SetAttribute métodos y GetAttribute de la Tag propiedad para asignar propiedades a estilos. Use el GetDesignTimeCssAttributes método de la ContainerControlDesigner clase para establecer estilos para el control en tiempo de diseño. Invalide el Initialize método para manipular los estilos iniciales del control en tiempo de diseño.

Notas a los desarrolladores de herederos

El OnBehaviorAttached() método se puede invalidar e implementar para realizar un procesamiento adicional cuando se adjunta un comportamiento al diseñador.

Se aplica a

Consulte también