C# Class Com.Aote.Report.Table

Inheritance: System.Windows.Controls.Control, INotifyPropertyChanged
Show file Open project: DuBin1988/newsellinggas

Public Properties

Property Type Description
sqls ObservableCollection

Public Methods

Method Description
AddSql ( ) : void
ComposeCell ( ) : void
DecomposeCell ( ) : void
DeleteRow ( ) : void
InsertColumn ( ) : void
InsertRow ( ) : void
Load ( string fileName ) : void
OnApplyTemplate ( ) : void
OnPropertyChanged ( string name ) : void
Save ( string fileName ) : void
markbottom ( ) : void
markdrop ( ) : void
markhead ( ) : void
markheadchange ( ) : void
markleft ( ) : void
markmain ( ) : void
setcenter ( ) : void
setfont ( ) : void
setfontsize ( ) : void
setleft ( ) : void
setright ( ) : void

Protected Methods

Method Description
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void

Private Methods

Method Description
GetCell ( int row, int column ) : Cell
GetHeight ( Cell cell ) : int
GetPosition ( Point point ) : object
GetWidth ( Cell cell ) : int
Layout ( ) : void
LayoutCellWidthAndHeight ( ) : void
LayoutCells ( ) : void
LayoutColumns ( ) : void
LayoutEditBox ( ) : void
LayoutLines ( ) : void
LayoutRows ( ) : void
SelectCell ( Point point ) : void
Table ( ) : Newtonsoft.Json

Method Details

AddSql() public method

public AddSql ( ) : void
return void

ComposeCell() public method

public ComposeCell ( ) : void
return void

DecomposeCell() public method

public DecomposeCell ( ) : void
return void

DeleteRow() public method

public DeleteRow ( ) : void
return void

InsertColumn() public method

public InsertColumn ( ) : void
return void

InsertRow() public method

public InsertRow ( ) : void
return void

Load() public method

public Load ( string fileName ) : void
fileName string
return void

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnMouseLeftButtonDown() protected method

protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseLeftButtonUp() protected method

protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnPropertyChanged() public method

public OnPropertyChanged ( string name ) : void
name string
return void

Save() public method

public Save ( string fileName ) : void
fileName string
return void

markbottom() public method

public markbottom ( ) : void
return void

markdrop() public method

public markdrop ( ) : void
return void

markhead() public method

public markhead ( ) : void
return void

markheadchange() public method

public markheadchange ( ) : void
return void

markleft() public method

public markleft ( ) : void
return void

markmain() public method

public markmain ( ) : void
return void

setcenter() public method

public setcenter ( ) : void
return void

setfont() public method

public setfont ( ) : void
return void

setfontsize() public method

public setfontsize ( ) : void
return void

setleft() public method

public setleft ( ) : void
return void

setright() public method

public setright ( ) : void
return void

Property Details

sqls public property

public ObservableCollection sqls
return ObservableCollection