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

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

Private Properties

프로퍼티 타입 설명
CalcAnimationHeights void
CalcHeightAndLayout int
FireCustomSettingsChanged void
MatchControlCollToItemColl void
ShouldSerializeSize bool
UpdateItems void

공개 메소드들

메소드 설명
BeginInit ( ) : void

Signals the object that initialization is starting

BeginUpdate ( ) : void

Prevents the Expando from drawing until the EndUpdate method is called

Collapse ( ) : void

Collapses the group without any animation.

DoLayout ( ) : void

Forces the control to apply layout logic to child controls, and adjusts the height of the Expando if necessary

DoLayout ( bool performRealLayout ) : void

Forces the control to apply layout logic to child controls, and adjusts the height of the Expando if necessary

EndInit ( ) : void

Signals the object that initialization is complete

EndUpdate ( ) : void

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

Expand ( ) : void

Expands the group without any animation.

Expando ( ) : System

Initializes a new instance of the Expando class with default settings

HideControl ( Control control ) : void

Hides the specified Control

ResetCustomSettings ( ) : void

Resets the custom settings to their default values

ShowControl ( Control control ) : void

Shows the specified Control

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

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

FindFocusedChild ( ) : Control

Gets the control contained in the Expando that currently has focus

GetCollapsedImage ( ) : Image

Gets the image to be used in the animation while the Expando is in its collapsed state

GetExpandedImage ( ) : Image

Gets the image to be used in the animation while the Expando is in its expanded state

GetFadeAnimationImage ( ) : Image

Returns an image of the group's display area to be used in the fade animation

InvalidateTitleBar ( ) : void

Invalidates the titlebar area

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

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event

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

Raises the ItemAdded event

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

Raises the ItemRemoved event

OnKeyUp ( KeyEventArgs e ) : void

Raises the KeyUp event

OnLocationChanged ( EventArgs e ) : void

Raises the LocationChanged event

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event

OnMouseDown ( MouseEventArgs e ) : void

Raises the MouseDown event

