DataGridView.SetVisibleCore Method
Sets the DataGridView 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.Booleantrue 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.