C# Class ZForge.Controls.ExplorerBar.TaskPane

Inheritance: System.Windows.Forms.ScrollableControl, ISupportInitialize
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Private Properties

Свойство Type Description
DropExpando void
FireCustomSettingsChanged void
MatchControlCollToExpandoColl void
OnParentChanged void
OnParentVisibleChanged void
UpdateDropPoint void
UpdateExpandos void
expando_StateChanged void

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

BeginInit() public méthode

Signals the TaskPane that initialization is starting
public BeginInit ( ) : void
Résultat void

BeginUpdate() public méthode

Prevents the TaskPane from drawing until the EndUpdate method is called
public BeginUpdate ( ) : void
Résultat void

CalcExpandoLocation() protected méthode

Calculates where the specified Expando should be located
protected CalcExpandoLocation ( Expando target ) : Point
target Expando
Résultat Point

CollapseAll() public méthode

Collaspes all the Expandos contained in the TaskPane
public CollapseAll ( ) : void
Résultat void

CollapseAllButOne() public méthode

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
Résultat void

Dispose() protected méthode

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
Résultat void

DoLayout() public méthode

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

DoLayout() public méthode

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
Résultat void

EndInit() public méthode

Signals the TaskPane that initialization is complete
public EndInit ( ) : void
Résultat void

EndUpdate() public méthode

Resumes drawing of the TaskPane after drawing is suspended by the BeginUpdate method
public EndUpdate ( ) : void
Résultat void

ExpandAll() public méthode

Expands all the Expandos contained in the TaskPane
public ExpandAll ( ) : void
Résultat void

OnControlAdded() protected méthode

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

OnControlRemoved() protected méthode

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

OnCustomSettingsChanged() protected méthode

Raises the CustomSettingsChanged event
protected OnCustomSettingsChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Résultat void

OnExpandoAdded() protected méthode

Raises the ExpandoAdded event
protected OnExpandoAdded ( ExpandoEventArgs e ) : void
e ExpandoEventArgs An ExpandoEventArgs that contains the event data
Résultat void

OnExpandoRemoved() protected méthode

Raises the ExpandoRemoved event
protected OnExpandoRemoved ( ExpandoEventArgs e ) : void
e ExpandoEventArgs An ExpandoEventArgs that contains the event data
Résultat void

OnExpandoStateChanged() protected méthode

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

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnPaintBackground() protected méthode

Raises the PaintBackground event
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
Résultat void

OnSizeChanged() protected méthode

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnSystemColorsChanged() protected méthode

Raises the SystemColorsChanged event
protected OnSystemColorsChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Résultat void

ResetCustomSettings() public méthode

Resets the custom settings to their default values
public ResetCustomSettings ( ) : void
Résultat void

TaskPane() public méthode

Initializes a new instance of the TaskPane class with default settings
public TaskPane ( ) : System
Résultat System

UseClassicTheme() public méthode

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

UseCustomTheme() public méthode

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
Résultat void

UseDefaultTheme() public méthode

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