共用方式為


Glyph.SetBehavior(Behavior) 方法

定義

變更與 Behavior 相關聯的 Glyph

protected:
 void SetBehavior(System::Windows::Forms::Design::Behavior::Behavior ^ behavior);
protected void SetBehavior (System.Windows.Forms.Design.Behavior.Behavior behavior);
protected void SetBehavior (System.Windows.Forms.Design.Behavior.Behavior? behavior);
member this.SetBehavior : System.Windows.Forms.Design.Behavior.Behavior -> unit
Protected Sub SetBehavior (behavior As Behavior)

參數

behavior
Behavior

要與 Behavior 產生關聯的 Glyph

給繼承者的注意事項

方法 SetBehavior(Behavior) 的呼叫方式是繼承類別,以變更 Behavior 與 相關聯的 Glyph

適用於

另請參閱