C# Класс BudgetAnalyser.LedgerBook.LedgerBookGridBuilderV2

Наследование: ILedgerBookGridBuilder
Показать файл Открыть проект

Открытые методы

Метод Описание
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