C# 클래스 BudgetAnalyser.LedgerBook.LedgerBookGridBuilderV2

상속: ILedgerBookGridBuilder
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser

공개 메소드들

메소드 설명
BuildGrid ( Engine currentLedgerBook, System.Windows.ResourceDictionary viewResources, ContentPresenter contentPanel, int numberOfMonthsToShow ) : void

This is drawn programatically because the dimensions of the ledger book grid are two-dimensional and dynamic. Unknown number of columns and many rows. ListView and DataGrid dont work well.

LedgerBookGridBuilderV2 ( ICommand showTransactionsCommand, ICommand showBankBalancesCommand, ICommand showRemarksCommand, ICommand showHideMonthsCommand, ICommand showSurplusBalancesCommand, ICommand showLedgerBucketDetailsCommand ) : System

비공개 메소드들

메소드 설명
AddBorderToGridCell ( System.Windows.Controls.Panel parent, bool hasBackground, bool hasBorder, int gridRow, int gridColumn ) : System.Windows.Controls.Border
AddBorderToGridCell ( System.Windows.Controls.Panel parent, string background, bool hasBorder, int gridRow, int gridColumn ) : System.Windows.Controls.Border
AddContentToGrid ( FrameworkElement parent, string content, int &gridRow, int gridColumn, string style, string tooltip = null ) : System.Windows.Controls.TextBlock
AddDateCellToLedgerEntryLine ( Grid grid, int gridRow, int &gridColumn, LedgerEntryLine line ) : int
AddGridColumns ( Grid grid, int numberOfMonthsToShow ) : void
AddHeadingColumnContent ( Grid grid ) : void
AddHyperlinkToGrid ( System.Windows.Controls.Panel parent, string hyperlinkText, int &gridRow, int gridColumn, string style, string tooltip = null, object parameter = null ) : System.Windows.Controls.TextBlock
AddLedgerEntryLinesVertically ( Grid grid, int numberOfMonthsToShow ) : void
AddLedgerRows ( Grid grid ) : void
AddShowMoreLessColumnsButtons ( Grid grid, int numberOfMonthsToShow ) : void
AddSurplusCell ( Grid grid, int gridRow, int gridColumn, LedgerEntryLine line ) : int
BuildToolTipForBankBalance ( LedgerEntryLine line ) : string
DynamicallyCreateLedgerBookGrid ( int numberOfMonthsToShow ) : void
FindResource ( string resourceName ) : object
StripColour ( LedgerBucket ledger ) : System.Windows.Media.Brush

메소드 상세

BuildGrid() 공개 메소드

This is drawn programatically because the dimensions of the ledger book grid are two-dimensional and dynamic. Unknown number of columns and many rows. ListView and DataGrid dont work well.
public BuildGrid ( Engine currentLedgerBook, System.Windows.ResourceDictionary viewResources, ContentPresenter contentPanel, int numberOfMonthsToShow ) : void
currentLedgerBook Engine
viewResources System.Windows.ResourceDictionary
contentPanel System.Windows.Controls.ContentPresenter
numberOfMonthsToShow int
리턴 void

LedgerBookGridBuilderV2() 공개 메소드

public LedgerBookGridBuilderV2 ( ICommand showTransactionsCommand, ICommand showBankBalancesCommand, ICommand showRemarksCommand, ICommand showHideMonthsCommand, ICommand showSurplusBalancesCommand, ICommand showLedgerBucketDetailsCommand ) : System
showTransactionsCommand ICommand
showBankBalancesCommand ICommand
showRemarksCommand ICommand
showHideMonthsCommand ICommand
showSurplusBalancesCommand ICommand
showLedgerBucketDetailsCommand ICommand
리턴 System