DekGenius.com
[ Team LiB ] Previous Section Next Section

DeviceSpecific.NET 1.1, disposable

System.Web.UI.MobileControls (system.web.mobile.dll)class

This class represents the <DeviceSpecific> element in a .aspx file, which provides a way to specify conditional control information depending on the target device. A <DeviceSpecific> element contains one or more <Choice> elements, each of which contains attributes that specify how to evaluate the choice against the capabilities of the client device. When the page is loaded at run time, the first matching choice is used.

public class DeviceSpecific : System.Web.UI.Control {
// Public Constructors
   public DeviceSpecific( );
// Public Instance Properties
   public DeviceSpecificChoiceCollection Choices{get; }
   public override bool EnableViewState{set; get; }              // overrides System.Web.UI.Control
   public bool HasTemplates{get; }
   public MobilePage MobilePage{get; }
   public object Owner{get; }
   public DeviceSpecificChoice SelectedChoice{get; }
   public override bool Visible{set; get; }         // overrides System.Web.UI.Control
// Public Instance Methods
   public ITemplate GetTemplate(string templateName);
// Protected Instance Methods
   protected override void AddParsedSubObject(object obj);      // overrides System.Web.UI.Control
// Events
   public event EventHandler DataBinding;           // overrides System.Web.UI.Control
   public event EventHandler Disposed;              // overrides System.Web.UI.Control
   public event EventHandler Init;                  // overrides System.Web.UI.Control
   public event EventHandler Load;                  // overrides System.Web.UI.Control
   public event EventHandler PreRender;             // overrides System.Web.UI.Control
   public event EventHandler Unload;                // overrides System.Web.UI.Control
}

Hierarchy

System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) DeviceSpecific

Returned By

MobileControl.DeviceSpecific, Style.DeviceSpecific

Passed To

MobileControl.DeviceSpecific, Style.DeviceSpecific

    [ Team LiB ] Previous Section Next Section