3 types derived from TableLayoutStyle
System.Windows.Forms (2)
System\Windows\Forms\Panels\TableLayoutPanel\ColumnStyle.cs (1)
6
public class ColumnStyle :
TableLayoutStyle
System\Windows\Forms\Panels\TableLayoutPanel\RowStyle.cs (1)
6
public class RowStyle :
TableLayoutStyle
System.Windows.Forms.Tests (1)
System\Windows\Forms\TableLayoutStyleTests.cs (1)
175
private class SubTableLayoutStyle :
TableLayoutStyle
36 references to TableLayoutStyle
System.Windows.Forms (23)
System\Windows\Forms\Layout\TableLayout.cs (6)
657
TableLayoutStyle
? style = i < styles.Count ? styles[i] : null;
767
TableLayoutStyle
style = styles[i];
786
TableLayoutStyle
style = styles[i];
1030
TableLayoutStyle
style = styles[i];
1099
TableLayoutStyle
style = styles[i];
1131
TableLayoutStyle
style = styles[i];
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.StyleConverter.cs (1)
26
if (destinationType == typeof(InstanceDescriptor) && value is
TableLayoutStyle
style)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (16)
15
private readonly List<
TableLayoutStyle
> _innerList = [];
26
int IList.Add(object? style) => Add((
TableLayoutStyle
)style!);
28
public int Add(
TableLayoutStyle
style)
31
if (style is not
TableLayoutStyle
tableLayoutStyle)
33
throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(
TableLayoutStyle
)), nameof(style));
46
if (style is not
TableLayoutStyle
tableLayoutStyle)
48
throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(
TableLayoutStyle
)), nameof(style));
63
if (value is not
TableLayoutStyle
tableLayoutStyle)
65
throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(value), typeof(
TableLayoutStyle
)), nameof(value));
75
public
TableLayoutStyle
this[int index]
77
get => (
TableLayoutStyle
)((IList)this)[index]!;
88
if (style is not
TableLayoutStyle
tableLayoutStyle)
90
throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(
TableLayoutStyle
)), nameof(style));
104
foreach (
TableLayoutStyle
style in _innerList)
115
TableLayoutStyle
style = _innerList[index];
139
private static void EnsureNotOwned(
TableLayoutStyle
style)
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (3)
26
private List<
TableLayoutStyle
> _styles;
169
_styles = ((TableLayoutStyleCollection)_changedProp.GetValue(_table)).Cast<
TableLayoutStyle
>().ToList();
413
public
TableLayoutStyle
style;
System\Windows\Forms\Design\Behavior\TableLayoutPanelResizeGlyph.cs (3)
14
private readonly
TableLayoutStyle
_style;
20
internal TableLayoutPanelResizeGlyph(Rectangle controlBounds,
TableLayoutStyle
style, Cursor hitTestCursor, Behavior behavior) : base(behavior)
38
public
TableLayoutStyle
Style => _style;
System.Windows.Forms.Tests (7)
System\Windows\Forms\TableLayoutStyleTests.cs (7)
115
[InlineData(typeof(
TableLayoutStyle
), false)]
120
TypeConverter converter = TypeDescriptor.GetConverter(typeof(
TableLayoutStyle
));
138
TypeConverter converter = TypeDescriptor.GetConverter(typeof(
TableLayoutStyle
));
148
TypeConverter converter = TypeDescriptor.GetConverter(typeof(
TableLayoutStyle
));
155
TypeConverter converter = TypeDescriptor.GetConverter(typeof(
TableLayoutStyle
));
162
TypeConverter converter = TypeDescriptor.GetConverter(typeof(
TableLayoutStyle
));
171
TypeConverter converter = TypeDescriptor.GetConverter(typeof(
TableLayoutStyle
));