System.Windows.Forms.AxHost.OcxState Property

Gets or sets the persisted state of the ActiveX control.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ComponentModel.DefaultValue(null)]
[System.ComponentModel.Browsable(false)]
public AxHost.State OcxState { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The value of the AxHost.OcxState property is used after the control is created but before it is shown. The persisted state of the underlying ActiveX control is returned in the System.Windows.Forms.AxHost.State.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0