33 references to ToolStripStatusLabelBorderSides
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (5)
21
private
ToolStripStatusLabelBorderSides
_borderSides =
ToolStripStatusLabelBorderSides
.None;
104
[DefaultValue(
ToolStripStatusLabelBorderSides
.None)]
107
public
ToolStripStatusLabelBorderSides
BorderSides
179
if (BorderSides !=
ToolStripStatusLabelBorderSides
.None)
System.Windows.Forms.Design (21)
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (21)
338
private void SetCheckBoxCheckState(
ToolStripStatusLabelBorderSides
sides)
341
if (sides.HasFlag(
ToolStripStatusLabelBorderSides
.All))
352
_noneCheckBox.Checked = sides.HasFlag(
ToolStripStatusLabelBorderSides
.None);
353
_topCheckBox.Checked = sides.HasFlag(
ToolStripStatusLabelBorderSides
.Top);
354
_bottomCheckBox.Checked = sides.HasFlag(
ToolStripStatusLabelBorderSides
.Bottom);
355
_leftCheckBox.Checked = sides.HasFlag(
ToolStripStatusLabelBorderSides
.Left);
356
_rightCheckBox.Checked = sides.HasFlag(
ToolStripStatusLabelBorderSides
.Right);
370
if (value is
ToolStripStatusLabelBorderSides
currentSides)
387
ToolStripStatusLabelBorderSides
valueSide =
ToolStripStatusLabelBorderSides
.None;
390
valueSide |=
ToolStripStatusLabelBorderSides
.All;
399
valueSide |=
ToolStripStatusLabelBorderSides
.None;
404
valueSide |=
ToolStripStatusLabelBorderSides
.Top;
409
valueSide |=
ToolStripStatusLabelBorderSides
.Bottom;
414
valueSide |=
ToolStripStatusLabelBorderSides
.Left;
419
valueSide |=
ToolStripStatusLabelBorderSides
.Right;
422
if (valueSide ==
ToolStripStatusLabelBorderSides
.None)
429
if (valueSide == (
ToolStripStatusLabelBorderSides
.Left |
ToolStripStatusLabelBorderSides
.Right |
430
ToolStripStatusLabelBorderSides
.Top |
ToolStripStatusLabelBorderSides
.Bottom))
System.Windows.Forms.Design.Tests (2)
EnsureEditorsTests.cs (1)
67
[InlineData(typeof(
ToolStripStatusLabelBorderSides
), typeof(BorderSidesEditor))]
System\Windows\Forms\Design\BorderSidesEditorTests.cs (1)
24
yield return new object[] {
ToolStripStatusLabelBorderSides
.Top };
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripStatusLabelTests.cs (5)
104
[InlineData(
ToolStripStatusLabelBorderSides
.Left)]
105
[InlineData(
ToolStripStatusLabelBorderSides
.Right)]
106
[InlineData(
ToolStripStatusLabelBorderSides
.Top |
ToolStripStatusLabelBorderSides
.Bottom)]
107
public void ToolStripStatusLabel_BorderSidesProperty_SetAndGet_ReturnsExpected(
ToolStripStatusLabelBorderSides
borderSides)