C# 클래스 ComponentFactory.Krypton.Toolkit.VisualForm

상속: System.Windows.Forms.Form, IKryptonDebug
파일 보기 프로젝트 열기: ComponentFactory/Krypton

Private Properties

프로퍼티 타입 설명
CreateToolStripRenderer System.Windows.Forms.ToolStripRenderer
GetResolvedPalette IPalette
KryptonResetCounters void
OnBaseChanged void
OnGlobalPaletteChanged void
OnUserPreferenceChanged void
PerformNeedPaint void
RecalculateComposition void
SendSysCommand void
SendSysCommand void
SetPalette void
ShouldSerializePaletteMode bool
UpdateComposition void
VisualForm System

공개 메소드들

메소드 설명
InvalidateNonClient ( ) : void

Request the non-client area be repainted.

RecalcNonClient ( ) : void

Request the non-client area be recalculated.

RedrawNonClient ( ) : void

Request the non-client area be repainted.

ResetPalette ( ) : void

Resets the Palette property to its default value.

ResetPaletteMode ( ) : void

Resets the PaletteMode property to its default value.

WindowChromeCompositionLayout ( ViewLayoutContext context, Rectangle compRect ) : void

Perform layout on behalf of the composition element using our root element.

WindowChromeCompositionPaint ( RenderContext context ) : void

Perform painting on behalf of the composition element using our root element.

보호된 메소드들

메소드 설명
CreateRedirector ( ) : PaletteRedirect

Create the redirector instance.

Dispose ( bool disposing ) : void

Releases all resources used by the Control.

InvalidateNonClient ( Rectangle invalidRect ) : void

Request the non-client area be repainted.

InvalidateNonClient ( Rectangle invalidRect, bool excludeClientArea ) : void

Request the non-client area be repainted.

OnActivated ( EventArgs e ) : void

Raises the Activated event.

OnAllowFormChromeChanged ( object sender, EventArgs e ) : void

Occurs when the AllowFormChromeChanged event is fired for the current palette.

OnApplyCustomChromeChanged ( EventArgs e ) : void

Raises the ApplyCustomChrome event.

OnButtonSpecChanged ( object sender, EventArgs e ) : void

Processes a notification from palette storage of a button spec change.

OnCompWM_NCHITTEST ( Message &m ) : bool

Process the WM_NCHITTEST message when overriding window chrome.

OnDeactivate ( EventArgs e ) : void

Raises the Deactivate event.

OnHandleCreated ( EventArgs e ) : void

Raises the HandleCreated event.

OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void

Processes a notification from palette storage of a paint and optional layout required.

OnNonClientPaint ( IntPtr hWnd ) : void

Perform chrome window painting in the non-client areas.

OnPaintBackground ( PaintEventArgs e ) : void

Raises the PaintBackground event.

OnPaintNonClient ( Message &m ) : bool

Process a windows message that requires the non client area be repainted.

OnPaletteChanged ( EventArgs e ) : void

Raises the PaletteChanged event.

OnResize ( EventArgs e ) : void

Raises the Resize event.

OnShown ( EventArgs e ) : void

Raises the Shown event.

OnWM_LBUTTONUP ( Message &m ) : bool

Process the WM_LBUTTONUP message when overriding window chrome.

OnWM_MOUSEMOVE ( Message &m ) : bool

Process the OnWM_MOUSEMOVE message when overriding window chrome.

OnWM_NCACTIVATE ( Message &m ) : bool

Process the WM_NCACTIVATE message when overriding window chrome.

OnWM_NCCALCSIZE ( Message &m ) : bool

Process the WM_NCCALCSIZE message when overriding window chrome.

OnWM_NCHITTEST ( Message &m ) : bool

Process the WM_NCHITTEST message when overriding window chrome.

OnWM_NCLBUTTONDBLCLK ( Message &m ) : bool

Process the WM_NCLBUTTONDBLCLK message when overriding window chrome.

OnWM_NCLBUTTONDOWN ( Message &m ) : bool

Process the WM_NCLBUTTONDOWN message when overriding window chrome.

OnWM_NCLBUTTONUP ( Message &m ) : bool

Process the WM_LBUTTONUP message when overriding window chrome.

OnWM_NCMOUSELEAVE ( Message &m ) : bool

Process the WM_NCMOUSELEAVE message when overriding window chrome.

OnWM_NCMOUSEMOVE ( Message &m ) : bool

Process the WM_NCMOUSEMOVE message when overriding window chrome.

OnWM_NCPAINT ( Message &m ) : bool

Process the WM_NCPAINT message when overriding window chrome.

OnWindowActiveChanged ( ) : void

Called when the active state of the window changes.

ResumePaint ( ) : void

Resume processing of non-client painting.

ScreenToWindow ( Point screenPt ) : Point

Convert a screen location to a window location.

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

Performs the work of setting the specified bounds of this control.

StartCapture ( ViewBase element ) : void

Start capturing mouse input for a particular element that is inside the chrome.

SuspendPaint ( ) : void

Suspend processing of non-client painting.

