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