Constructor IconSet
IconSet(Image)
public IconSet(Image image)
Parameters
image
ImageThis image will be converted to icon and added to the set of icons.
IconSet(Stream)
Initializes a new instance of the IconSet class from the specified data stream.
public IconSet(Stream stream)
Parameters
stream
StreamThe data stream used to load the icon.
IconSet(string?, Uri?)
Initializes a new instance of the IconSet class from the specified url. See FromUrl(string) for the details.
public IconSet(string? url, Uri? baseUri = null)
Parameters
url
stringThe file or embedded resource url used to load the image.
baseUri
UriBase url. Optional. Used if
url
is relative.
Remarks
No exceptions are raised if error occurs during icon load. If DEBUG is defined, exception info is logged.
IconSet()
Initializes a new instance of the IconSet with default values.
public IconSet()