C# 클래스 Microsoft.Phone.Controls.Extensions

This set of internal extension methods provide general solutions and utilities in a small enough number to not warrant a dedicated extension methods class.
파일 보기 프로젝트 열기: nokiadatagathering/WP7-Official

공개 메소드들

메소드 설명
Contains ( this s, string value, System.StringComparison comparison ) : bool

An implementation of the Contains member of string that takes in a string comparison. The traditional .NET string Contains member uses StringComparison.Ordinal.

Invert ( this m, Matrix &outputMatrix ) : bool

Inverts a Matrix. The Invert functionality on the Matrix type is internal to the framework only. Since Matrix is a struct, an out parameter must be presented.

IsDarkThemeActive ( this resources ) : bool

Returns whether the dark visual theme is currently active.

IsExternalNavigation ( this uri ) : bool

Returns whether the uri is from an external source.

IsPortrait ( this orientation ) : bool

Returns whether the page orientation is in portrait.

RegisterNotification ( this element, string propertyName, PropertyChangedCallback callback ) : void

Registers a property changed callback for a given property.

This allows a child to be notified of when a property declared in its parent is changed.

메소드 상세

Contains() 공개 정적인 메소드

An implementation of the Contains member of string that takes in a string comparison. The traditional .NET string Contains member uses StringComparison.Ordinal.
public static Contains ( this s, string value, System.StringComparison comparison ) : bool
s this The string.
value string The string value to search for.
comparison System.StringComparison The string comparison type.
리턴 bool

Invert() 공개 정적인 메소드

Inverts a Matrix. The Invert functionality on the Matrix type is internal to the framework only. Since Matrix is a struct, an out parameter must be presented.
public static Invert ( this m, Matrix &outputMatrix ) : bool
m this The Matrix object.
outputMatrix Matrix The matrix to return by an output /// parameter.
리턴 bool

IsDarkThemeActive() 공개 정적인 메소드

Returns whether the dark visual theme is currently active.
public static IsDarkThemeActive ( this resources ) : bool
resources this Resource Dictionary
리턴 bool

IsExternalNavigation() 공개 정적인 메소드

Returns whether the uri is from an external source.
public static IsExternalNavigation ( this uri ) : bool
uri this The uri
리턴 bool

IsPortrait() 공개 정적인 메소드

Returns whether the page orientation is in portrait.
public static IsPortrait ( this orientation ) : bool
orientation this Page orientation
리턴 bool

RegisterNotification() 공개 정적인 메소드

Registers a property changed callback for a given property.
This allows a child to be notified of when a property declared in its parent is changed.
public static RegisterNotification ( this element, string propertyName, PropertyChangedCallback callback ) : void
element this The element registering the notification
propertyName string Property name to register
callback PropertyChangedCallback Callback function
리턴 void