C# Class XenAdmin.Controls.XenTabPage

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: xenserver/xenadmin Class Usage Examples

Public Properties

Property Type Description
Connection IXenConnection
DisableStep bool

Private Properties

Property Type Description

Public Methods

Method Description
CheckPageDisabled ( ) : void

Check whether this step needs to be disabled. Not always overriden in derived classes

EnableCancel ( ) : bool
EnableNext ( ) : bool
EnablePrevious ( ) : bool
NextText ( bool isLastPage ) : string
PageCancelled ( ) : void

Called when the wizard's Cancel button is hit while on this page

PageLeave ( PageLoadedDirection direction, bool &cancel ) : void

Always remember to call the base method in the END when overriding this in derived classes

PageLoaded ( PageLoadedDirection direction ) : void

Always remember to call the base method in the BEGINNING when overriding this in derived classes so the page gets populated

PopulatePage ( ) : void

Not always overriden in derived classes

SelectDefaultControl ( ) : void

Select a control on the page. Not always overriden in derived classes

XenTabPage ( ) : System

Protected Methods

Method Description
ImplementsIsDirty ( ) : bool

Does the page use IsDirty?

OnPageUpdated ( ) : void

Method Details

CheckPageDisabled() public method

Check whether this step needs to be disabled. Not always overriden in derived classes
public CheckPageDisabled ( ) : void
return void

EnableCancel() public method

public EnableCancel ( ) : bool
return bool

EnableNext() public method

public EnableNext ( ) : bool
return bool

EnablePrevious() public method

public EnablePrevious ( ) : bool
return bool

ImplementsIsDirty() protected method

Does the page use IsDirty?
protected ImplementsIsDirty ( ) : bool
return bool

NextText() public method

public NextText ( bool isLastPage ) : string
isLastPage bool
return string

OnPageUpdated() protected method

protected OnPageUpdated ( ) : void
return void

PageCancelled() public method

Called when the wizard's Cancel button is hit while on this page
public PageCancelled ( ) : void
return void

PageLeave() public method

Always remember to call the base method in the END when overriding this in derived classes
public PageLeave ( PageLoadedDirection direction, bool &cancel ) : void
direction PageLoadedDirection
cancel bool
return void

PageLoaded() public method

Always remember to call the base method in the BEGINNING when overriding this in derived classes so the page gets populated
public PageLoaded ( PageLoadedDirection direction ) : void
direction PageLoadedDirection
return void

PopulatePage() public method

Not always overriden in derived classes
public PopulatePage ( ) : void
return void

SelectDefaultControl() public method

Select a control on the page. Not always overriden in derived classes
public SelectDefaultControl ( ) : void
return void

XenTabPage() public method

public XenTabPage ( ) : System
return System

Property Details

Connection public_oe property

public IXenConnection Connection
return IXenConnection

DisableStep public_oe property

Set this value to true to grey the step out in the wizard progress and mark it to be skipped
public bool DisableStep
return bool