C# 클래스 ZForge.Controls.ExplorerBar.TaskPane

상속: System.Windows.Forms.ScrollableControl, ISupportInitialize
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DropExpando void
FireCustomSettingsChanged void
MatchControlCollToExpandoColl void
OnParentChanged void
OnParentVisibleChanged void
UpdateDropPoint void
UpdateExpandos void
expando_StateChanged void

공개 메소드들

메소드 설명
BeginInit ( ) : void

Signals the TaskPane that initialization is starting

BeginUpdate ( ) : void

Prevents the TaskPane from drawing until the EndUpdate method is called

CollapseAll ( ) : void

Collaspes all the Expandos contained in the TaskPane

CollapseAllButOne ( Expando expando ) : void

Collaspes all the Expandos contained in the TaskPane, except for the specified Expando which is expanded

DoLayout ( ) : void

Forces the TaskPane to apply layout logic to child Expandos, and adjusts the Size and Location of the Expandos if necessary

DoLayout ( bool performRealLayout ) : void

Forces the TaskPane to apply layout logic to child Expandos, and adjusts the Size and Location of the Expandos if necessary

EndInit ( ) : void

Signals the TaskPane that initialization is complete

EndUpdate ( ) : void

Resumes drawing of the TaskPane after drawing is suspended by the BeginUpdate method

ExpandAll ( ) : void

Expands all the Expandos contained in the TaskPane

ResetCustomSettings ( ) : void

Resets the custom settings to their default values

TaskPane ( ) : System

Initializes a new instance of the TaskPane class with default settings

UseClassicTheme ( ) : void

Forces the TaskPane and all it's Expandos to use a theme equivalent to Windows XPs classic theme

UseCustomTheme ( string stylePath ) : void

Forces the TaskPane and all it's Expandos to use the specified theme

UseDefaultTheme ( ) : void

Forces the TaskPane and all it's Expandos to use the current system theme

보호된 메소드들

메소드 설명
CalcExpandoLocation ( Expando target ) : Point

Calculates where the specified Expando should be located

Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the TaskPane and optionally releases the managed resources

OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void

Raises the ControlAdded event

OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void

Raises the ControlRemoved event

OnCustomSettingsChanged ( EventArgs e ) : void

Raises the CustomSettingsChanged event

OnExpandoAdded ( ExpandoEventArgs e ) : void

Raises the ExpandoAdded event

OnExpandoRemoved ( ExpandoEventArgs e ) : void

Raises the ExpandoRemoved event

OnExpandoStateChanged ( ExpandoEventArgs e ) : void

Occurs when the value of an Expandos Collapsed property changes

OnPaint ( PaintEventArgs e ) : void

OnPaintBackground ( PaintEventArgs e ) : void

Raises the PaintBackground event

OnSizeChanged ( EventArgs e ) : void

OnSystemColorsChanged ( EventArgs e ) : void

Raises the SystemColorsChanged event

비공개 메소드들

메소드 설명
DropExpando ( Expando expando ) : void

"Drops" the specified Expando and moves it to the current drop point

FireCustomSettingsChanged ( EventArgs e ) : void

Raises the CustomSettingsChanged event

MatchControlCollToExpandoColl ( ) : void

Make sure the the expandos index in the ControlCollection are the same as in the ExpandoCollection (indexes in the ExpandoCollection may have changed due to the user moving them around in the editor or calling ExpandoCollection.Move())

OnParentChanged ( object sender, EventArgs e ) : void

Event handler for the ParentChanged event

OnParentVisibleChanged ( object sender, EventArgs e ) : void

Event handler for the ParentVisibleChanged event

UpdateDropPoint ( Point point ) : void

Calculates the Point that the currently dragged Expando will dropped at based on the specified mouse position

UpdateExpandos ( ) : void

Updates the layout of the Expandos while in design mode, and adds/removes Expandos from the ControlCollection as necessary

expando_StateChanged ( object sender, ExpandoEventArgs e ) : void

Event handler for the Expando StateChanged event

메소드 상세

BeginInit() 공개 메소드

Signals the TaskPane that initialization is starting
public BeginInit ( ) : void
리턴 void

