SystemIcons

public static class SystemIcons
Methods to get system icons for file types and static icons
obsoleteUse Eto.Drawing.SystemImages instead

Methods

GetFileIcon

#
public static Icon GetFileIcon(string fileName, IconSize size)
Gets a file icon for the specified file
Remarks: The file does not necessarily have to exist for the icon to be retrieved, though if it is a specific file then the platform may be able to return a file-specific icon if one is available.
fileName (string)Name of the file to get the icon for.
size (IconSize)Size of the icon.
The icon for the specified file name.

GetStaticIcon

#
public static Icon GetStaticIcon(StaticIconType type, IconSize size)
Gets a static system-defined icon for the specified type.
type (StaticIconType)Type of the static icon to retrieve.
size (IconSize)Size of the icon.
The static icon for the specified type.