OnMouseLeave ( EventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( MouseEventArgs e ) : void

Raises the MouseMove event

OnMouseUp ( MouseEventArgs e ) : void

Raises the MouseUp event

OnPaint ( PaintEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( PaintEventArgs e ) : void

Raises the PaintBackground event

OnPaintBorder ( Graphics g ) : void

Paints the borders

OnPaintDisplayRect ( Graphics g ) : void

Paints the "Display Rectangle". This is the dockable area of the control (ie non-titlebar/border area). This is also the same as the PseudoClientRect.

OnPaintTitleBar ( Graphics g ) : void

Paints the title bar

OnPaintTitleBarBackground ( Graphics g ) : void

Paints the title bar background

OnParentChanged ( EventArgs e ) : void

Raises the ParentChanged event

OnSizeChanged ( EventArgs e ) : void

Raises the SizeChanged event

OnSpecialGroupChanged ( ExpandoEventArgs e ) : void

Raises the SpecialGroupChanged event

OnStateChanged ( ExpandoEventArgs e ) : void

Raises the StateChanged event

OnTitleImageChanged ( ExpandoEventArgs e ) : void

Raises the TitleImageChanged event

OnWatermarkChanged ( ExpandoEventArgs e ) : void

Raises the WatermarkChanged event

PaintTransparentBackground ( Graphics g, Rectangle clipRect ) : void

Simulates a transparent background by getting the Expandos parent to paint its background and foreground into the specified Graphics at the specified location

ProcessArrowKey ( bool forward ) : bool

Selects the next available control and makes it the active control

ProcessDialogKey ( Keys keyData ) : bool

Processes a dialog key

ProcessTabKey ( bool forward ) : bool

Selects the next available control and makes it the active control

ScaleCore ( float dx, float dy ) : void

Performs the work of scaling the entire control and any child controls

StartFadeAnimation ( ) : void

Gets the Expando ready to start its collapse/expand animation

StartSlideAnimation ( ) : void

Gets the Expando ready to start its show/hide animation

StopFadeAnimation ( ) : void

Gets the Expando to stop its animation

StopSlideAnimation ( ) : void

Gets the Expando to stop its animation

UpdateFadeAnimation ( int animationStepNum, int numAnimationSteps ) : void

Updates the next "frame" of the animation

UpdateSlideAnimation ( int animationStepNum, int numAnimationSteps ) : void

Updates the next "frame" of a slide animation

비공개 메소드들

메소드 설명
CalcAnimationHeights ( ) : void

Caches the heights that the Expando should be for each frame of a fade animation

CalcHeightAndLayout ( ) : int

Calculates the height that the Expando would be if a call to DoLayout() were made

FireCustomSettingsChanged ( EventArgs e ) : void

Raises the CustomSettingsChanged event

MatchControlCollToItemColl ( ) : void

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

ShouldSerializeSize ( ) : bool

Specifies whether the Size property should be serialized at design time

UpdateItems ( ) : void

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

메소드 상세

BeginInit() 공개 메소드

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

BeginUpdate() 공개 메소드

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

Collapse() 공개 메소드

Collapses the group without any animation.
public Collapse ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the Expando 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 control to apply layout logic to child controls, and adjusts the height of the Expando if necessary
public DoLayout ( ) : void
리턴 void

DoLayout() 공개 메소드

Forces the control to apply layout logic to child controls, and adjusts the height of the Expando if necessary
public DoLayout ( bool performRealLayout ) : void
performRealLayout bool
리턴 void

EndInit() 공개 메소드

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

EndUpdate() 공개 메소드

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

Expand() 공개 메소드

Expands the group without any animation.
public Expand ( ) : void
리턴 void

Expando() 공개 메소드

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

FindFocusedChild() 보호된 메소드

Gets the control contained in the Expando that currently has focus
protected FindFocusedChild ( ) : Control
리턴 System.Windows.Forms.Control

GetCollapsedImage() 보호된 메소드

Gets the image to be used in the animation while the Expando is in its collapsed state
protected GetCollapsedImage ( ) : Image
리턴 Image

GetExpandedImage() 보호된 메소드

Gets the image to be used in the animation while the Expando is in its expanded state
protected GetExpandedImage ( ) : Image
리턴 Image

GetFadeAnimationImage() 보호된 메소드

Returns an image of the group's display area to be used in the fade animation
protected GetFadeAnimationImage ( ) : Image
리턴 Image

HideControl() 공개 메소드

Hides the specified Control
public HideControl ( Control control ) : void
control System.Windows.Forms.Control The Control to hide
리턴 void

InvalidateTitleBar() 보호된 메소드

Invalidates the titlebar area
protected InvalidateTitleBar ( ) : 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

OnGotFocus() 보호된 메소드

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

OnItemAdded() 보호된 메소드

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

OnItemRemoved() 보호된 메소드

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

OnKeyUp() 보호된 메소드

Raises the KeyUp event
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data
리턴 void

OnLocationChanged() 보호된 메소드

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

OnLostFocus() 보호된 메소드

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

OnMouseDown() 보호된 메소드

Raises the MouseDown event
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

OnMouseLeave() 보호된 메소드

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

OnMouseMove() 보호된 메소드

Raises the MouseMove event
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

OnMouseUp() 보호된 메소드

Raises the MouseUp event
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

OnPaint() 보호된 메소드

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

OnPaintBackground() 보호된 메소드

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

OnPaintBorder() 보호된 메소드

Paints the borders
protected OnPaintBorder ( Graphics g ) : void
g System.Drawing.Graphics The Graphics used to paint the border
리턴 void

OnPaintDisplayRect() 보호된 메소드

Paints the "Display Rectangle". This is the dockable area of the control (ie non-titlebar/border area). This is also the same as the PseudoClientRect.
protected OnPaintDisplayRect ( Graphics g ) : void
g System.Drawing.Graphics The Graphics used to paint the DisplayRectangle
리턴 void

OnPaintTitleBar() 보호된 메소드

Paints the title bar
protected OnPaintTitleBar ( Graphics g ) : void
g System.Drawing.Graphics The Graphics used to paint the titlebar
리턴 void

OnPaintTitleBarBackground() 보호된 메소드

Paints the title bar background
protected OnPaintTitleBarBackground ( Graphics g ) : void
g System.Drawing.Graphics The Graphics used to paint the titlebar
리턴 void

OnParentChanged() 보호된 메소드

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

OnSizeChanged() 보호된 메소드

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

OnSpecialGroupChanged() 보호된 메소드

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

OnStateChanged() 보호된 메소드

Raises the StateChanged event
protected OnStateChanged ( ExpandoEventArgs e ) : void
e ExpandoEventArgs An ExpandoStateChangedEventArgs that contains the event data
리턴 void

OnTitleImageChanged() 보호된 메소드

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

OnWatermarkChanged() 보호된 메소드

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

PaintTransparentBackground() 보호된 메소드

Simulates a transparent background by getting the Expandos parent to paint its background and foreground into the specified Graphics at the specified location
protected PaintTransparentBackground ( Graphics g, Rectangle clipRect ) : void
g System.Drawing.Graphics The Graphics used to paint the background
clipRect System.Drawing.Rectangle The Rectangle that represents the rectangle /// in which to paint
리턴 void

ProcessArrowKey() 보호된 메소드

Selects the next available control and makes it the active control
protected ProcessArrowKey ( bool forward ) : bool
forward bool true to cycle forward through the controls in /// the Expando; otherwise, false
리턴 bool

ProcessDialogKey() 보호된 메소드

Processes a dialog key
protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys One of the Keys values that represents /// the key to process
리턴 bool

ProcessTabKey() 보호된 메소드

Selects the next available control and makes it the active control
protected ProcessTabKey ( bool forward ) : bool
forward bool true to cycle forward through the controls in /// the Expando; otherwise, false
리턴 bool

ResetCustomSettings() 공개 메소드

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

ScaleCore() 보호된 메소드

Performs the work of scaling the entire control and any child controls
protected ScaleCore ( float dx, float dy ) : void
dx float The ratio by which to scale the control horizontally
dy float The ratio by which to scale the control vertically
리턴 void

ShowControl() 공개 메소드

Shows the specified Control
public ShowControl ( Control control ) : void
control System.Windows.Forms.Control The Control to show
리턴 void

StartFadeAnimation() 보호된 메소드

Gets the Expando ready to start its collapse/expand animation
protected StartFadeAnimation ( ) : void
리턴 void

StartSlideAnimation() 보호된 메소드

Gets the Expando ready to start its show/hide animation
protected StartSlideAnimation ( ) : void
리턴 void

StopFadeAnimation() 보호된 메소드

Gets the Expando to stop its animation
protected StopFadeAnimation ( ) : void
리턴 void

StopSlideAnimation() 보호된 메소드

Gets the Expando to stop its animation
protected StopSlideAnimation ( ) : void
리턴 void

UpdateFadeAnimation() 보호된 메소드

Updates the next "frame" of the animation
protected UpdateFadeAnimation ( int animationStepNum, int numAnimationSteps ) : void
animationStepNum int The current step in the animation
numAnimationSteps int The total number of steps in the animation
리턴 void

UpdateSlideAnimation() 보호된 메소드

Updates the next "frame" of a slide animation
protected UpdateSlideAnimation ( int animationStepNum, int numAnimationSteps ) : void
animationStepNum int The current step in the animation
numAnimationSteps int The total number of steps in the animation
리턴 void