3 instantiations of TriState
System.Drawing (3)
commonui\System\Drawing\Printing\TriState.cs (3)
17
public static readonly TriState Default = new
TriState
(0);
18
public static readonly TriState False = new
TriState
(1);
19
public static readonly TriState True = new
TriState
(2);
18 references to TriState
System.Drawing (18)
commonui\System\Drawing\Printing\PageSettings.cs (4)
30
private
TriState
color =
TriState
.Default;
34
private
TriState
landscape =
TriState
.Default;
commonui\System\Drawing\Printing\PrinterSettings.cs (2)
54
private
TriState
collate =
TriState
.Default;
commonui\System\Drawing\Printing\TriState.cs (12)
17
public static readonly
TriState
Default = new TriState(0);
18
public static readonly
TriState
False = new TriState(1);
19
public static readonly
TriState
True = new TriState(2);
41
public static bool operator ==(
TriState
left,
TriState
right) {
45
public static bool operator !=(
TriState
left,
TriState
right) {
50
TriState
state = (
TriState
)o;
58
public static implicit operator
TriState
(bool value) {
62
public static explicit operator bool(
TriState
value) {
66
return(value ==
TriState
.True);