Skip to content
Browse files

Rename the class

  • Loading branch information...
1 parent 25ac217 commit c6f3690997c42c75ef94853b8da86fa5973ed497 @migueldeicaza migueldeicaza committed May 2, 2012
View
1 ElementPack/ElementPack.csproj
@@ -40,5 +40,6 @@
<ItemGroup>
<Compile Include="RowBadgeElement.cs" />
<Compile Include="CounterElement.cs" />
+ <Compile Include="SimpleMultilineEntryElement.cs" />
</ItemGroup>
</Project>
View
325 ElementPack/SimpleMultilineEntryElement.cs
@@ -0,0 +1,325 @@
+//
+// MultilineEntryElement.cs: multi-line element entry for MonoTouch.Dialog
+//
+// Author:
+// Aleksander Heintz (alxandr@alxandr.me)
+// Based on the code for the EntryElement by Miguel de Icaza
+//
+
+using System;
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+using System.Drawing;
+using MonoTouch.Dialog;
+
+namespace ElementPack
+{
+ /// <summary>
+ /// An element that can be used to enter text.
+ /// </summary>
+ /// <remarks>
+ /// This element can be used to enter text both regular and password protected entries.
+ ///
+ /// The Text fields in a given section are aligned with each other.
+ /// </remarks>
+ public class SimpleMultilineEntryElement : Element, IElementSizing
+ {
+ /// <summary>
+ /// The value of the EntryElement
+ /// </summary>
+ public string Value {
+ get {
+ return val;
+ }
+ set {
+ val = value;
+ if (entry != null)
+ entry.Text = value;
+ }
+ }
+
+ protected string val;
+
+ public bool Editable {
+ get {
+ return editable;
+ }
+ set {
+ editable = value;
+ if (entry != null)
+ entry.Editable = editable;
+ }
+ }
+
+ protected bool editable;
+
+ /// <summary>
+ /// The key used for reusable UITableViewCells.
+ /// </summary>
+ static NSString entryKey = new NSString ("MultilineEntryElement");
+
+ protected virtual NSString EntryKey {
+ get {
+ return entryKey;
+ }
+ }
+
+ /// <summary>
+ /// The type of keyboard used for input, you can change
+ /// this to use this for numeric input, email addressed,
+ /// urls, phones.
+ /// </summary>
+ public UIKeyboardType KeyboardType {
+ get {
+ return keyboardType;
+ }
+ set {
+ keyboardType = value;
+ if (entry != null)
+ entry.KeyboardType = value;
+ }
+ }
+
+ public UITextAutocapitalizationType AutocapitalizationType {
+ get {
+ return autocapitalizationType;
+ }
+ set {
+ autocapitalizationType = value;
+ if (entry != null)
+ entry.AutocapitalizationType = value;
+ }
+ }
+
+ public UITextAutocorrectionType AutocorrectionType {
+ get {
+ return autocorrectionType;
+ }
+ set {
+ autocorrectionType = value;
+ if (entry != null)
+ this.autocorrectionType = value;
+ }
+ }
+
+ private float height = 112;
+ public float Height {
+ get {
+ return height;
+ }
+ set {
+ height = value;
+ }
+ }
+
+ private UIFont inputFont = UIFont.SystemFontOfSize(17);
+ public UIFont Font {
+ get {
+ return inputFont;
+ }
+ set {
+ inputFont = value;
+ if (entry != null)
+ entry.Font = value;
+ }
+ }
+
+ UIKeyboardType keyboardType = UIKeyboardType.Default;
+ UITextAutocapitalizationType autocapitalizationType = UITextAutocapitalizationType.Sentences;
+ UITextAutocorrectionType autocorrectionType = UITextAutocorrectionType.Default;
+ bool becomeResponder;
+ UITextView entry;
+ static UIFont font = UIFont.BoldSystemFontOfSize (17);
+
+ public event EventHandler Changed;
+ public event Func<bool> ShouldReturn;
+ /// <summary>
+ /// Constructs an MultilineEntryElement with the given caption, placeholder and initial value.
+ /// </summary>
+ /// <param name="caption">
+ /// The caption to use
+ /// </param>
+ /// <param name="placeholder">
+ /// Placeholder to display when no value is set.
+ /// </param>
+ /// <param name="value">
+ /// Initial value.
+ /// </param>
+ public SimpleMultilineEntryElement (string caption, string value) : base (caption)
+ {
+ Value = value;
+ }
+
+ public override string Summary ()
+ {
+ return Value;
+ }
+
+ //
+ // Computes the X position for the entry by aligning all the entries in the Section
+ //
+ SizeF ComputeEntryPosition (UITableView tv, UITableViewCell cell)
+ {
+ Section s = Parent as Section;
+ if (s.EntryAlignment.Width != 0)
+ return s.EntryAlignment;
+
+ // If all EntryElements have a null Caption, align UITextField with the Caption
+ // offset of normal cells (at 10px).
+ SizeF max = new SizeF (-15, tv.StringSize ("M", font).Height);
+ foreach (var e in s.Elements) {
+ var ee = e as EntryElement;
+ if (ee == null)
+ continue;
+
+ if (ee.Caption != null) {
+ var size = tv.StringSize (ee.Caption, font);
+ if (size.Width > max.Width)
+ max = size;
+ }
+ }
+ s.EntryAlignment = new SizeF (25 + Math.Min (max.Width, 160), max.Height);
+ return s.EntryAlignment;
+ }
+
+ protected virtual UITextView CreateTextField (RectangleF frame)
+ {
+ return new UITextView (frame) {
+ AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleLeftMargin,
+ Text = Value ?? "",
+ Tag = 1,
+ BackgroundColor = UIColor.Clear,
+ Editable = editable
+ };
+ }
+
+ static NSString cellkey = new NSString ("MultilineEntryElement");
+
+ protected override NSString CellKey {
+ get {
+ return cellkey;
+ }
+ }
+
+ public override UITableViewCell GetCell (UITableView tv)
+ {
+ var cell = tv.DequeueReusableCell (CellKey);
+ if (cell == null) {
+ cell = new UITableViewCell (UITableViewCellStyle.Default, CellKey);
+ cell.SelectionStyle = UITableViewCellSelectionStyle.None;
+ } else
+ RemoveTag (cell, 1);
+
+ if (entry == null) {
+ SizeF size = ComputeEntryPosition (tv, cell);
+ float yOffset = (cell.ContentView.Bounds.Height - size.Height) / 2 - 1;
+ float width = cell.ContentView.Bounds.Width - size.Width;
+
+ entry = CreateTextField (new RectangleF (size.Width, yOffset, width, size.Height + (height - 44)));
+ entry.Font = inputFont;
+
+ entry.Changed += delegate {
+ FetchValue ();
+ };
+ entry.Ended += delegate {
+ FetchValue ();
+ };
+ entry.Started += delegate {
+ entry.ReturnKeyType = UIReturnKeyType.Default;
+
+ tv.ScrollToRow (IndexPath, UITableViewScrollPosition.Middle, true);
+ };
+ }
+ if (becomeResponder) {
+ entry.BecomeFirstResponder ();
+ becomeResponder = false;
+ }
+ entry.KeyboardType = KeyboardType;
+
+ entry.AutocapitalizationType = AutocapitalizationType;
+ entry.AutocorrectionType = AutocorrectionType;
+
+ cell.TextLabel.Text = Caption;
+ cell.ContentView.AddSubview (entry);
+ return cell;
+ }
+
+ /// <summary>
+ /// Copies the value from the UITextField in the EntryElement to the
+ // Value property and raises the Changed event if necessary.
+ /// </summary>
+ public void FetchValue ()
+ {
+ if (entry == null)
+ return;
+
+ var newValue = entry.Text;
+ if (newValue == Value)
+ return;
+
+ Value = newValue;
+
+ if (Changed != null)
+ Changed (this, EventArgs.Empty);
+ }
+
+ protected override void Dispose (bool disposing)
+ {
+ if (disposing) {
+ if (entry != null) {
+ entry.Dispose ();
+ entry = null;
+ }
+ }
+ }
+
+ public override void Selected (DialogViewController dvc, UITableView tableView, NSIndexPath indexPath)
+ {
+ BecomeFirstResponder (true);
+ tableView.DeselectRow (indexPath, true);
+ }
+
+ public override bool Matches (string text)
+ {
+ return (Value != null ? Value.IndexOf (text, StringComparison.CurrentCultureIgnoreCase) != -1 : false) || base.Matches (text);
+ }
+
+ /// <summary>
+ /// Makes this cell the first responder (get the focus)
+ /// </summary>
+ /// <param name="animated">
+ /// Whether scrolling to the location of this cell should be animated
+ /// </param>
+ public void BecomeFirstResponder (bool animated)
+ {
+ becomeResponder = true;
+ var tv = GetContainerTableView ();
+ if (tv == null)
+ return;
+ tv.ScrollToRow (IndexPath, UITableViewScrollPosition.Middle, animated);
+ if (entry != null) {
+ entry.BecomeFirstResponder ();
+ becomeResponder = false;
+ }
+ }
+
+ public void ResignFirstResponder (bool animated)
+ {
+ becomeResponder = false;
+ var tv = GetContainerTableView ();
+ if (tv == null)
+ return;
+ tv.ScrollToRow (IndexPath, UITableViewScrollPosition.Middle, animated);
+ if (entry != null)
+ entry.ResignFirstResponder ();
+ }
+
+ #region IElementSizing implementation
+ public float GetHeight (MonoTouch.UIKit.UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath)
+ {
+ return height;
+ }
+ #endregion
+ }
+}
+
View
442 docs/ElementPack/MultilineEntryElement.xml
@@ -0,0 +1,442 @@
+<Type Name="MultilineEntryElement" FullName="ElementPack.MultilineEntryElement">
+ <TypeSignature Language="C#" Value="public class MultilineEntryElement : MonoTouch.Dialog.Element, MonoTouch.Dialog.IElementSizing" />
+ <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MultilineEntryElement extends MonoTouch.Dialog.Element implements class MonoTouch.Dialog.IElementSizing" />
+ <AssemblyInfo>
+ <AssemblyName>ElementPack</AssemblyName>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <Base>
+ <BaseTypeName>MonoTouch.Dialog.Element</BaseTypeName>
+ </Base>
+ <Interfaces>
+ <Interface>
+ <InterfaceName>MonoTouch.Dialog.IElementSizing</InterfaceName>
+ </Interface>
+ </Interfaces>
+ <Docs>
+ <summary>An element that can be used to enter text.</summary>
+ <remarks>
+ <para>This element can be used to enter text both regular and password protected entries.</para>
+ <para>The Text fields in a given section are aligned with each other.</para>
+ </remarks>
+ </Docs>
+ <Members>
+ <Member MemberName=".ctor">
+ <MemberSignature Language="C#" Value="public MultilineEntryElement (string caption, string value);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string caption, string value) cil managed" />
+ <MemberType>Constructor</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <Parameters>
+ <Parameter Name="caption" Type="System.String" />
+ <Parameter Name="value" Type="System.String" />
+ </Parameters>
+ <Docs>
+ <param name="caption">To be added.</param>
+ <param name="value">To be added.</param>
+ <summary>Constructs an MultilineEntryElement with the given caption, placeholder and initial value.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="AutocapitalizationType">
+ <MemberSignature Language="C#" Value="public MonoTouch.UIKit.UITextAutocapitalizationType AutocapitalizationType { get; set; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance valuetype MonoTouch.UIKit.UITextAutocapitalizationType AutocapitalizationType" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>MonoTouch.UIKit.UITextAutocapitalizationType</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="AutocorrectionType">
+ <MemberSignature Language="C#" Value="public MonoTouch.UIKit.UITextAutocorrectionType AutocorrectionType { get; set; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance valuetype MonoTouch.UIKit.UITextAutocorrectionType AutocorrectionType" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>MonoTouch.UIKit.UITextAutocorrectionType</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="BecomeFirstResponder">
+ <MemberSignature Language="C#" Value="public void BecomeFirstResponder (bool animated);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void BecomeFirstResponder(bool animated) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="animated" Type="System.Boolean" />
+ </Parameters>
+ <Docs>
+ <param name="animated">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="CellKey">
+ <MemberSignature Language="C#" Value="protected override MonoTouch.Foundation.NSString CellKey { get; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance class MonoTouch.Foundation.NSString CellKey" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>MonoTouch.Foundation.NSString</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Changed">
+ <MemberSignature Language="C#" Value="public event EventHandler Changed;" />
+ <MemberSignature Language="ILAsm" Value=".event class System.EventHandler Changed" />
+ <MemberType>Event</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.EventHandler</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="CreateTextField">
+ <MemberSignature Language="C#" Value="protected virtual MonoTouch.UIKit.UITextView CreateTextField (System.Drawing.RectangleF frame);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class MonoTouch.UIKit.UITextView CreateTextField(valuetype System.Drawing.RectangleF frame) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>MonoTouch.UIKit.UITextView</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="frame" Type="System.Drawing.RectangleF" />
+ </Parameters>
+ <Docs>
+ <param name="frame">To be added.</param>
+ <summary>To be added.</summary>
+ <returns>To be added.</returns>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Dispose">
+ <MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="disposing" Type="System.Boolean" />
+ </Parameters>
+ <Docs>
+ <param name="disposing">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="editable">
+ <MemberSignature Language="C#" Value="protected bool editable;" />
+ <MemberSignature Language="ILAsm" Value=".field family bool editable" />
+ <MemberType>Field</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Boolean</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Editable">
+ <MemberSignature Language="C#" Value="public bool Editable { get; set; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance bool Editable" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Boolean</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="EntryKey">
+ <MemberSignature Language="C#" Value="protected virtual MonoTouch.Foundation.NSString EntryKey { get; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance class MonoTouch.Foundation.NSString EntryKey" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>MonoTouch.Foundation.NSString</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="FetchValue">
+ <MemberSignature Language="C#" Value="public void FetchValue ();" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void FetchValue() cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <Parameters />
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Font">
+ <MemberSignature Language="C#" Value="public MonoTouch.UIKit.UIFont Font { get; set; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance class MonoTouch.UIKit.UIFont Font" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>MonoTouch.UIKit.UIFont</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="GetCell">
+ <MemberSignature Language="C#" Value="public override MonoTouch.UIKit.UITableViewCell GetCell (MonoTouch.UIKit.UITableView tv);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class MonoTouch.UIKit.UITableViewCell GetCell(class MonoTouch.UIKit.UITableView tv) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>MonoTouch.UIKit.UITableViewCell</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="tv" Type="MonoTouch.UIKit.UITableView" />
+ </Parameters>
+ <Docs>
+ <param name="tv">To be added.</param>
+ <summary>To be added.</summary>
+ <returns>To be added.</returns>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="GetHeight">
+ <MemberSignature Language="C#" Value="public float GetHeight (MonoTouch.UIKit.UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance float32 GetHeight(class MonoTouch.UIKit.UITableView tableView, class MonoTouch.Foundation.NSIndexPath indexPath) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Single</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="tableView" Type="MonoTouch.UIKit.UITableView" />
+ <Parameter Name="indexPath" Type="MonoTouch.Foundation.NSIndexPath" />
+ </Parameters>
+ <Docs>
+ <param name="tableView">To be added.</param>
+ <param name="indexPath">To be added.</param>
+ <summary>To be added.</summary>
+ <returns>To be added.</returns>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Height">
+ <MemberSignature Language="C#" Value="public float Height { get; set; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance float32 Height" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Single</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="KeyboardType">
+ <MemberSignature Language="C#" Value="public MonoTouch.UIKit.UIKeyboardType KeyboardType { get; set; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance valuetype MonoTouch.UIKit.UIKeyboardType KeyboardType" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>MonoTouch.UIKit.UIKeyboardType</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>The type of keyboard used for input, you can change this to use this for numeric input, email addressed, urls, phones.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Matches">
+ <MemberSignature Language="C#" Value="public override bool Matches (string text);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Matches(string text) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Boolean</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="text" Type="System.String" />
+ </Parameters>
+ <Docs>
+ <param name="text">To be added.</param>
+ <summary>To be added.</summary>
+ <returns>To be added.</returns>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="ResignFirstResponder">
+ <MemberSignature Language="C#" Value="public void ResignFirstResponder (bool animated);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ResignFirstResponder(bool animated) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="animated" Type="System.Boolean" />
+ </Parameters>
+ <Docs>
+ <param name="animated">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Selected">
+ <MemberSignature Language="C#" Value="public override void Selected (MonoTouch.Dialog.DialogViewController dvc, MonoTouch.UIKit.UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Selected(class MonoTouch.Dialog.DialogViewController dvc, class MonoTouch.UIKit.UITableView tableView, class MonoTouch.Foundation.NSIndexPath indexPath) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="dvc" Type="MonoTouch.Dialog.DialogViewController" />
+ <Parameter Name="tableView" Type="MonoTouch.UIKit.UITableView" />
+ <Parameter Name="indexPath" Type="MonoTouch.Foundation.NSIndexPath" />
+ </Parameters>
+ <Docs>
+ <param name="dvc">To be added.</param>
+ <param name="tableView">To be added.</param>
+ <param name="indexPath">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="ShouldReturn">
+ <MemberSignature Language="C#" Value="public event Func&lt;bool&gt; ShouldReturn;" />
+ <MemberSignature Language="ILAsm" Value=".event class System.Func`1&lt;bool&gt; ShouldReturn" />
+ <MemberType>Event</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Func&lt;System.Boolean&gt;</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Summary">
+ <MemberSignature Language="C#" Value="public override string Summary ();" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string Summary() cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.String</ReturnType>
+ </ReturnValue>
+ <Parameters />
+ <Docs>
+ <summary>To be added.</summary>
+ <returns>To be added.</returns>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="val">
+ <MemberSignature Language="C#" Value="protected string val;" />
+ <MemberSignature Language="ILAsm" Value=".field family string val" />
+ <MemberType>Field</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.String</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="Value">
+ <MemberSignature Language="C#" Value="public string Value { get; set; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance string Value" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.String</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ </Members>
+</Type>
View
1 docs/index.xml
@@ -13,6 +13,7 @@
<Types>
<Namespace Name="ElementPack">
<Type Name="CounterElement" Kind="Class" />
+ <Type Name="MultilineEntryElement" Kind="Class" />
<Type Name="RowBadgeElement" Kind="Class" />
</Namespace>
</Types>

0 comments on commit c6f3690

Please sign in to comment.
Something went wrong with that request. Please try again.