C# Class Standard.Utility

Mostrar archivo Open project: MahApps/MahApps.Metro Class Usage Examples

Private Methods

Method Description
AddDependencyPropertyChangeListener ( object component, DependencyProperty property, EventHandler listener ) : void
AlphaRGB ( Color c ) : int
AreImageSourcesEqual ( System.Windows.Media.ImageSource left, System.Windows.Media.ImageSource right ) : bool
ColorFromArgbDword ( uint color ) : Color
GenerateBitmapSource ( System.Windows.Media.ImageSource img ) : System.Windows.Media.Imaging.BitmapSource
GenerateBitmapSource ( System.Windows.Media.ImageSource img, double renderWidth, double renderHeight ) : System.Windows.Media.Imaging.BitmapSource
GenerateBitmapSource ( UIElement element, double renderWidth, double renderHeight, bool performLayout ) : System.Windows.Media.Imaging.BitmapSource
GenerateHICON ( System.Windows.Media.ImageSource image, Size dimensions ) : IntPtr
GetBestMatch ( IList frames, int width, int height ) : System.Windows.Media.Imaging.BitmapFrame
GetBytesFromBitmapSource ( System.Windows.Media.Imaging.BitmapSource bmp ) : byte[]
IsNonNegative ( this thickness ) : bool
IsValid ( this cornerRadius ) : bool
RGB ( Color c ) : int
RemoveDependencyPropertyChangeListener ( object component, DependencyProperty property, EventHandler listener ) : void
SaveToPng ( System.Windows.Media.Imaging.BitmapSource source, string fileName ) : void
_GetBestMatch ( IList frames, int bitDepth, int width, int height ) : System.Windows.Media.Imaging.BitmapFrame
_GetBitDepth ( ) : int
_MatchImage ( System.Windows.Media.Imaging.BitmapFrame frame, int bitDepth, int width, int height, int bpp ) : int
_WeightedAbs ( int valueHave, int valueWant, bool fPunish ) : int