www.gibmonks.com

Main Page

  Previous Section Next Section

DeviceSpecificChoice.NET 1.1

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

This class represents the <Choice> element in a .aspx file. Each <Choice> element represents a distinct condition (typically corresponding to a different type of client device or set of client device abilities). When the page is loaded at run time, the first matching choice is used. For example, you might create a <Choice> element that specifies a Filter string "WML", which matches an entry in the <deviceFilters> section of the machine.config file. The settings in this choice will only be used if the target device supports WML (and hasn't matched any previous choice conditions).

public class DeviceSpecificChoice : System.Web.UI.IParserAccessor, System.Web.UI.IAttributeAccessor {
// Public Constructors
   public DeviceSpecificChoice( );
// Public Instance Properties
   public string Argument{set; get; }
   public IDictionary Contents{get; }
   public string Filter{set; get; }
   public bool HasTemplates{get; }
   public IDictionary Templates{get; }
   public string Xmlns{set; get; }
}

Returned By

DeviceSpecific.SelectedChoice, DeviceSpecificChoiceCollection.this

Passed To

DeviceSpecificChoiceCollection.{Add( ), AddAt( ), Remove( )}

      Previous Section Next Section