StyledStringElement StyledStringElement Class


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


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


Accessory Accessory
Alignment Alignment Inherited from StringElement
Caption Caption

The caption to display for this given element

(Inherited from Element)
Font Font
LineBreakMode LineBreakMode
Lines Lines
Parent Parent

Handle to the container object.

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


BackgroundColor BackgroundColor
BackgroundUri BackgroundUri
CellKey CellKey

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

(Inherited from Element)
DetailColor DetailColor
Image Image
ImageUri ImageUri
IndexPath 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)


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

If the cell is attached will return the immediate RootElement

(Inherited from Element)
GetKey(Int32) GetKey(Int32)
Matches(String) 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) PrepareCell(UITableViewCell)
Selected(DialogViewController, UITableView, NSIndexPath) Selected(DialogViewController, UITableView, NSIndexPath) Inherited from StringElement
Summary() Summary() Inherited from StringElement


AccessoryTapped AccessoryTapped
Tapped Tapped Inherited from StringElement

Explicit Interface Implementations

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

Applies to