C# 클래스 PsHandler.Custom.ExtensionMethods

파일 보기 프로젝트 열기: kampiuceris/PsHandler

공개 메소드들

메소드 설명
GetHandle ( this window ) : IntPtr
IsValid ( this point ) : bool
ResetColumnWidths ( this gridView ) : void
SetOwner ( this window, IntPtr owner ) : void
SetProperty ( this o, string propertyName, object property, bool setForChildren = false ) : void
SetWindowStylesForHud ( this window ) : void
ToBitmapSource ( this source ) : System.Windows.Media.Imaging.BitmapSource

Converts a System.Drawing.Image into a WPF BitmapSource.

ToBool ( this source ) : bool
ToInt ( this source ) : int

메소드 상세

GetHandle() 공개 정적인 메소드

public static GetHandle ( this window ) : IntPtr
window this
리턴 System.IntPtr

IsValid() 공개 정적인 메소드

public static IsValid ( this point ) : bool
point this
리턴 bool

ResetColumnWidths() 공개 정적인 메소드

public static ResetColumnWidths ( this gridView ) : void
gridView this
리턴 void

SetOwner() 공개 정적인 메소드

public static SetOwner ( this window, IntPtr owner ) : void
window this
owner System.IntPtr
리턴 void

SetProperty() 공개 정적인 메소드

public static SetProperty ( this o, string propertyName, object property, bool setForChildren = false ) : void
o this
propertyName string
property object
setForChildren bool
리턴 void

SetWindowStylesForHud() 공개 정적인 메소드

public static SetWindowStylesForHud ( this window ) : void
window this
리턴 void

ToBitmapSource() 공개 정적인 메소드

Converts a System.Drawing.Image into a WPF BitmapSource.
public static ToBitmapSource ( this source ) : System.Windows.Media.Imaging.BitmapSource
source this The source image.
리턴 System.Windows.Media.Imaging.BitmapSource

ToBool() 공개 정적인 메소드

public static ToBool ( this source ) : bool
source this
리턴 bool

ToInt() 공개 정적인 메소드

public static ToInt ( this source ) : int
source this
리턴 int