WindowChromeEnd ( ) : void

Perform cleanup when custom chrome ending.

WindowChromeHitTest ( Point pt, bool composition ) : IntPtr

Perform hit testing.

WindowChromeLeftMouseDown ( Point pt ) : bool

Process the left mouse down event.

WindowChromeLeftMouseUp ( Point pt ) : bool

Process the left mouse up event.

WindowChromeMouseLeave ( ) : void

Perform mouse leave processing.

WindowChromeNonClientMouseMove ( Point pt ) : void

Perform non-client mouse movement processing.

WindowChromePaint ( Graphics g, Rectangle bounds ) : void

Perform painting of the window chrome.

WindowChromeStart ( ) : void

Perform setup for custom chrome.

WndProc ( Message &m ) : void

Process Windows-based messages.

비공개 메소드들

메소드 설명
CreateToolStripRenderer ( ) : System.Windows.Forms.ToolStripRenderer
GetResolvedPalette ( ) : IPalette
KryptonResetCounters ( ) : void
OnBaseChanged ( object sender, EventArgs e ) : void
OnGlobalPaletteChanged ( object sender, EventArgs e ) : void
OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void
PerformNeedPaint ( bool needLayout ) : void
RecalculateComposition ( ) : void
SendSysCommand ( int sysCommand ) : void
SendSysCommand ( int sysCommand, IntPtr lParam ) : void
SetPalette ( IPalette palette ) : void
ShouldSerializePaletteMode ( ) : bool
UpdateComposition ( ) : void
VisualForm ( ) : System

메소드 상세

CreateRedirector() 보호된 메소드

Create the redirector instance.
protected CreateRedirector ( ) : PaletteRedirect
리턴 PaletteRedirect

Dispose() 보호된 메소드

Releases all resources used by the Control.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

InvalidateNonClient() 공개 메소드

Request the non-client area be repainted.
public InvalidateNonClient ( ) : void
리턴 void

InvalidateNonClient() 보호된 메소드

Request the non-client area be repainted.
protected InvalidateNonClient ( Rectangle invalidRect ) : void
invalidRect System.Drawing.Rectangle Area to invalidate.
리턴 void

InvalidateNonClient() 보호된 메소드

Request the non-client area be repainted.
protected InvalidateNonClient ( Rectangle invalidRect, bool excludeClientArea ) : void
invalidRect System.Drawing.Rectangle Area to invalidate.
excludeClientArea bool Should client area be excluded.
리턴 void

OnActivated() 보호된 메소드

Raises the Activated event.
protected OnActivated ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnAllowFormChromeChanged() 보호된 메소드

Occurs when the AllowFormChromeChanged event is fired for the current palette.
protected OnAllowFormChromeChanged ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnApplyCustomChromeChanged() 보호된 메소드

Raises the ApplyCustomChrome event.
protected OnApplyCustomChromeChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnButtonSpecChanged() 보호된 메소드

Processes a notification from palette storage of a button spec change.
protected OnButtonSpecChanged ( object sender, EventArgs e ) : void
sender object Source of notification.
e System.EventArgs An EventArgs containing event data.
리턴 void

OnCompWM_NCHITTEST() 보호된 메소드

Process the WM_NCHITTEST message when overriding window chrome.
protected OnCompWM_NCHITTEST ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnDeactivate() 보호된 메소드

Raises the Deactivate event.
protected OnDeactivate ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnHandleCreated() 보호된 메소드

Raises the HandleCreated event.
protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnNeedPaint() 보호된 메소드

Processes a notification from palette storage of a paint and optional layout required.
protected OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
sender object Source of notification.
e NeedLayoutEventArgs An NeedLayoutEventArgs containing event data.
리턴 void

OnNonClientPaint() 보호된 메소드

Perform chrome window painting in the non-client areas.
protected OnNonClientPaint ( IntPtr hWnd ) : void
hWnd System.IntPtr Window handle of window being painted.
리턴 void

OnPaintBackground() 보호된 메소드

Raises the PaintBackground event.
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs containing event data.
리턴 void

OnPaintNonClient() 보호된 메소드

Process a windows message that requires the non client area be repainted.
protected OnPaintNonClient ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnPaletteChanged() 보호된 메소드

Raises the PaletteChanged event.
protected OnPaletteChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnResize() 보호된 메소드

Raises the Resize event.
protected OnResize ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnShown() 보호된 메소드

Raises the Shown event.
protected OnShown ( EventArgs e ) : void
e System.EventArgs An EventArgs containing event data.
리턴 void

OnWM_LBUTTONUP() 보호된 메소드

Process the WM_LBUTTONUP message when overriding window chrome.
protected OnWM_LBUTTONUP ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_MOUSEMOVE() 보호된 메소드

Process the OnWM_MOUSEMOVE message when overriding window chrome.
protected OnWM_MOUSEMOVE ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCACTIVATE() 보호된 메소드

Process the WM_NCACTIVATE message when overriding window chrome.
protected OnWM_NCACTIVATE ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCCALCSIZE() 보호된 메소드

