C# Class System.Windows.Forms.Label

Inheritance: Control
Mostra file Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Private Properties

Property Type Description
CalcAutoSize void
InternalGetPreferredSize System.Drawing.Size
OnHandleCreatedLB void
SetUseMnemonic void

Public Methods

Method Description
GetPreferredSize ( Size proposedSize ) : Size
Label ( ) : System
ToString ( ) : string

Protected Methods

Method Description
CalcImageRenderBounds ( Image image, Rectangle r, ContentAlignment align ) : Rectangle
CreateHandle ( ) : void
Dispose ( bool disposing ) : void
DrawImage ( Graphics g, Image image, Rectangle r, ContentAlignment align ) : void
OnAutoSizeChanged ( EventArgs e ) : void
OnEnabledChanged ( EventArgs e ) : void
OnFontChanged ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnPaddingChanged ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnParentChanged ( EventArgs e ) : void
OnRightToLeftChanged ( EventArgs e ) : void
OnTextAlignChanged ( EventArgs e ) : void
OnTextChanged ( EventArgs e ) : void
OnVisibleChanged ( EventArgs e ) : void
ProcessMnemonic ( char charCode ) : bool
SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void

Private Methods

Method Description
CalcAutoSize ( ) : void
InternalGetPreferredSize ( Size proposed ) : Size
OnHandleCreatedLB ( Object o, EventArgs e ) : void
SetUseMnemonic ( bool use ) : void

Method Details

CalcImageRenderBounds() protected method

protected CalcImageRenderBounds ( Image image, Rectangle r, ContentAlignment align ) : Rectangle
image System.Drawing.Image
r System.Drawing.Rectangle
align ContentAlignment
return System.Drawing.Rectangle

CreateHandle() protected method

protected CreateHandle ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DrawImage() protected method

protected DrawImage ( Graphics g, Image image, Rectangle r, ContentAlignment align ) : void
g System.Drawing.Graphics
image System.Drawing.Image
r System.Drawing.Rectangle
align ContentAlignment
return void

GetPreferredSize() public method

public GetPreferredSize ( Size proposedSize ) : Size
proposedSize System.Drawing.Size
return System.Drawing.Size

Label() public method

public Label ( ) : System
return System

OnAutoSizeChanged() protected method

protected OnAutoSizeChanged ( EventArgs e ) : void
e EventArgs
return void

OnEnabledChanged() protected method

protected OnEnabledChanged ( EventArgs e ) : void
e EventArgs
return void

OnFontChanged() protected method

protected OnFontChanged ( EventArgs e ) : void
e EventArgs
return void

OnHandleDestroyed() protected method

protected OnHandleDestroyed ( EventArgs e ) : void
e EventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( EventArgs e ) : void
e EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e EventArgs
return void

OnPaddingChanged() protected method

protected OnPaddingChanged ( EventArgs e ) : void
e EventArgs
return void

OnPaint() protected method

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

OnParentChanged() protected method

protected OnParentChanged ( EventArgs e ) : void
e EventArgs
return void

OnRightToLeftChanged() protected method

protected OnRightToLeftChanged ( EventArgs e ) : void
e EventArgs
return void

OnTextAlignChanged() protected method

protected OnTextAlignChanged ( EventArgs e ) : void
e EventArgs
return void

OnTextChanged() protected method

protected OnTextChanged ( EventArgs e ) : void
e EventArgs
return void

OnVisibleChanged() protected method

protected OnVisibleChanged ( EventArgs e ) : void
e EventArgs
return void

ProcessMnemonic() protected method

protected ProcessMnemonic ( char charCode ) : bool
charCode char
return bool

SetBoundsCore() protected method

protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int
y int
width int
height int
specified BoundsSpecified
return void

ToString() public method

public ToString ( ) : string
return string