39 references to TopSizeable
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\Behavior\GrabHandleGlyph.cs (3)
35rules = SelectionRules.TopSizeable | SelectionRules.LeftSizeable; 40rules = SelectionRules.TopSizeable | SelectionRules.RightSizeable; 60rules = SelectionRules.TopSizeable;
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (5)
133else if ((rules & SelectionRules.TopSizeable) != 0) 170else if ((rules & SelectionRules.TopSizeable) != 0) 556if ((((_targetResizeRules & SelectionRules.BottomSizeable) != 0) || ((_targetResizeRules & SelectionRules.TopSizeable) != 0)) && 683if (((_targetResizeRules & SelectionRules.TopSizeable) != 0) && 684((resizeRules & SelectionRules.TopSizeable) != 0))
System\Windows\Forms\Design\Behavior\SelectionBorderGlyph.cs (2)
38if ((selRules & SelectionRules.TopSizeable) != 0) 41rules = SelectionRules.TopSizeable;
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
116rules &= ~(SelectionRules.TopSizeable | SelectionRules.BottomSizeable);
System\Windows\Forms\Design\ControlDesigner.cs (5)
251rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable); 254rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.BottomSizeable); 257rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.BottomSizeable | SelectionRules.RightSizeable); 263rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.BottomSizeable); 781if ((rules & SelectionRules.TopSizeable) != 0)
System\Windows\Forms\Design\DateTimePickerDesigner.cs (1)
43=> base.SelectionRules & ~(SelectionRules.TopSizeable | SelectionRules.BottomSizeable);
System\Windows\Forms\Design\DocumentDesigner.cs (1)
169rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable);
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (1)
194rules &= ~(SelectionRules.TopSizeable | SelectionRules.BottomSizeable); // Height is fixed.
System\Windows\Forms\Design\MonthCalendarDesigner.cs (2)
26rules &= ~(SelectionRules.TopSizeable | SelectionRules.LeftSizeable); 30rules &= ~(SelectionRules.TopSizeable | SelectionRules.RightSizeable);
System\Windows\Forms\Design\SelectionRules.cs (1)
67AllSizeable = TopSizeable | BottomSizeable | LeftSizeable | RightSizeable
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
359if ((_rules & SelectionRules.TopSizeable) != 0)
System\Windows\Forms\Design\SelectionUIService.cs (2)
563rules |= SelectionRules.TopSizeable; 1073if ((_dragRules & SelectionRules.Moveable) == SelectionRules.None && (_dragRules & (SelectionRules.TopSizeable | SelectionRules.LeftSizeable)) == SelectionRules.None)
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (2)
428if ((rules & SelectionRules.TopSizeable) != SelectionRules.TopSizeable)
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
142rules &= ~(SelectionRules.TopSizeable | SelectionRules.BottomSizeable);
System\Windows\Forms\Design\TrackBarDesigner.cs (1)
29rules &= ~(SelectionRules.TopSizeable | SelectionRules.BottomSizeable);
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
32rules &= ~(SelectionRules.TopSizeable | SelectionRules.BottomSizeable);
System.Windows.Forms.Design.Tests (9)
ControlDesignerTests.cs (7)
89[InlineData(DockStyle.Top, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable)] 90[InlineData(DockStyle.Left, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.BottomSizeable)] 91[InlineData(DockStyle.Right, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.BottomSizeable | SelectionRules.RightSizeable)] 93[InlineData(DockStyle.Fill, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.BottomSizeable)] 308(typeof(GrabHandleGlyph), SelectionRules.TopSizeable | SelectionRules.LeftSizeable), 309(typeof(GrabHandleGlyph), SelectionRules.TopSizeable | SelectionRules.RightSizeable), 315(typeof(SelectionBorderGlyph), SelectionRules.TopSizeable),
System\Windows\Forms\Design\TextBoxBaseDesignerTests.cs (1)
41rules.Should().NotHaveFlag(SelectionRules.TopSizeable | SelectionRules.BottomSizeable);
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (1)
45rules.Should().NotHaveFlag(SelectionRules.TopSizeable | SelectionRules.BottomSizeable);