Process the WM_NCCALCSIZE message when overriding window chrome.
protected OnWM_NCCALCSIZE ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCHITTEST() 보호된 메소드

Process the WM_NCHITTEST message when overriding window chrome.
protected OnWM_NCHITTEST ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCLBUTTONDBLCLK() 보호된 메소드

Process the WM_NCLBUTTONDBLCLK message when overriding window chrome.
protected OnWM_NCLBUTTONDBLCLK ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCLBUTTONDOWN() 보호된 메소드

Process the WM_NCLBUTTONDOWN message when overriding window chrome.
protected OnWM_NCLBUTTONDOWN ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCLBUTTONUP() 보호된 메소드

Process the WM_LBUTTONUP message when overriding window chrome.
protected OnWM_NCLBUTTONUP ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCMOUSELEAVE() 보호된 메소드

Process the WM_NCMOUSELEAVE message when overriding window chrome.
protected OnWM_NCMOUSELEAVE ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCMOUSEMOVE() 보호된 메소드

Process the WM_NCMOUSEMOVE message when overriding window chrome.
protected OnWM_NCMOUSEMOVE ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWM_NCPAINT() 보호된 메소드

Process the WM_NCPAINT message when overriding window chrome.
protected OnWM_NCPAINT ( Message &m ) : bool
m System.Windows.Forms.Message A Windows-based message.
리턴 bool

OnWindowActiveChanged() 보호된 메소드

Called when the active state of the window changes.
protected OnWindowActiveChanged ( ) : void
리턴 void

RecalcNonClient() 공개 메소드

Request the non-client area be recalculated.
public RecalcNonClient ( ) : void
리턴 void

RedrawNonClient() 공개 메소드

Request the non-client area be repainted.
public RedrawNonClient ( ) : void
리턴 void

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

ResumePaint() 보호된 메소드

Resume processing of non-client painting.
protected ResumePaint ( ) : void
리턴 void

ScreenToWindow() 보호된 메소드

Convert a screen location to a window location.
protected ScreenToWindow ( Point screenPt ) : Point
screenPt Point Screen point.
리턴 Point

SetBoundsCore() 보호된 메소드

Performs the work of setting the specified bounds of this control.
protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int The new Left property value of the control.
y int The new Top property value of the control.
width int The new Width property value of the control.
height int The new Height property value of the control.
specified BoundsSpecified A bitwise combination of the BoundsSpecified values.
리턴 void

StartCapture() 보호된 메소드

Start capturing mouse input for a particular element that is inside the chrome.
protected StartCapture ( ViewBase element ) : void
element ViewBase Target element for the capture events.
리턴 void

SuspendPaint() 보호된 메소드

Suspend processing of non-client painting.
protected SuspendPaint ( ) : void
리턴 void

WindowChromeCompositionLayout() 공개 메소드

Perform layout on behalf of the composition element using our root element.
public WindowChromeCompositionLayout ( ViewLayoutContext context, Rectangle compRect ) : void
context ViewLayoutContext Layout context.
compRect System.Drawing.Rectangle Rectangle for composition element.
리턴 void

WindowChromeCompositionPaint() 공개 메소드

Perform painting on behalf of the composition element using our root element.
public WindowChromeCompositionPaint ( RenderContext context ) : void
context RenderContext Rendering context.
리턴 void

WindowChromeEnd() 보호된 메소드

Perform cleanup when custom chrome ending.
protected WindowChromeEnd ( ) : void
리턴 void

WindowChromeHitTest() 보호된 메소드

Perform hit testing.
protected WindowChromeHitTest ( Point pt, bool composition ) : IntPtr
pt Point Point in window coordinates.
composition bool Are we performing composition.
리턴 System.IntPtr

WindowChromeLeftMouseDown() 보호된 메소드

Process the left mouse down event.
protected WindowChromeLeftMouseDown ( Point pt ) : bool
pt Point Window coordinate of the mouse up.
리턴 bool

WindowChromeLeftMouseUp() 보호된 메소드

Process the left mouse up event.
protected WindowChromeLeftMouseUp ( Point pt ) : bool
pt Point Window coordinate of the mouse up.
리턴 bool

WindowChromeMouseLeave() 보호된 메소드

Perform mouse leave processing.
protected WindowChromeMouseLeave ( ) : void
리턴 void

WindowChromeNonClientMouseMove() 보호된 메소드

Perform non-client mouse movement processing.
protected WindowChromeNonClientMouseMove ( Point pt ) : void
pt Point Point in window coordinates.
리턴 void

WindowChromePaint() 보호된 메소드

Perform painting of the window chrome.
protected WindowChromePaint ( Graphics g, Rectangle bounds ) : void
g System.Drawing.Graphics Graphics instance to use for drawing.
bounds System.Drawing.Rectangle Bounds enclosing the window chrome.
리턴 void

WindowChromeStart() 보호된 메소드

Perform setup for custom chrome.
protected WindowChromeStart ( ) : void
리턴 void

WndProc() 보호된 메소드

Process Windows-based messages.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message A Windows-based message.
리턴 void