Method | Description | |
---|---|---|
GetFolder ( string folderPath ) : |
||
ToComponentUri ( this resourcePath ) : |
Converts the path to a resource into a fully qualified component URI using the calling assembly (eg "/assembly;component/Images/MyImage.png").
|
|
ToComponentUri ( this resourcePath, |
Converts the path to a resource into a fully qualified component URI (eg "/assembly;component/Images/MyImage.png").
|
|
ToImage ( this source ) : System.Image |
Converts the given source to an Image.
|
|
ToImage ( this url, UriKind uriKind ) : System.Image |
Creates an image setting the 'Source' to the specified image path. To load images dynamicaly from the server use the following settings: |
|
ToImageSource ( this resourcePath ) : BitmapImage |
Converts the path to a resource into a fully qualified component URI (eg "/assembly;component/Images/MyImage.png") and loads it into a bitmap image which can be used as the 'Source' of an Image.
|
|
ToImageSource ( this resourcePath, |
Converts the path to a resource into a fully qualified component URI (eg "/assembly;component/Images/MyImage.png") and loads it into a bitmap image which can be used as the 'Source' of an Image.
|
|
ToImageSource ( this resourcePath, ImageLocation location ) : BitmapImage |
Converts the path to a resource into bitmap image which can be used as the 'Source' of an Image.
|
|
ToPathGeometry ( this self ) : |
Loads the given geometry data string as a XAML Path.. Don't forget to set the Fill and Stretch properties on the returned object. |
|
WriteToProjectFile ( this content, string folder, string fileName ) : void |
Writes the given string to a file within the executing application's folder.
|
Method | Description | |
---|---|---|
GetApplicationPath ( ) : string | ||
GetMatchingDirectory ( |
public static GetFolder ( string folderPath ) : |
||
folderPath | string | |
return |
public static ToComponentUri ( this resourcePath ) : |
||
resourcePath | this |
/// The path to the resource from the root of the project. /// This may, or may not, contain a leading '/' character. /// For example: "Images/MyImage.png" /// |
return |
public static ToComponentUri ( this resourcePath, |
||
resourcePath | this |
/// The path to the resource from the root of the project. /// This may, or may not, contain a leading '/' character. /// For example: "Images/MyImage.png" /// |
assembly | The assembly the resource is within. | |
return |
public static ToImage ( this source ) : System.Image | ||
source | this | The source of the image. |
return | System.Image |
public static ToImage ( this url, UriKind uriKind ) : System.Image | ||
url | this | The URL path to the image. |
uriKind | UriKind | The kind of URI passed in the 'url' string. |
return | System.Image |
public static ToImageSource ( this resourcePath ) : BitmapImage | ||
resourcePath | this |
/// The path to the resource from the root of the project. /// This may, or may not, contain a leading '/' character. /// For example: "Images/MyImage.png" /// |
return | BitmapImage |
public static ToImageSource ( this resourcePath, |
||
resourcePath | this |
/// The path to the resource from the root of the project. /// This may, or may not, contain a leading '/' character. /// For example: "Images/MyImage.png" /// |
assembly | The assembly the resource is within. | |
return | BitmapImage |
public static ToImageSource ( this resourcePath, ImageLocation location ) : BitmapImage | ||
resourcePath | this |
/// The path to the resource from the root of the project or the root of the ClientBin (depending on 'location'). /// |
location | ImageLocation | Flag indicating whether the image is packaged in the XAP on the client, or is in the ClientBin on the server. |
return | BitmapImage |
public static ToPathGeometry ( this self ) : |
||
self | this | The geometry data. |
return |
public static WriteToProjectFile ( this content, string folder, string fileName ) : void | ||
content | this | The content to write. |
folder | string | The path of the folder (starting at the name of the project folder). |
fileName | string | The name of the file |
return | void |