33 references to ToolStripStatusLabelBorderSides
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (5)
21private ToolStripStatusLabelBorderSides _borderSides = ToolStripStatusLabelBorderSides.None; 104[DefaultValue(ToolStripStatusLabelBorderSides.None)] 107public ToolStripStatusLabelBorderSides BorderSides 179if (BorderSides != ToolStripStatusLabelBorderSides.None)
System.Windows.Forms.Design (21)
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (21)
338private void SetCheckBoxCheckState(ToolStripStatusLabelBorderSides sides) 341if (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); 370if (value is ToolStripStatusLabelBorderSides currentSides) 387ToolStripStatusLabelBorderSides valueSide = ToolStripStatusLabelBorderSides.None; 390valueSide |= ToolStripStatusLabelBorderSides.All; 399valueSide |= ToolStripStatusLabelBorderSides.None; 404valueSide |= ToolStripStatusLabelBorderSides.Top; 409valueSide |= ToolStripStatusLabelBorderSides.Bottom; 414valueSide |= ToolStripStatusLabelBorderSides.Left; 419valueSide |= ToolStripStatusLabelBorderSides.Right; 422if (valueSide == ToolStripStatusLabelBorderSides.None) 429if (valueSide == (ToolStripStatusLabelBorderSides.Left | ToolStripStatusLabelBorderSides.Right | 430ToolStripStatusLabelBorderSides.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)
24yield 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)] 107public void ToolStripStatusLabel_BorderSidesProperty_SetAndGet_ReturnsExpected(ToolStripStatusLabelBorderSides borderSides)