C# Class WindowlessControls.WindowlessImage

Inheritance: WindowlessPaintControl
Show file Open project: koush/WindowlessControls Class Usage Examples

Public Methods

Method Description
MeasureUnpadded ( Size bounds, bool boundsChange ) : bool
WindowlessImage ( ) : System
WindowlessImage ( PlatformBitmap bitmap ) : System
WindowlessImage ( PlatformBitmap bitmap, Stretch stretch ) : System
WindowlessImage ( PlatformBitmap bitmap, Stretch stretch, Thickness margin ) : System

Protected Methods

Method Description
OnPaint ( WindowlessPaintEventArgs e ) : void

Private Methods

Method Description
BitmapChanged ( object sender, DependencyPropertyEventArgs e ) : void

Method Details

MeasureUnpadded() public method

public MeasureUnpadded ( Size bounds, bool boundsChange ) : bool
bounds System.Drawing.Size
boundsChange bool
return bool

OnPaint() protected method

protected OnPaint ( WindowlessPaintEventArgs e ) : void
e WindowlessPaintEventArgs
return void

WindowlessImage() public method

public WindowlessImage ( ) : System
return System

WindowlessImage() public method

public WindowlessImage ( PlatformBitmap bitmap ) : System
bitmap PlatformBitmap
return System

WindowlessImage() public method

public WindowlessImage ( PlatformBitmap bitmap, Stretch stretch ) : System
bitmap PlatformBitmap
stretch Stretch
return System

WindowlessImage() public method

public WindowlessImage ( PlatformBitmap bitmap, Stretch stretch, Thickness margin ) : System
bitmap PlatformBitmap
stretch Stretch
margin Thickness
return System