25 types derived from WebControl
System.Web (24)
UI\WebControls\BaseDataBoundControl.cs (1)
28public abstract class BaseDataBoundControl : WebControl {
UI\WebControls\BaseDataList.cs (1)
27public abstract class BaseDataList : WebControl {
UI\WebControls\Button.cs (1)
30public class Button : WebControl, IButtonControl, IPostBackEventHandler {
UI\WebControls\Calendar.cs (1)
37public class Calendar : WebControl, IPostBackEventHandler {
UI\WebControls\CheckBox.cs (1)
29public class CheckBox : WebControl, IPostBackDataHandler, ICheckBoxControl {
UI\WebControls\CompositeControl.cs (1)
24public abstract class CompositeControl : WebControl, INamingContainer, ICompositeControlDesignerAccessor {
UI\WebControls\DataListItem.cs (1)
21public class DataListItem : WebControl, IDataItemContainer {
UI\WebControls\FileUpload.cs (1)
30public class FileUpload : WebControl {
UI\WebControls\HyperLink.cs (1)
44public class HyperLink : WebControl {
UI\WebControls\Image.cs (1)
23public class Image : WebControl {
UI\WebControls\Label.cs (1)
47public class Label : WebControl, ITextControl {
UI\WebControls\LinkButton.cs (1)
46public class LinkButton : WebControl, IButtonControl, IPostBackEventHandler {
UI\WebControls\LoginName.cs (1)
25public class LoginName : WebControl {
UI\WebControls\LoginUtil.cs (1)
240internal abstract class GenericContainer<ControlType> : WebControl where ControlType : WebControl,
UI\WebControls\Panel.cs (1)
26public class Panel : WebControl {
UI\WebControls\SiteMapNodeItem.cs (1)
20public class SiteMapNodeItem : WebControl, INamingContainer, IDataItemContainer {
UI\WebControls\Table.cs (1)
26public class Table : WebControl, IPostBackEventHandler {
UI\WebControls\TableCell.cs (1)
46public class TableCell : WebControl {
UI\WebControls\TableRow.cs (1)
27public class TableRow : WebControl {
UI\WebControls\TextBox.cs (1)
58public class TextBox : WebControl, IPostBackDataHandler, IEditableTextControl {
UI\WebControls\ValidationSummary.cs (1)
23public class ValidationSummary : WebControl {
UI\WebControls\Wizard.cs (3)
2584internal class WizardContainer : WebControl { 3214internal abstract class BlockControl : WebControl, INamingContainer, INonBindingContainer { 3334internal class BaseNavigationTemplateContainer : WebControl, INamingContainer, INonBindingContainer {
System.Web.Extensions (1)
UI\ScriptControl.cs (1)
19public abstract class ScriptControl : WebControl, IScriptControl {
4 instantiations of WebControl
System.Web (4)
UI\WebControls\RepeatInfo.cs (4)
180outerControl = new WebControl(HtmlTextWriterTag.Span); 419outerControl = new WebControl(HtmlTextWriterTag.Span); 422outerControl = new WebControl(HtmlTextWriterTag.Ul); 425outerControl = new WebControl(HtmlTextWriterTag.Ol);
132 references to WebControl
System.Web (122)
UI\Control.cs (1)
3433_occasionalFields.SpacerImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(WebControl), "Spacer.gif");
UI\Util.cs (2)
66internal static void CopyBaseAttributesToInnerControl(WebControl control, WebControl child) {
UI\WebControls\Adapters\MenuAdapter.cs (1)
566private void RenderStyle(HtmlTextWriter writer, WebControl control, string className, MenuItemStyle style, bool applyInlineBorder) {
UI\WebControls\Adapters\WebControlAdapter.cs (2)
17protected new WebControl Control { 19return (WebControl)base.Control;
UI\WebControls\AssociatedControlConverter.cs (1)
23return control is WebControl;
UI\WebControls\ButtonColumn.cs (1)
228WebControl buttonControl = null;
UI\WebControls\ButtonField.cs (2)
259((WebControl)button).DataBinding += new EventHandler(this.OnDataBindField); 262cell.Controls.Add((WebControl)button);
UI\WebControls\ChangePassword.cs (13)
2254if (DisplayUserName) ((WebControl)container.UserNameTextBox).ApplyStyle(TextBoxStyle); 2255((WebControl)container.CurrentPasswordTextBox).ApplyStyle(TextBoxStyle); 2256((WebControl)container.NewPasswordTextBox).ApplyStyle(TextBoxStyle); 2257((WebControl)container.ConfirmNewPasswordTextBox).ApplyStyle(TextBoxStyle); 2265((WebControl)container.UserNameTextBox).TabIndex = TabIndex; 2266((WebControl)container.UserNameTextBox).AccessKey = AccessKey; 2268((WebControl)container.CurrentPasswordTextBox).AccessKey = AccessKey; 2270((WebControl)container.CurrentPasswordTextBox).TabIndex = TabIndex; 2271((WebControl)container.NewPasswordTextBox).TabIndex = TabIndex; 2272((WebControl)container.ConfirmNewPasswordTextBox).TabIndex = TabIndex; 2333WebControl changePasswordButton = null; 2334WebControl cancelButton = null; 2510WebControl button = null;
UI\WebControls\Column.cs (1)
294WebControl headerControl = null;
UI\WebControls\CommandField.cs (1)
550cell.Controls.Add((WebControl)button);
UI\WebControls\CreateUserWizard.cs (18)
1797WebControl userTextBox = (WebControl)_createUserStepContainer.UserNameTextBox; 1802WebControl passwordTextBox = (WebControl)_createUserStepContainer.PasswordTextBox; 1806WebControl confirmTextBox = (WebControl)_createUserStepContainer.ConfirmPasswordTextBox; 1830WebControl emailTextBox = null; 1833emailTextBox = (WebControl)_createUserStepContainer.EmailTextBox; 1852WebControl questionTextBox = null; 1853WebControl answerTextBox = null; 1863questionTextBox = (WebControl)_createUserStepContainer.QuestionTextBox; 1868answerTextBox = (WebControl)_createUserStepContainer.AnswerTextBox; 2874WebControl createUserButton = (WebControl)_defaultCreateUserNavigationTemplate.CreateUserButton; 2875WebControl previousButton = (WebControl)_defaultCreateUserNavigationTemplate.PreviousButton; 2876WebControl cancelButton = (WebControl)_defaultCreateUserNavigationTemplate.CancelButton;
UI\WebControls\DataControlField.cs (1)
467WebControl headerControl = null;
UI\WebControls\DataControlLinkButton.cs (1)
92hyperLinkForeColor = ((WebControl)control).ForeColor;
UI\WebControls\DataControlPagerLinkButton.cs (1)
53hyperLinkForeColor = ((WebControl)control).ForeColor;
UI\WebControls\DataGridLinkButton.cs (1)
45hyperLinkForeColor = ((WebControl)control).ForeColor;
UI\WebControls\DetailsView.cs (2)
3333WebControl webControl = control as WebControl;
UI\WebControls\EditCommandColumn.cs (1)
155WebControl buttonControl = null;
UI\WebControls\GridView.cs (2)
4098WebControl webControl = control as WebControl;
UI\WebControls\HyperLinkStyle.cs (1)
49public sealed override void AddAttributesToRender(HtmlTextWriter writer, WebControl owner) {
UI\WebControls\login.cs (5)
1493WebControl userNameTextBox = (WebControl)container.UserNameTextBox; 1525WebControl passwordTextBox = (WebControl)container.PasswordTextBox; 1557WebControl button = null;
UI\WebControls\loginstatus.cs (1)
400WebControl visibleControl = null;
UI\WebControls\LoginUtil.cs (4)
45internal static void CopyBorderStyles(WebControl control, Style style) { 57internal static void CopyStyleToInnerControl(WebControl control, Style style) { 240internal abstract class GenericContainer<ControlType> : WebControl where ControlType : WebControl, 451internal static string ModifiedOuterTableBasicStylePropertyName(WebControl control) {
UI\WebControls\PasswordRecovery.cs (8)
1825if (userName is WebControl) ((WebControl)userName).TabIndex = TabIndex; 1867WebControl answerTextBox = (WebControl)container.AnswerTextBox; 1889WebControl button = null; 2066WebControl userNameTextBox = (WebControl)container.UserNameTextBox; 2088WebControl button = null;
UI\WebControls\RepeatInfo.cs (5)
153private void RenderHorizontalRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) { 167WebControl outerControl = null; 346public void RenderRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) { 372private void RenderVerticalRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) { 403WebControl outerControl = null;
UI\WebControls\Style.cs (1)
403public virtual void AddAttributesToRender(HtmlTextWriter writer, WebControl owner) {
UI\WebControls\TableItemStyle.cs (1)
144public override void AddAttributesToRender(HtmlTextWriter writer, WebControl owner) {
UI\WebControls\TableStyle.cs (1)
185public override void AddAttributesToRender(HtmlTextWriter writer, WebControl owner) {
UI\WebControls\TreeNode.cs (2)
1432&& !String.IsNullOrEmpty(WebControl.DisabledCssClass)) { 1433writer.AddAttribute(HtmlTextWriterAttribute.Class, WebControl.DisabledCssClass);
UI\WebControls\WebControl.cs (7)
53/// Initializes a new instance of the <see cref='System.Web.UI.WebControls.WebControl'/> class and renders 71/// Initializes a new instance of the <see cref='System.Web.UI.WebControls.WebControl'/> class and renders 670/// <para>Copies the <see cref='System.Web.UI.WebControls.WebControl.AccessKey'/>, <see cref='System.Web.UI.WebControls.WebControl.Enabled'/>, ToolTip, <see cref='System.Web.UI.WebControls.WebControl.TabIndex'/>, and <see cref='System.Web.UI.WebControls.WebControl.Attributes'/> properties onto the 673public void CopyBaseAttributes(WebControl controlSrc) {
UI\WebControls\Wizard.cs (6)
1416WebControl webCtrlButton = button as WebControl; 2134WebControl button = item.FindControl(SideBarButtonID) as WebControl; 3359WebControl webCtrl = control as WebControl;
UI\WebParts\AppearanceEditorPart.cs (2)
248WebControl[] propertyEditors = new WebControl[] {
UI\WebParts\BehaviorEditorPart.cs (2)
367WebControl[] propertyEditors = new WebControl[] {
UI\WebParts\EditorPart.cs (2)
153WebControl[] propertyEditors, string[] errorMessages) { 167WebControl editUIControl = propertyEditors[i];
UI\WebParts\GenericWebPart.cs (10)
105WebControl c = ChildControl as WebControl; 114WebControl c = ChildControl as WebControl; 228WebControl c = ChildControl as WebControl; 237WebControl c = ChildControl as WebControl; 274WebControl childWebControl = ChildControl as WebControl;
UI\WebParts\LayoutEditorPart.cs (2)
211WebControl[] propertyEditors = new WebControl[] {
UI\WebParts\PropertyGridEditorPart.cs (3)
313WebControl[] editorControls = (WebControl[])EditorControls.ToArray(typeof(WebControl));
UI\WebParts\ToolZone.cs (1)
377WebControl verbControl;
UI\WebParts\WebPartChrome.cs (1)
411WebControl verbControl;
UI\WebParts\WebPartMenu.cs (5)
137labelStyle.AddAttributesToRender(writer, _menuUser as WebControl); 205menuStyle.AddAttributesToRender(writer, _menuUser as WebControl); 336else if (!String.IsNullOrEmpty(WebControl.DisabledCssClass)) { 337disabledClass = WebControl.DisabledCssClass + " " + disabledClass; 367checkImageStyle.AddAttributesToRender(writer, _menuUser as WebControl);
System.Web.Extensions (6)
UI\WebControls\NextPreviousPagerField.cs (2)
506WebControl webControl = button as WebControl;
UI\WebControls\NumericPagerField.cs (4)
337WebControl webControl = button as WebControl; 380WebControl webControl = button as WebControl;
System.Web.Mobile (4)
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (1)
79System.Web.UI.WebControls.WebControl webCalendar = Control.WebCalendar;
UI\MobileControls\Design\MobileControlPersister.cs (2)
648if (component is WebControl) { 649expandos = ((WebControl)component).Attributes;
UI\MobileControls\Style.cs (1)
80public void ApplyTo(WebControl control)