Toreole / BasicCombatlogParser

A small project with limited functionality in parsing WoW Combatlogs.
0 stars 1 forks source link

Look into DataGrids #10

Open Toreole opened 1 year ago

Toreole commented 1 year ago

The AutoGenerateColumn event could be used to cancel columns before they are added to the data grid, and user-defined columns could be injected (?is that the right term?). When combining this with custom attributes like for example:

[ColumnHeader("Name"), TextColumn(Align: "Left")]
public string Name { get; }
[ColumnHeader("DPS"), BarColumn]
public Custom.TotalMetric DPS { get; }

There is an option to generate columns based on the listed attributes, instead of having to add them to the .xaml file manually.

The columns need to be created via code, set up with everything bla bla bla, and in the end its probably not going to be all that great. But it might be worth thinking some more about at a later time.