Adorner.BehaviorService Property

Definition

Gets or sets the BehaviorService associated with the Adorner.

public:
 property System::Windows::Forms::Design::Behavior::BehaviorService ^ BehaviorService { System::Windows::Forms::Design::Behavior::BehaviorService ^ get(); void set(System::Windows::Forms::Design::Behavior::BehaviorService ^ value); };
public System.Windows.Forms.Design.Behavior.BehaviorService BehaviorService { get; set; }
public System.Windows.Forms.Design.Behavior.BehaviorService? BehaviorService { get; set; }
member this.BehaviorService : System.Windows.Forms.Design.Behavior.BehaviorService with get, set
Public Property BehaviorService As BehaviorService

Property Value

The BehaviorService associated with the Adorner.

Remarks

When an Adorner is added to the BehaviorServiceAdornerCollection of the BehaviorService, the collection sets this property so that the Adorner can call back to the BehaviorService.

Applies to

See also