C# Класс ComponentFactory.Krypton.Toolkit.KryptonWrapLabel

Наследование: System.Windows.Forms.Label
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

ContextMenuClosed() защищенный Метод

Called when a context menu has just been closed.
protected ContextMenuClosed ( ) : void
Результат void

CreateRedirector() защищенный Метод

Create the redirector instance.
protected CreateRedirector ( ) : PaletteRedirect
Результат PaletteRedirect

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

KryptonWrapLabel() публичный Метод

Initialize a new instance of the KryptonWrapLabel class.
public KryptonWrapLabel ( ) : System
Результат System

OnPaint() защищенный Метод

Raises the Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs An EventArgs containing the event data.
Результат void

OnPaintBackground() защищенный Метод

Raises the PaintBackground event.
protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs An PaintEventArgs containing the event data.
Результат void

OnPaletteChanged() защищенный Метод

Raises the PaletteChanged event.
protected OnPaletteChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

ProcessCmdKey() защищенный Метод

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.
Результат bool

ResetPalette() публичный Метод

Resets the Palette property to its default value.
public ResetPalette ( ) : void
Результат void

ResetPaletteMode() публичный Метод

Resets the PaletteMode property to its default value.
public ResetPaletteMode ( ) : void
Результат void

SetLabelStyle() защищенный Метод

Update the view elements based on the requested label style.
protected SetLabelStyle ( LabelStyle style ) : void
style LabelStyle New label style.
Результат void

UpdateGlobalEvents() защищенный Метод

Update global event attachments.
protected UpdateGlobalEvents ( bool attach ) : void
attach bool True if attaching; otherwise false.
Результат void

WndProc() защищенный Метод

Process Windows-based messages.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message A Windows-based message.
Результат void