Uredi

Deli z drugimi prek


AxHost.Layout Event

Definition

The Layout event is not supported by the AxHost class.

public:
 event System::Windows::Forms::LayoutEventHandler ^ Layout;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.LayoutEventHandler Layout;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.LayoutEventHandler? Layout;
[<System.ComponentModel.Browsable(false)>]
member this.Layout : System.Windows.Forms.LayoutEventHandler 
Public Custom Event Layout As LayoutEventHandler 

Event Type

Attributes

Remarks

If you attempt to add or remove a handler for the Layout event, a NotSupportedException is thrown. The events derived from the Control class are not supported by the AxHost class. The events exposed by the ActiveX control when the AxHost wrapper is created are the events that should be used.

Applies to