3 instantiations of TriState
System.Drawing.Common (3)
System\Drawing\Printing\TriState.cs (3)
10public static TriState Default { get; } = new(0); 11public static TriState False { get; } = new(1); 12public static TriState True { get; } = new(2);
19 references to TriState
System.Drawing.Common (19)
System\Drawing\Printing\PageSettings.cs (4)
12private TriState _color = TriState.Default; 16private TriState _landscape = TriState.Default;
System\Drawing\Printing\PrinterSettings.cs (2)
25private TriState _collate = TriState.Default;
System\Drawing\Printing\TriState.cs (13)
6internal readonly partial struct TriState : IEquatable<TriState> 10public static TriState Default { get; } = new(0); 11public static TriState False { get; } = new(1); 12public static TriState True { get; } = new(2); 24public static bool operator ==(TriState left, TriState right) => left.Equals(right); 26public static bool operator !=(TriState left, TriState right) => !left.Equals(right); 30Debug.Assert(o is TriState); 31return Equals((TriState)o); 34public bool Equals(TriState other) => _value == other._value; 38public static implicit operator TriState(bool value) => value ? True : False; 40public static explicit operator bool(TriState value) =>