C# Класс PsHandler.Custom.ExtensionMethods

Показать файл Открыть проект

Открытые методы

Метод Описание
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