BeginUpdate() 공개 메소드

Prevents the TaskPane from drawing until the EndUpdate method is called
public BeginUpdate ( ) : void
리턴 void

CalcExpandoLocation() 보호된 메소드

Calculates where the specified Expando should be located
protected CalcExpandoLocation ( Expando target ) : Point
target Expando
리턴 Point

CollapseAll() 공개 메소드

Collaspes all the Expandos contained in the TaskPane
public CollapseAll ( ) : void
리턴 void

CollapseAllButOne() 공개 메소드

Collaspes all the Expandos contained in the TaskPane, except for the specified Expando which is expanded
public CollapseAllButOne ( Expando expando ) : void
expando Expando The Expando that is to be expanded
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the TaskPane and optionally releases the managed resources
protected Dispose ( bool disposing ) : void
disposing bool True to release both managed and unmanaged /// resources; false to release only unmanaged resources
리턴 void

DoLayout() 공개 메소드

Forces the TaskPane to apply layout logic to child Expandos, and adjusts the Size and Location of the Expandos if necessary
public DoLayout ( ) : void
리턴 void

DoLayout() 공개 메소드

Forces the TaskPane to apply layout logic to child Expandos, and adjusts the Size and Location of the Expandos if necessary
public DoLayout ( bool performRealLayout ) : void
performRealLayout bool true to execute pending layout /// requests; otherwise, false
리턴 void

EndInit() 공개 메소드

Signals the TaskPane that initialization is complete
public EndInit ( ) : void
리턴 void

EndUpdate() 공개 메소드

Resumes drawing of the TaskPane after drawing is suspended by the BeginUpdate method
public EndUpdate ( ) : void
리턴 void

ExpandAll() 공개 메소드

Expands all the Expandos contained in the TaskPane
public ExpandAll ( ) : void
리턴 void

OnControlAdded() 보호된 메소드

Raises the ControlAdded event
protected OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs A ControlEventArgs that contains the event data
리턴 void

OnControlRemoved() 보호된 메소드

Raises the ControlRemoved event
protected OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs A ControlEventArgs that contains the event data
리턴 void

OnCustomSettingsChanged() 보호된 메소드

Raises the CustomSettingsChanged event
protected OnCustomSettingsChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnExpandoAdded() 보호된 메소드

Raises the ExpandoAdded event
protected OnExpandoAdded ( ExpandoEventArgs e ) : void
e ExpandoEventArgs An ExpandoEventArgs that contains the event data
리턴 void

OnExpandoRemoved() 보호된 메소드

Raises the ExpandoRemoved event
protected OnExpandoRemoved ( ExpandoEventArgs e ) : void
e ExpandoEventArgs An ExpandoEventArgs that contains the event data
리턴 void

OnExpandoStateChanged() 보호된 메소드

Occurs when the value of an Expandos Collapsed property changes
protected OnExpandoStateChanged ( ExpandoEventArgs e ) : void
e ExpandoEventArgs An ExpandoEventArgs that contains the event data
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnPaintBackground() 보호된 메소드

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

OnSizeChanged() 보호된 메소드

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnSystemColorsChanged() 보호된 메소드

Raises the SystemColorsChanged event
protected OnSystemColorsChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

ResetCustomSettings() 공개 메소드

Resets the custom settings to their default values
public ResetCustomSettings ( ) : void
리턴 void

TaskPane() 공개 메소드

Initializes a new instance of the TaskPane class with default settings
public TaskPane ( ) : System
리턴 System

UseClassicTheme() 공개 메소드

Forces the TaskPane and all it's Expandos to use a theme equivalent to Windows XPs classic theme
public UseClassicTheme ( ) : void
리턴 void

UseCustomTheme() 공개 메소드

Forces the TaskPane and all it's Expandos to use the specified theme
public UseCustomTheme ( string stylePath ) : void
stylePath string The path to the custom /// shellstyle.dll to use
리턴 void

UseDefaultTheme() 공개 메소드

Forces the TaskPane and all it's Expandos to use the current system theme
public UseDefaultTheme ( ) : void
리턴 void