Метод | Описание | |
---|---|---|
GetResourceUri ( string path ) : |
Returns the resource Uri given its local path in the project.
|
|
LoadImage ( string path ) : System.Windows.Media.ImageSource |
Loads an image resource given its relative path in the resources.
|
Метод | Описание | |
---|---|---|
GetAssemblyName ( ) : string |
public static GetResourceUri ( string path ) : |
||
path | string | The local path in the project. |
Результат |
public static LoadImage ( string path ) : System.Windows.Media.ImageSource | ||
path | string | The path of the resource to load. |
Результат | System.Windows.Media.ImageSource |