9 types derived from MobileControl
System.Web.Mobile (9)
UI\MobileControls\AdRotator.cs (1)
51public class AdRotator : MobileControl
UI\MobileControls\Calendar.cs (1)
44public class Calendar : MobileControl, IPostBackEventHandler
UI\MobileControls\Image.cs (1)
39public class Image : MobileControl, IPostBackEventHandler
UI\MobileControls\PagedControl.cs (1)
29public abstract class PagedControl : MobileControl
UI\MobileControls\Panel.cs (1)
27public class Panel : MobileControl, ITemplateable
UI\MobileControls\SelectionList.cs (1)
43public class SelectionList : MobileControl, IPostBackDataHandler, IListControl
UI\MobileControls\StyleSheet.cs (1)
43public class StyleSheet : MobileControl
UI\MobileControls\TextControl.cs (1)
30public abstract class TextControl : MobileControl
UI\MobileControls\ValidationSummary.cs (1)
41public class ValidationSummary : MobileControl
152 references to MobileControl
System.Web.Mobile (152)
UI\MobileControls\Adapters\ChtmlFormAdapter.cs (2)
52MobileControl mobileControl = control as MobileControl;
UI\MobileControls\Adapters\ControlAdapter.cs (2)
71private MobileControl _control; 74public MobileControl Control
UI\MobileControls\Adapters\HtmlControlAdapter.cs (3)
142MobileControl control = Control; 257MobileControl mobileCtl = child as MobileControl;
UI\MobileControls\Adapters\HtmlFormAdapter.cs (10)
155MobileControl secondaryUIControl = SecondaryUIControl as MobileControl; 499MobileControl mc = control as MobileControl; 509MobileControl mobileChild = child as MobileControl; 523private bool IsControlInFormHeader(MobileControl control) 528private bool IsControlInFormFooter(MobileControl control) 533private bool IsAncestor(MobileControl ancestor, MobileControl descendant)
UI\MobileControls\Adapters\WmlControlAdapter.cs (1)
273internal String GetControlPostBackValue(MobileControl ctl)
UI\MobileControls\Adapters\WmlFormAdapter.cs (8)
74MobileControl secondaryUIControl = SecondaryUIControl as MobileControl; 176MobileControl mobileCtl = control as MobileControl; 310MobileControl mc = control as MobileControl; 320MobileControl mobileChild = child as MobileControl;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (5)
126MobileControl mobileControl = Control as MobileControl; 601protected virtual String GetCustomAttributeValue(MobileControl control, String attributeName) { 688MobileControl mobileCtl = child as MobileControl;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (14)
199private MobileControl _secondaryUIControl; 204Control ctl = control.Parent as MobileControl; 218ctl = ctl.Parent as MobileControl; 234internal int GetSecondaryUIMode(MobileControl control) { 238internal void SetSecondaryUIMode(MobileControl control, int mode) { 256internal MobileControl SecondaryUIControl { 263private bool IsControlInFormHeader(MobileControl control) { 268private bool IsControlInFormFooter(MobileControl control) { 272private bool IsAncestor(MobileControl ancestor, MobileControl descendant) { 397MobileControl mc = control as MobileControl; 407MobileControl mobileChild = child as MobileControl;
UI\MobileControls\ControlPager.cs (1)
117public ItemPager GetItemPager(MobileControl control, int itemCount, int itemsPerPage, int itemWeight)
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (3)
288internal static int GetMaxWidthToFit(MobileControl control, out byte templateStatus) 331Debug.Assert(control.Parent is MobileControl); 332Style parentStyle = ((MobileControl) control.Parent).Style;
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (1)
58internal void WriteDesignerStyleAttributes(MobileControl control,
UI\MobileControls\Design\Converters\ChoiceConverter.cs (3)
78else if (instance is MobileControl) 80MobileControl mc = (MobileControl) instance;
UI\MobileControls\Design\Converters\FormConverter.cs (11)
29private Form GetContainingForm(MobileControl mc) 34private StyleSheet GetContainingStyleSheet(MobileControl mc) 39private Control FindContainer(MobileControl mc, Type containerType) 54MobileControl control = null; 64Debug.Assert(obj is MobileControl); 65Form form = GetContainingForm((MobileControl)obj); 72GetContainingStyleSheet((MobileControl)obj) == null) 77control = list.GetValue(0) as MobileControl; 81if (context.Instance is MobileControl) 83control = (MobileControl) context.Instance; 89control = designer.UnderlyingObject as MobileControl;
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (3)
65else if (instance is System.Web.UI.MobileControls.MobileControl) 67MobileControl control = (MobileControl)instance;
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (3)
23private Form GetContainingForm(MobileControl mc) 28private StyleSheet GetContainingStyleSheet(MobileControl mc) 33private Control FindContainer(MobileControl mc, Type containerType)
UI\MobileControls\Design\MobileComponentEditorPage.cs (4)
39private MobileControl _control = null; 80protected MobileControl GetBaseControl() 88Debug.Assert(selectedComponent is MobileControl); 89_control = (MobileControl)selectedComponent;
UI\MobileControls\Design\MobileContainerDesigner.cs (3)
35private MobileControl _mobileControl; 269Debug.Assert(component is MobileControl, 272_mobileControl = (MobileControl) component;
UI\MobileControls\Design\MobileControlDesigner.cs (5)
38private MobileControl _mobileControl; 442Debug.Assert(component is System.Web.UI.MobileControls.MobileControl, 447_mobileControl = (System.Web.UI.MobileControls.MobileControl) component; 589ds = ((MobileControl) _mobileControl).DeviceSpecific; 598ds.SetOwner((MobileControl) _mobileControl);
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (4)
43private MobileControl _mobileControl; 679Debug.Assert(component is System.Web.UI.MobileControls.MobileControl || 685if (component is System.Web.UI.MobileControls.MobileControl) 687_mobileControl = (System.Web.UI.MobileControls.MobileControl) component;
UI\MobileControls\Design\PropertyOverridesDialog.cs (5)
735MobileControl destControl = null; 746if(source is MobileControl) 750destControl = (MobileControl) dest; 751MobileControl sourceControl = (MobileControl) source;
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
798ds.SetOwner((MobileControl) _styleSheet);
UI\MobileControls\Design\TemplatingOptionsDialog.cs (2)
325MobileControl mobileControl = control as MobileControl;
UI\MobileControls\Design\Util\DesignerUtility.cs (1)
47internal static bool TopLevelControl(MobileControl control)
UI\MobileControls\DeviceSpecific.cs (4)
160Debug.Assert(Owner is MobileControl); 161return ((MobileControl)Owner).MobilePage; 194MobileControl control = 195(asStyle != null) ? asStyle.Control : (MobileControl)Owner;
UI\MobileControls\ErrorFormatterPage.cs (2)
63private MobileControl CreateControlForText(String text) 83MobileControl ctl;
UI\MobileControls\Form.cs (5)
581MobileControl ctp = control as MobileControl; 593MobileControl mc = control as MobileControl; 768(typeof(MobileControl).IsAssignableFrom(controlType)) ||
UI\MobileControls\IControlAdapter.cs (1)
31MobileControl Control
UI\MobileControls\ItemPager.cs (2)
30private MobileControl _control; 43public ItemPager(ControlPager pager, MobileControl control, int itemCount, int itemsPerPage, int itemWeight)
UI\MobileControls\LiteralText.cs (2)
53String s = (String)ViewState[MobileControl.InnerTextViewStateKey]; 59ViewState[MobileControl.InnerTextViewStateKey] = value;
UI\MobileControls\MobileControl.cs (19)
218MobileControl ctl = control as MobileControl; 1284if (child is MobileControl && child.Visible) 1286MobileControl control = (MobileControl)child; 1371MobileControl mobileCtl = child as MobileControl; 1395MobileControl mobileChild = child as MobileControl; 1416MobileControl mobileControl = control as MobileControl; 1432MobileControl.OnPageChangeRecursive(this, oldPageIndex, newPageIndex); 1441MobileControl mobileCtl = child as MobileControl; 1493private void SetInstantiatingTemplateAndVerify (ITemplate instantiatingTemplate, MobileControl parent) 1495for (MobileControl c = parent; c != null; c = c.Parent as MobileControl) 1506internal void CheckedInstantiateTemplate(ITemplate template, MobileControl target, MobileControl targetParent)
UI\MobileControls\MobileControlsSection.cs (1)
593private static readonly ConfigurationValidatorBase s_SubclassTypeValidator = new SubclassTypeValidator( typeof( MobileControl ) );
UI\MobileControls\MobileControlsSectionHandler.cs (1)
114idc.AddControl(CheckedGetType(controlName, "control", helper, typeof(MobileControl), currentChild),
UI\MobileControls\MobilePage.cs (9)
404internal void AddClientViewState(MobileControl control, Object viewState) 410public virtual IControlAdapter GetControlAdapter(MobileControl control) 1037MobileControl control = FindControl (_eventSource) as MobileControl; 1110public Object GetPrivateViewState(MobileControl ctl) 1196MobileControl ctl = FindControl((String)entry.Key) as MobileControl; 1334MobileControl c = e.Current as MobileControl;
UI\MobileControls\Panel.cs (2)
46if (child is MobileControl) 48((MobileControl)child).AddLinkedForms(linkedForms);
UI\MobileControls\Style.cs (9)
54private MobileControl _control; // containing control 206public MobileControl Control 214internal void SetControl(MobileControl control) 427if (_control.Parent is MobileControl) 429parentStyle = ((MobileControl)_control.Parent).Style; 437_control.Parent.Parent is MobileControl) 439parentStyle = ((MobileControl)_control.Parent.Parent).Style; 444while(!(_tempControl is MobileControl) && (_tempControl != null)) 450parentStyle = ((MobileControl)_tempControl).Style;