AxHost.OcxState Propriété

Définition

Obtient ou définit l'état persistant du contrôle ActiveX.

public:
 property System::Windows::Forms::AxHost::State ^ OcxState { System::Windows::Forms::AxHost::State ^ get(); void set(System::Windows::Forms::AxHost::State ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.AxHost.State OcxState { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.OcxState : System.Windows.Forms.AxHost.State with get, set
Public Property OcxState As AxHost.State

Valeur de propriété

AxHost.State

AxHost.State représentant l'état persistant du contrôle ActiveX.

Attributs

Exceptions

Le contrôle ActiveX est déjà chargé.

Remarques

La valeur de la OcxState propriété est utilisée une fois le contrôle créé, mais avant qu’il ne s’affiche. L’état persistant du contrôle ActiveX sous-jacent est retourné dans le AxHost.State.

S’applique à

Voir aussi