45 references to Add
System.Web (40)
UI\HtmlControls\HtmlSelect.cs (2)
489Items.Add((ListItem)obj); 663Items.Add(item);
UI\WebControls\ListControl.cs (1)
723Items.Add(item);
UI\WebControls\ListItemCollection.cs (4)
85Add(new ListItem(item)); 118Add(item); 351Add(li); 367Add(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)
665zonesDropDownList.Items.Add(item);
UI\WebParts\ConnectionsZone.cs (6)
2139list.Items.Add(new ListItem(SR.GetString(SR.ConnectionsZone_NoConsumers), String.Empty)); 2143list.Items.Add(new ListItem()); 2174list.Items.Add(item); 2194list.Items.Add(new ListItem(SR.GetString(SR.ConnectionsZone_NoProviders), String.Empty)); 2198list.Items.Add(new ListItem()); 2228list.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)
202dropDownList.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)
269consumerFieldName.Items.Add(new ListItem()); 297consumerFieldName.Items.Add(item); 301consumerFieldName.Items.Add(new ListItem(
System.Web.DynamicData (5)
DynamicData\FieldTemplateUserControl.cs (1)
319list.Items.Add(new ListItem((string)entry.Key, (string)entry.Value));
DynamicData\FilterUserControlBase.cs (2)
326listControl.Items.Add(new ListItem(DynamicDataResources.FilterUserControlBase_BooleanFilter_TrueString, bool.TrueString)); 327listControl.Items.Add(new ListItem(DynamicDataResources.FilterUserControlBase_BooleanFilter_FalseString, bool.FalseString));
DynamicData\QueryableFilterUserControl.cs (1)
58list.Items.Add(new ListItem((string)entry.Key, (string)entry.Value));
DynamicData\Util\Misc.cs (1)
261listItemCollection.Add(new ListItem(text, value.TrimEnd()));