1 type derived from LayoutOptions
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
4780internal class ToolStripItemLayoutOptions : ButtonBaseAdapter.LayoutOptions {
2 instantiations of LayoutOptions
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1509LayoutOptions layout = new LayoutOptions(); 1535LayoutOptions layout = new LayoutOptions();
53 references to LayoutOptions
System.Windows.Forms (53)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (8)
58LayoutOptions options = Layout(pe); 64protected abstract LayoutOptions Layout(PaintEventArgs e); 1494internal LayoutOptions options; 1496internal LayoutData(LayoutOptions options) { 1507internal static LayoutOptions CommonLayout(Rectangle clientRectangle, Padding padding, bool isDefault, Font font, string text, bool enabled, ContentAlignment textAlign, RightToLeft rtl) 1509LayoutOptions layout = new LayoutOptions(); 1534internal virtual LayoutOptions CommonLayout() { 1535LayoutOptions layout = new LayoutOptions();
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (6)
271protected override LayoutOptions Layout(PaintEventArgs e) { 272LayoutOptions layout = PaintFlatLayout(e, /* up = */ false, /* check = */ true, Control.FlatAppearance.BorderSize); 287internal static LayoutOptions PaintFlatLayout(Graphics g, bool up, bool check, int borderSize, Rectangle clientRectangle, Padding padding, 290LayoutOptions layout = CommonLayout(clientRectangle, padding, isDefault, font, text, enabled, textAlign, rtl); 302private LayoutOptions PaintFlatLayout(PaintEventArgs e, bool up, bool check, int borderSize) { 303LayoutOptions layout = CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (6)
148protected override LayoutOptions Layout(PaintEventArgs e) { 149LayoutOptions layout = PaintPopupLayout(e, /* up = */ false, 0); 159internal static LayoutOptions PaintPopupLayout(Graphics g, bool up, int paintedBorder, Rectangle clientRectangle, Padding padding, 162LayoutOptions layout = CommonLayout(clientRectangle, padding, isDefault, font, text, enabled, textAlign, rtl); 177private LayoutOptions PaintPopupLayout(PaintEventArgs e, bool up, int paintedBorder) { 179LayoutOptions layout = CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (4)
223protected override LayoutOptions Layout(PaintEventArgs e) { 224LayoutOptions layout = PaintLayout(e, /* up = */ false); 231private LayoutOptions PaintLayout(PaintEventArgs e, bool up) { 232LayoutOptions layout = CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\CheckableControlBaseAdapter.cs (3)
41LayoutOptions options = Layout(pe); 66internal override LayoutOptions CommonLayout() { 67LayoutOptions layout = base.CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
287internal override LayoutOptions CommonLayout() { 288LayoutOptions layout = base.CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxFlatAdapter.cs (2)
88protected override LayoutOptions Layout(PaintEventArgs e) { 89LayoutOptions layout = CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (6)
107protected override LayoutOptions Layout(PaintEventArgs e) { 108LayoutOptions layout = PaintPopupLayout(e, /* up = */ true); 117internal static LayoutOptions PaintPopupLayout(Graphics g, bool show3D, int checkSize, Rectangle clientRectangle, Padding padding, 121LayoutOptions layout = CommonLayout(clientRectangle, padding, isDefault, font, text, enabled, textAlign, rtl); 134private LayoutOptions PaintPopupLayout(PaintEventArgs e, bool show3D) { 135LayoutOptions layout = CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (3)
86LayoutOptions options = Layout(pe); 106protected override LayoutOptions Layout(PaintEventArgs e) { 107LayoutOptions layout = CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (2)
207internal override LayoutOptions CommonLayout() { 208LayoutOptions layout = base.CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonFlatAdapter.cs (2)
88protected override LayoutOptions Layout(PaintEventArgs e) { 89LayoutOptions layout = CommonLayout();
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonPopupAdapter.cs (2)
93protected override LayoutOptions Layout(PaintEventArgs e) { 94LayoutOptions layout = base.Layout(e);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonStandardAdapter.cs (2)
66protected override LayoutOptions Layout(PaintEventArgs e) { 67LayoutOptions layout = CommonLayout();
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
957ButtonBaseAdapter.LayoutOptions options = ButtonInternal.ButtonFlatAdapter.PaintFlatLayout(g, 987ButtonBaseAdapter.LayoutOptions options = ButtonInternal.ButtonPopupAdapter.PaintPopupLayout(g,
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (3)
1471ButtonBaseAdapter.LayoutOptions options = ButtonInternal.CheckBoxPopupAdapter.PaintPopupLayout(g, 1519ButtonBaseAdapter.LayoutOptions options = ButtonInternal.CheckBoxPopupAdapter.PaintPopupLayout(g, 1563ButtonBaseAdapter.LayoutOptions options = ButtonInternal.CheckBoxPopupAdapter.PaintPopupLayout(g,