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