C# Class ComponentFactory.Krypton.Toolkit.KryptonWrapLabel

Inheritance: System.Windows.Forms.Label
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
AttachGlobalEvents void
CreateToolStripRenderer System.Windows.Forms.ToolStripRenderer
GetResolvedPalette IPalette
NeedPaint void
NeedPaint void
OnBaseChanged void
OnContextMenuClosed void
OnContextMenuStripOpening void
OnGlobalPaletteChanged void
OnKryptonContextMenuDisposed void
OnPaletteNeedPaint void
OnUserPreferenceChanged void
ResetLabelStyle void
SetPalette void
ShouldSerializeLabelStyle bool
ShouldSerializePaletteMode bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
UnattachGlobalEvents void
UpdateFont void

Méthodes publiques

Méthode Description
KryptonWrapLabel ( ) : System

Initialize a new instance of the KryptonWrapLabel class.

ResetPalette ( ) : void

Resets the Palette property to its default value.

ResetPaletteMode ( ) : void

Resets the PaletteMode property to its default value.

Méthodes protégées

Méthode Description
ContextMenuClosed ( ) : void

Called when a context menu has just been closed.

CreateRedirector ( ) : PaletteRedirect

Create the redirector instance.

Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

Raises the Paint event.

OnPaintBackground ( PaintEventArgs pevent ) : void

Raises the PaintBackground event.

OnPaletteChanged ( EventArgs e ) : void

Raises the PaletteChanged event.

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Processes a command key.

SetLabelStyle ( LabelStyle style ) : void

Update the view elements based on the requested label style.

UpdateGlobalEvents ( bool attach ) : void

Update global event attachments.

WndProc ( Message &m ) : void

Process Windows-based messages.

Private Methods

Méthode Description
AttachGlobalEvents ( ) : void
CreateToolStripRenderer ( ) : System.Windows.Forms.ToolStripRenderer
GetResolvedPalette ( ) : IPalette
NeedPaint ( NeedLayoutEventArgs e ) : void
NeedPaint ( bool layout ) : void
OnBaseChanged ( object sender, EventArgs e ) : void
OnContextMenuClosed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void
OnContextMenuStripOpening ( object sender, CancelEventArgs e ) : void
OnGlobalPaletteChanged ( object sender, EventArgs e ) : void
OnKryptonContextMenuDisposed ( object sender, EventArgs e ) : void
OnPaletteNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void
ResetLabelStyle ( ) : void
SetPalette ( IPalette palette ) : void
ShouldSerializeLabelStyle ( ) : bool
ShouldSerializePaletteMode ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
UnattachGlobalEvents ( ) : void
UpdateFont ( ) : void

Method Details

ContextMenuClosed() protected méthode

Called when a context menu has just been closed.
protected ContextMenuClosed ( ) : void
Résultat void

CreateRedirector() protected méthode

Create the redirector instance.
protected CreateRedirector ( ) : PaletteRedirect
Résultat PaletteRedirect

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

KryptonWrapLabel() public méthode

Initialize a new instance of the KryptonWrapLabel class.
public KryptonWrapLabel ( ) : System
Résultat System

OnPaint() protected méthode

Raises the Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs An EventArgs containing the event data.
Résultat void

OnPaintBackground() protected méthode

Raises the PaintBackground event.
protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs An PaintEventArgs containing the event data.
Résultat void

OnPaletteChanged() protected méthode

Raises the PaletteChanged event.
protected OnPaletteChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Résultat void

ProcessCmdKey() protected méthode

Processes a command key.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message A Message, passed by reference, that represents the window message to process.
keyData Keys One of the Keys values that represents the key to process.
Résultat bool

ResetPalette() public méthode

Resets the Palette property to its default value.
public ResetPalette ( ) : void
Résultat void

ResetPaletteMode() public méthode

Resets the PaletteMode property to its default value.
public ResetPaletteMode ( ) : void
Résultat void

SetLabelStyle() protected méthode

Update the view elements based on the requested label style.
protected SetLabelStyle ( LabelStyle style ) : void
style LabelStyle New label style.
Résultat void

UpdateGlobalEvents() protected méthode

Update global event attachments.
protected UpdateGlobalEvents ( bool attach ) : void
attach bool True if attaching; otherwise false.
Résultat void

WndProc() protected méthode

Process Windows-based messages.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message A Windows-based message.
Résultat void