BehaviorService.CurrentBehavior Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Behavior at the top of the behavior stack without removing it.
public:
 property System::Windows::Forms::Design::Behavior::Behavior ^ CurrentBehavior { System::Windows::Forms::Design::Behavior::Behavior ^ get(); };public System.Windows.Forms.Design.Behavior.Behavior CurrentBehavior { get; }public System.Windows.Forms.Design.Behavior.Behavior? CurrentBehavior { get; }member this.CurrentBehavior : System.Windows.Forms.Design.Behavior.BehaviorPublic ReadOnly Property CurrentBehavior As BehaviorProperty Value
The Behavior at the top of the behavior stack.