ReadWriteControlDesigner.OnBehaviorAttached Metoda

Definicja

Przestroga

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

Dostarcza powiadomienie, które jest zgłaszane po dołączeniu zachowania do projektanta.

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

Uwagi

Uwaga

Metoda OnBehaviorAttached jest przestarzała. Zamiast tego użyj elementów członkowskich ControlDesigner.Tag właściwości . Na przykład użyj SetAttribute metod i GetAttribute we ControlDesigner.Tag właściwości , aby zamapować właściwości na style.

Dotyczy

Zobacz też