共用方式為


PictureBox.SetVisibleCore Method

Sets the PictureBox to the specified visible state.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Protected Overrides Sub SetVisibleCore ( _
    value As Boolean _
)
protected override void SetVisibleCore(
    bool value
)

Parameters

  • value
    Type: System.Boolean

    true to make the control visible; otherwise, false.

Remarks

You would typically override this method to change the visibility behavior of the control.

Notes to Inheritors

When overriding SetVisibleCore in a derived class, be sure to call the base class's SetVisibleCore method to force the visibility of the control to change.

.NET Framework Security

See Also

Reference

PictureBox Class

Microsoft.Office.Tools.Excel.Controls Namespace