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) 继承类来调用 方法,以更改 BehaviorGlyph关联的 。

适用于

另请参阅