C# Class CrossUI.iOS.Dialog.Elements.UIViewElement

This element can be used to insert an arbitrary UIView
There is no cell reuse here as we have a 1:1 mapping in this case from the UIViewElement to the cell that holds our view.
Inheritance: Element, IElementSizing
显示文件 Open project: MvvmCross/MvvmCross

Public Methods

Method Description
GetHeight ( UITableView tableView, NSIndexPath indexPath ) : nfloat
UIViewElement ( string caption, UIView view, bool transparent ) : CoreGraphics

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void
GetCellImpl ( UITableView tv ) : UITableViewCell

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetCellImpl() protected method

protected GetCellImpl ( UITableView tv ) : UITableViewCell
tv UITableView
return UITableViewCell

GetHeight() public method

public GetHeight ( UITableView tableView, NSIndexPath indexPath ) : nfloat
tableView UITableView
indexPath NSIndexPath
return nfloat

UIViewElement() public method

Constructor
public UIViewElement ( string caption, UIView view, bool transparent ) : CoreGraphics
caption string /// The caption, only used for RootElements that might want to summarize results ///
view UIView /// The view to display ///
transparent bool /// If this is set, then the view is responsible for painting the entire area, /// otherwise the default cell paint code will be used. ///
return CoreGraphics