45 references to Add
System.Web (40)
UI\HtmlControls\HtmlSelect.cs (2)
489
Items.
Add
((ListItem)obj);
663
Items.
Add
(item);
UI\WebControls\ListControl.cs (1)
723
Items.
Add
(item);
UI\WebControls\ListItemCollection.cs (4)
85
Add
(new ListItem(item));
118
Add
(item);
351
Add
(li);
367
Add
(new ListItem(texts[i], values[i], enabled[i]));
UI\WebParts\AppearanceEditorPart.cs (17)
184
_chromeType.Items.
Add
(new ListItem(SR.GetString(SR.PartChromeType_Default),
186
_chromeType.Items.
Add
(new ListItem(SR.GetString(SR.PartChromeType_TitleAndBorder),
188
_chromeType.Items.
Add
(new ListItem(SR.GetString(SR.PartChromeType_TitleOnly),
190
_chromeType.Items.
Add
(new ListItem(SR.GetString(SR.PartChromeType_BorderOnly),
192
_chromeType.Items.
Add
(new ListItem(SR.GetString(SR.PartChromeType_None),
198
_direction.Items.
Add
(new ListItem(SR.GetString(SR.ContentDirection_NotSet),
200
_direction.Items.
Add
(new ListItem(SR.GetString(SR.ContentDirection_LeftToRight),
202
_direction.Items.
Add
(new ListItem(SR.GetString(SR.ContentDirection_RightToLeft),
338
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Pixels),
340
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Points),
342
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Picas),
344
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Inches),
346
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Millimeters),
348
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Centimeters),
350
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Percent),
352
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Em),
354
_type.Items.
Add
(new ListItem(SR.GetString(SR.AppearanceEditorPart_Ex),
UI\WebParts\CatalogZoneBase.cs (1)
665
zonesDropDownList.Items.
Add
(item);
UI\WebParts\ConnectionsZone.cs (6)
2139
list.Items.
Add
(new ListItem(SR.GetString(SR.ConnectionsZone_NoConsumers), String.Empty));
2143
list.Items.
Add
(new ListItem());
2174
list.Items.
Add
(item);
2194
list.Items.
Add
(new ListItem(SR.GetString(SR.ConnectionsZone_NoProviders), String.Empty));
2198
list.Items.
Add
(new ListItem());
2228
list.Items.
Add
(item);
UI\WebParts\LayoutEditorPart.cs (3)
151
_chromeState.Items.
Add
(new ListItem(SR.GetString(SR.PartChromeState_Normal),
153
_chromeState.Items.
Add
(new ListItem(SR.GetString(SR.PartChromeState_Minimized),
166
_zone.Items.
Add
(item);
UI\WebParts\PropertyGridEditorPart.cs (1)
202
dropDownList.Items.
Add
(new ListItem(text));
UI\WebParts\RowToFieldTransformer.cs (2)
133
_fieldName.Items.
Add
(item);
137
_fieldName.Items.
Add
(new ListItem(SR.GetString(SR.RowToFieldTransformer_NoProviderSchema)));
UI\WebParts\RowToParametersTransformer.cs (3)
269
consumerFieldName.Items.
Add
(new ListItem());
297
consumerFieldName.Items.
Add
(item);
301
consumerFieldName.Items.
Add
(new ListItem(
System.Web.DynamicData (5)
DynamicData\FieldTemplateUserControl.cs (1)
319
list.Items.
Add
(new ListItem((string)entry.Key, (string)entry.Value));
DynamicData\FilterUserControlBase.cs (2)
326
listControl.Items.
Add
(new ListItem(DynamicDataResources.FilterUserControlBase_BooleanFilter_TrueString, bool.TrueString));
327
listControl.Items.
Add
(new ListItem(DynamicDataResources.FilterUserControlBase_BooleanFilter_FalseString, bool.FalseString));
DynamicData\QueryableFilterUserControl.cs (1)
58
list.Items.
Add
(new ListItem((string)entry.Key, (string)entry.Value));
DynamicData\Util\Misc.cs (1)
261
listItemCollection.
Add
(new ListItem(text, value.TrimEnd()));