ReadWriteControlDesigner.OnBehaviorAttached Yöntem

Tanım

Dikkat

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

Tasarımcıya bir davranış eklendiğinde tetiklenen bildirim sağlar.

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 ()
Öznitelikler

Açıklamalar

Note

OnBehaviorAttached Yöntemi kullanımdan kaldırıldı. Bunun yerine özelliğinin üyelerini ControlDesigner.Tag kullanın. Örneğin, özellikleri stiller ile eşlemek için özelliğindeki SetAttribute ve GetAttribute yöntemlerini kullanınControlDesigner.Tag.

Şunlara uygulanır

Ayrıca bkz.