PowerUI.ContentEntry Class Reference

Detailed Description

A single entry in a ContentGroup. Used by srcset.

Public Attributes

const int WIDTH_DESCRIPTOR =1
 Used by ContentEntry.Type; set if this is a width descriptor. More...
 
const int DENSITY_DESCRIPTOR =2
 Used by ContentEntry.Type; set if this is a pixel density descriptor. More...
 
int Type
 The entry type. More...
 
string Src
 The src of the content. More...
 
float Descriptor =1f
 This contents pixel density or width descriptor. More...
 

Member Data Documentation

const int PowerUI.ContentEntry.DENSITY_DESCRIPTOR =2

Used by ContentEntry.Type; set if this is a pixel density descriptor.

float PowerUI.ContentEntry.Descriptor =1f

This contents pixel density or width descriptor.

string PowerUI.ContentEntry.Src

The src of the content.

int PowerUI.ContentEntry.Type

The entry type.

const int PowerUI.ContentEntry.WIDTH_DESCRIPTOR =1

Used by ContentEntry.Type; set if this is a width descriptor.