IconsShield Property

Shield (small version for the summary) Gets the Windows Shield icon displaying a red-green-blue-yellow shield (Sizes: 256x256, 128x128, 48x48, 32x32, 24x24, 16x16, 8x8)

See the online help for the icon images.

Definition

Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
C#
public static Icon Shield { get; }

Property Value

Icon

Remarks

  Note

This icon has the Windows Vista appearance on all platforms. To get an OS-specific appearance use the SystemShield property, which returns the UAC shield on Windows 7 and above. To get the OS-specific four-colored Windows shield on Window 7 and above, use the FromFile(String, Int32) method like this: Icons.FromFile("imageres", 1028)

Examples

The icon contains the following images:
Windows Shield 256x256Windows Shield 128x128Windows Shield 48x48Windows Shield 32x32Windows Shield 24x24Windows Shield 16x16Windows Shield 8x8

See Also