 |
ViewModelBaseConvertFrom Method |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Converts a image URI to an image source.
Namespace:
WeroSoft.Windows
Assembly:
WeroSoft.Windows.Library (in WeroSoft.Windows.Library.dll) Version: 3.0 Pre-Release
Syntaxpublic static ImageSource ConvertFrom(
string imageUri
)
Parameters
- imageUri
- Type: SystemString
Image URI.
Return Value
Type:
ImageSourceThe image source.
ExceptionsException | Condition |
---|
NotSupportedException | The exception thrown from the underlaying image converter if the image could not be converted successfully. |
ArgumentNullException | If the given string is null, empty or contains only white spaces. |
See Also