C# Class ComponentFactory.Krypton.Workspace.KryptonWorkspaceSequence

Inheritance: System.ComponentModel.Component, IWorkspaceItem
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
CompactPromoteLeafs void
CompactRemoveEmptyCells void
CompactRemoveEmptySequences void
DebugOutput void

Public Methods

Method Description
Compact ( CompactFlags flags ) : void

Perform any compacting actions allowed by the flags.

Hide ( ) : void

Conceals the control from the user.

KryptonWorkspaceSequence ( ) : System

Initialise a new instance of the KryptonWorkspaceSequence class.

KryptonWorkspaceSequence ( Orientation orientation ) : System

Initialise a new instance of the KryptonWorkspaceSequence class.

LoadFromXml ( KryptonWorkspace workspace, XmlReader xmlReader, UniqueNameToPage existingPages ) : void

Request this sequence load and recreate children.

ResetUniqueName ( ) : void

Resets the UniqueName property to its default value.

SaveToXml ( KryptonWorkspace workspace, XmlWriter xmlWriter ) : void

Request this sequence save its information about children.

Show ( ) : void

Displays the control to the user.

ToString ( ) : string

Obtains the String representation of this instance.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnChildrenMaximizeRestoreClicked ( object sender, EventArgs e ) : void

Handle a maximize/restore request from a child item.

OnChildrenPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handle a change in the child collection of items.

OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the PropertyChanged event.

OnPropertyChanged ( string property ) : void

Raises the PropertyChanged event.

Private Methods

Method Description
CompactPromoteLeafs ( CompactFlags flags ) : void
CompactRemoveEmptyCells ( CompactFlags flags ) : void
CompactRemoveEmptySequences ( CompactFlags flags ) : void
DebugOutput ( int indent ) : void

Method Details

Compact() public method

Perform any compacting actions allowed by the flags.
public Compact ( CompactFlags flags ) : void
flags CompactFlags Set of compacting actions allowed.
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Hide() public method

Conceals the control from the user.
public Hide ( ) : void
return void

KryptonWorkspaceSequence() public method

Initialise a new instance of the KryptonWorkspaceSequence class.
public KryptonWorkspaceSequence ( ) : System
return System

KryptonWorkspaceSequence() public method

Initialise a new instance of the KryptonWorkspaceSequence class.
public KryptonWorkspaceSequence ( Orientation orientation ) : System
orientation Orientation Initial orientation of the children.
return System

LoadFromXml() public method

Request this sequence load and recreate children.
public LoadFromXml ( KryptonWorkspace workspace, XmlReader xmlReader, UniqueNameToPage existingPages ) : void
workspace KryptonWorkspace Reference to owning workspace instance.
xmlReader XmlReader Xml reader for loading information.
existingPages UniqueNameToPage Dictionary on existing pages before load.
return void

OnChildrenMaximizeRestoreClicked() protected method

Handle a maximize/restore request from a child item.
protected OnChildrenMaximizeRestoreClicked ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs Event arguments associated with the event.
return void

OnChildrenPropertyChanged() protected method

Handle a change in the child collection of items.
protected OnChildrenPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object Source of the event.
e System.ComponentModel.PropertyChangedEventArgs Event arguments associated with the event.
return void

OnPropertyChanged() protected method

Raises the PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs containing the event data.
return void

OnPropertyChanged() protected method

Raises the PropertyChanged event.
protected OnPropertyChanged ( string property ) : void
property string Name of property that has changed.
return void

ResetUniqueName() public method

Resets the UniqueName property to its default value.
public ResetUniqueName ( ) : void
return void

SaveToXml() public method

Request this sequence save its information about children.
public SaveToXml ( KryptonWorkspace workspace, XmlWriter xmlWriter ) : void
workspace KryptonWorkspace Reference to owning workspace instance.
xmlWriter System.Xml.XmlWriter Xml writer to save information into.
return void

Show() public method

Displays the control to the user.
public Show ( ) : void
return void

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string