IconsShield Property

Gets the Windows Shield icon displaying a red-green-blue-yellow shield (Sizes: 256x256, 128x128, 48x48, 32x32, 24x24, 16x16, 8x8)
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
public static Icon Shield { get; }
Public Shared ReadOnly Property Shield As Icon
Get
public:
static property Icon^ Shield {
Icon^ get ();
}
static member Shield : Icon with get
Property Value
Icon 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)