1 instantiation of LayoutData
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
254LayoutData layout = new(this)
46 references to LayoutData
System.Windows.Forms (46)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (4)
374internal virtual void DrawImageCore(Graphics graphics, Image image, Rectangle imageBounds, Point imageStart, LayoutData layout) 451private void DrawText(PaintEventArgs e, LayoutData layout, Color color, ColorData colors) 528LayoutData layout, 546internal void PaintImage(PaintEventArgs e, LayoutData layout)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (4)
252internal LayoutData Layout() 254LayoutData layout = new(this) 355private void CalcCheckmarkRectangle(LayoutData layout) 475internal void LayoutTextAndImage(LayoutData layout)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (3)
26LayoutData layout = PaintFlatLayout( 119LayoutData layout = PaintFlatLayout( 213LayoutData layout = PaintFlatLayout(
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (3)
16LayoutData layout = PaintPopupLayout(state == CheckState.Unchecked, 1).Layout(); 62LayoutData layout = PaintPopupLayout(state == CheckState.Unchecked, SystemInformation.HighContrast ? 2 : 1).Layout(); 120LayoutData layout = PaintPopupLayout(up: false, SystemInformation.HighContrast ? 2 : 1).Layout();
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
111LayoutData layout;
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (5)
30LayoutData layout, 136protected void DrawCheckOnly(PaintEventArgs e, LayoutData layout, ColorData colors, Color checkColor) => 153LayoutData layout, 258protected void DrawCheckBox(PaintEventArgs e, LayoutData layout) 328protected void AdjustFocusRectangle(LayoutData layout)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxFlatAdapter.cs (1)
71LayoutData layout = Layout(e).Layout();
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (3)
25LayoutData layout = PaintPopupLayout(show3D: false).Layout(); 60LayoutData layout = PaintPopupLayout(show3D: true).Layout(); 103LayoutData layout = PaintPopupLayout(show3D: true).Layout();
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (1)
24LayoutData layout = Layout(e).Layout();
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (4)
16LayoutData layout, 133protected void DrawCheckOnly(PaintEventArgs e, LayoutData layout, Color checkColor, bool disabledColors) 194protected void DrawCheckBox(PaintEventArgs e, LayoutData layout) 219protected void AdjustFocusRectangle(LayoutData layout)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonFlatAdapter.cs (1)
74LayoutData layout = Layout(e).Layout();
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (3)
20LayoutData layout = Layout(e).Layout(); 49LayoutData layout = Layout(e).Layout(); 74LayoutData layout = Layout(e).Layout();
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (1)
19LayoutData layout = Layout(e).Layout();
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (2)
918ButtonBaseAdapter.LayoutData layout = options.Layout(); 948ButtonBaseAdapter.LayoutData layout = options.Layout();
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (3)
1405ButtonBaseAdapter.LayoutData layout = options.Layout(); 1454ButtonBaseAdapter.LayoutData layout = options.Layout(); 1501ButtonBaseAdapter.LayoutData layout = options.Layout();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (1)
87internal override void DrawImageCore(Graphics graphics, Image image, Rectangle imageBounds, Point imageStart, LayoutData layout)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (6)
18private ButtonBaseAdapter.LayoutData? _layoutData; 36ButtonBaseAdapter.LayoutData layoutData = LayoutData; 43internal ButtonBaseAdapter.LayoutData LayoutData 60ButtonBaseAdapter.LayoutData layoutData = LayoutData; 144private ButtonBaseAdapter.LayoutData GetLayoutData() 153ButtonBaseAdapter.LayoutData data = _currentLayoutOptions.Layout();