C# 클래스 Open.Core.Common.IconExtensions

Extensions for accessing icon images.
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
IsSilk ( this icon ) : bool

Determines whether the given icon flag is from the Silk icon set.

ToImage ( this icon ) : System.Image

Converts the icon to an Image.

ToImageSource ( this icon ) : BitmapImage

Converts the icon to an a value that can be used as the 'Source' of an Image.

ToUri ( this icon ) : Uri

Retrieves the path to the corresponding image file.

메소드 상세

IsSilk() 공개 정적인 메소드

Determines whether the given icon flag is from the Silk icon set.
public static IsSilk ( this icon ) : bool
icon this The flag of the icon to examine.
리턴 bool

ToImage() 공개 정적인 메소드

Converts the icon to an Image.
public static ToImage ( this icon ) : System.Image
icon this The flag of the icon to convert.
리턴 System.Image

ToImageSource() 공개 정적인 메소드

Converts the icon to an a value that can be used as the 'Source' of an Image.
public static ToImageSource ( this icon ) : BitmapImage
icon this The flag of the icon to convert.
리턴 BitmapImage

ToUri() 공개 정적인 메소드

Retrieves the path to the corresponding image file.
public static ToUri ( this icon ) : Uri
icon this The flag of the icon to convert.
리턴 System.Uri