29 references to Strikeout
System.Drawing.Common.Tests (16)
System\Drawing\FontConverterTests.cs (3)
162
{ $"Courier New{Separator} 11 px{Separator} style=Bold{Separator} Italic{Separator} Strikeout", "Courier New", 11f, GraphicsUnit.Pixel, FontStyle.Bold | FontStyle.Italic | FontStyle.
Strikeout
},
163
{ $"Arial{Separator} 11 px{Separator} style=Bold, Italic, Strikeout", "Arial", 11f, GraphicsUnit.Pixel, FontStyle.Bold | FontStyle.Italic | FontStyle.
Strikeout
},
169
{ $"Arial{Separator} 10{Separator} style=12", "Arial", 10f, GraphicsUnit.Point, FontStyle.Underline | FontStyle.
Strikeout
},
System\Drawing\FontFamilyTests.cs (3)
166
yield return new object[] { FontStyle.
Strikeout
};
167
yield return new object[] { FontStyle.
Strikeout
};
169
yield return new object[] { FontStyle.
Strikeout
+ 1 };
System\Drawing\FontTests.cs (10)
93
yield return new object[] { FontFamily.GenericSerif, 4, FontStyle.
Strikeout
};
175
yield return new object[] { FontFamily.GenericSerif, 4, FontStyle.
Strikeout
, GraphicsUnit.Point };
217
yield return new object[] { FontFamily.GenericSerif, 4, FontStyle.
Strikeout
, GraphicsUnit.Point, 10 };
259
yield return new object[] { FontFamily.GenericSerif, 4, FontStyle.
Strikeout
, GraphicsUnit.Point, 10, false };
563
[InlineData(FontStyle.
Strikeout
| FontStyle.Underline | FontStyle.Italic, 549, 1)]
564
[InlineData(FontStyle.
Strikeout
| FontStyle.Underline | FontStyle.Italic | FontStyle.Bold, 550, 1)]
565
[InlineData(FontStyle.
Strikeout
| FontStyle.Underline | FontStyle.Bold | FontStyle.Italic, int.MaxValue, 1)]
580
lfStrikeOut = (fontStyle & FontStyle.
Strikeout
) != 0 ? (byte)1 : (byte)0,
699
[InlineData(FontStyle.
Strikeout
| FontStyle.Bold | FontStyle.Italic, 255, true, "@", 700)]
864
Assert.Equal((expectedStyle & FontStyle.
Strikeout
) != 0, font.Strikeout);
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3785
style |= FontStyle.
Strikeout
;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2194
style |= FontStyle.
Strikeout
;
System\Windows\Forms\Rendering\FontCache.Data.cs (2)
97
lfStrikeOut = (font.Style & FontStyle.
Strikeout
) == FontStyle.
Strikeout
? True : False,
System.Windows.Forms.Tests (9)
System\Windows\Forms\AxHostTests.cs (2)
1475
using Font font = new("Arial", 10, FontStyle.Bold | FontStyle.Underline | FontStyle.Italic | FontStyle.
Strikeout
, GraphicsUnit.Point, 10);
1544
using Font font = new("Arial", 10, FontStyle.Bold | FontStyle.Underline | FontStyle.Italic | FontStyle.
Strikeout
, GraphicsUnit.Point, 10);
System\Windows\Forms\RichTextBoxTests.cs (7)
1584
yield return new object[] { "Arial", 8.25f, FontStyle.
Strikeout
, GraphicsUnit.Point, 1, 165, CFE_EFFECTS.CFE_STRIKEOUT };
1586
yield return new object[] { "Arial", 8.25f, FontStyle.Bold | FontStyle.Italic | FontStyle.Regular | FontStyle.
Strikeout
| FontStyle.Underline, GraphicsUnit.Point, 10, 165, CFE_EFFECTS.CFE_BOLD | CFE_EFFECTS.CFE_ITALIC | CFE_EFFECTS.CFE_UNDERLINE | CFE_EFFECTS.CFE_STRIKEOUT };
4720
yield return new object[] { CFM_MASK.CFM_STRIKEOUT, CFE_EFFECTS.CFE_STRIKEOUT, 0, arial, "Arial", 13, FontStyle.
Strikeout
};
4721
yield return new object[] { CFM_MASK.CFM_STRIKEOUT, CFE_EFFECTS.CFE_STRIKEOUT | CFE_EFFECTS.CFE_STRIKEOUT, 0, arial, "Arial", 13, FontStyle.
Strikeout
};
4815
yield return new object[] { "Arial", 8.25f, true, FontStyle.Bold | FontStyle.Italic | FontStyle.Regular | FontStyle.
Strikeout
| FontStyle.Underline, GraphicsUnit.Point, 10, 1 };
4918
yield return new object[] { new Font("Arial", 8.25f, FontStyle.
Strikeout
), 165, CFE_EFFECTS.CFE_STRIKEOUT };
4920
yield return new object[] { new Font("Arial", 8.25f, FontStyle.Bold | FontStyle.Italic | FontStyle.Regular | FontStyle.
Strikeout
| FontStyle.Underline, GraphicsUnit.Point, 10), 165, CFE_EFFECTS.CFE_BOLD | CFE_EFFECTS.CFE_ITALIC | CFE_EFFECTS.CFE_UNDERLINE | CFE_EFFECTS.CFE_STRIKEOUT };