mirror of
https://github.com/Micke-K/IntuneManagement.git
synced 2026-09-28 19:05:38 +02:00
IntuneManagement 4.0.0-beta1
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ImportOrder 11
|
||||
|
||||
# CLR-typed row shape for the Compare DataGrid. Compare-PolicyObjects
|
||||
# returns PSCustomObject rows, which Avalonia's reflection-based binder
|
||||
# can't traverse (see [[avalonia-binding-needs-clr-types]]). Project each
|
||||
# into one of these before assigning DataGrid.ItemsSource.
|
||||
#
|
||||
# Match is nullable bool (e.g. ignored core properties produce $null).
|
||||
# Slice 3d3 uses it to drive row foreground color.
|
||||
#
|
||||
# MatchGlyph is the precomputed tri-state glyph the "Match" DataGrid column
|
||||
# binds to (checkmark / ballot-X / em-dash), mirroring the WPF CompareForm.xaml
|
||||
# DataTrigger chain. Avalonia has no WPF-style per-value DataTrigger, so the
|
||||
# glyph is computed at projection time instead of in XAML.
|
||||
|
||||
class CompareResultRowItem
|
||||
{
|
||||
[string] $PropertyName
|
||||
[string] $Category
|
||||
[string] $SubCategory
|
||||
[string] $Object1Value
|
||||
[string] $Object2Value
|
||||
[object] $Match
|
||||
[string] $MatchGlyph
|
||||
|
||||
CompareResultRowItem() {}
|
||||
}
|
||||
Reference in New Issue
Block a user