C# (CSharp) MonoTouch.Dialog BaseBooleanImageElement - 5 примеров найдено. Это лучшие примеры C# (CSharp) кода для MonoTouch.Dialog.BaseBooleanImageElement, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
This class is used to render a string + a state in the form of an image.
It is abstract to avoid making this element keep two pointers for the state images, saving 8 bytes per slot. The more derived class "BooleanImageElement" shows one way to implement this by keeping two pointers, a better implementation would return pointers to images that were preloaded and are static. A subclass only needs to implement the GetImage method.