Edit

Share via


StyledStringElement Class

Definition

A version of the StringElement that can be styled with a number of formatting options and can render images or background images either from UIImage parameters or by downloading them from the net.

public class StyledStringElement : MonoTouch.Dialog.StringElement, MonoTouch.Dialog.IColorizeBackground, MonoTouch.Dialog.Utilities.IImageUpdated
type StyledStringElement = class
    inherit StringElement
    interface IImageUpdated
    interface IColorizeBackground
Inheritance
StyledStringElement
Derived
Implements

Constructors

StyledStringElement(String, Action)
StyledStringElement(String, String, UITableViewCellStyle)
StyledStringElement(String, String)
StyledStringElement(String)

Fields

Accessory
Alignment (Inherited from StringElement)
Caption

The caption to display for this given element

(Inherited from Element)
Font
LineBreakMode
Lines
Parent

Handle to the container object.

(Inherited from Element)
style
SubtitleFont
TextColor
Value (Inherited from StringElement)

Properties

BackgroundColor
BackgroundUri
CellKey

Subclasses that override the GetCell method should override this method as well

(Inherited from Element)
DetailColor
Image
ImageUri
IndexPath

Returns the IndexPath of a given element. This is only valid for leaf elements, it does not work for a toplevel RootElement or a Section of if the Element has not been attached yet.

(Inherited from Element)

Methods

Deselected(DialogViewController, UITableView, NSIndexPath) (Inherited from Element)
Dispose() (Inherited from Element)
Dispose(Boolean) (Inherited from Element)
GetActiveCell() (Inherited from Element)
GetCell(UITableView)
GetContainerTableView() (Inherited from Element)
GetImmediateRootElement()

If the cell is attached will return the immediate RootElement

(Inherited from Element)
GetKey(Int32)
Matches(String)

Method invoked to determine if the cell matches the given text, never invoked with a null value or an empty string.

(Inherited from StringElement)
PrepareCell(UITableViewCell)
Selected(DialogViewController, UITableView, NSIndexPath) (Inherited from StringElement)
Summary() (Inherited from StringElement)

Events

AccessoryTapped
Tapped (Inherited from StringElement)

Explicit Interface Implementations

IColorizeBackground.WillDisplay(UITableView, UITableViewCell, NSIndexPath)
IImageUpdated.UpdatedImage(Uri)

Applies to