SetWindowsFormsButtonShield Method

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Controls whether the shield icon is displayed for a button.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public static void SetWindowsFormsButtonShield(
	Button button,
	bool showShield
)
Visual Basic (Declaration)
Public Shared Sub SetWindowsFormsButtonShield ( _
	button As Button, _
	showShield As Boolean _
)
Visual C++
public:
static void SetWindowsFormsButtonShield(
	Button^ button, 
	bool showShield
)

Parameters

button
Type: System.Windows.Forms..::.Button
The button to set.
showShield
Type: System..::.Boolean
A value that indicates whether the shield icon is displayed.

See Also