Property | Type | Description | |
---|---|---|---|
Fade | void | ||
loadImage | void | ||
updateLayout | void |
Method | Description | |
---|---|---|
HeaderPanel ( ) : System |
The default constructor.
|
Method | Description | |
---|---|---|
OnFontChanged ( |
Raises the Control.FontChanged event. This method updates the font of the label. |
|
OnResize ( |
Raises the Control.Reszie event. This forces the label to refresh if it hasn't already done so. |
|
resize ( Image p_imgSource, |
Resizes the source image to fit into the header. The piture box automatically sizes the image to fit; however, resizing ourselves gives us a significant performance advantage when creating the fade effect. |
Method | Description | |
---|---|---|
Fade ( ) : void |
Generates the fade effect.
|
|
loadImage ( ) : void |
Loads the image into the header, and adjust the picture box to display the image correctly.
|
|
updateLayout ( ) : void |
Positions the controls per the properties.
|
protected OnFontChanged ( |
||
e | An |
|
return | void |
protected OnResize ( |
||
e | An |
|
return | void |
protected resize ( Image p_imgSource, |
||
p_imgSource | Image | The image to resize. |
p_szeSize | The size to which to resize the image. | |
return |