From 2c8835ca22246d0b9683b58e2f3e1980ce283d8c Mon Sep 17 00:00:00 2001 From: kamu Date: Tue, 20 Mar 2018 16:34:34 +0900 Subject: [PATCH] ReadMe --- README-ja.md | 24 +++++++++++++++++++++++- README.md | 29 +++++++++++++++++++++++++---- 2 files changed, 48 insertions(+), 5 deletions(-) diff --git a/README-ja.md b/README-ja.md index 4f5a649..13c8457 100644 --- a/README-ja.md +++ b/README-ja.md @@ -239,10 +239,10 @@ SettingsViewのプロパティ設定はApp.xamlに記述した方が良いかも * [NumberPickerCell](#numberpickercell) * [TimePickerCell](#timepickercell) * [DatePickerCell](#datepickercell) +* [TextPickerCell](#textpickercell) * [PickerCell](#pickercell) * [EntryCell](#entrycell) - ## CellBase ### 基本セルのレイアウト @@ -419,6 +419,24 @@ ValueTextは使用できません。 ValueTextは使用できません。 +## TextPickerCell + +セルタップ時にテキストを選択できるピッカーを呼び出すことができるLabelCellです。 +NumberPickerCellをNumber以外に対応させたもので、データソースにListを設定できます。 + +### Properties + +* Items + * IListを実装したデータソース。 + * このプロパティには組み込みの型のList\等が設定できます。(List\, List\,List\ など) + * ピッカーの表示テキストにはToString()の結果が使用されます。 +* SelectedItem + * 選択したアイテム。 (two-way binding) +* SelectedCommand + * アイテム選択時に発火するコマンド。 + +ValueTextは使用できません。 + ## PickerCell セルタップ時に複数選択可能なピッカーを呼び出すことができるLabelCellです。 @@ -487,6 +505,10 @@ Xamarin.Forms.EntryCellとは別物です。 * AccentColor * 入力欄の下線の色(Androidのみ) +## Contributors + +* [codegrue](https://github.com/codegrue) + ## 謝辞 NaturalSortの実装に以下のソースを利用させていただきました。 diff --git a/README.md b/README.md index cd40347..091b806 100644 --- a/README.md +++ b/README.md @@ -237,10 +237,10 @@ Whereby any SettingsView in App will become the same property setttings. * [NumberPickerCell](#numberpickercell) * [TimePickerCell](#timepickercell) * [DatePickerCell](#datepickercell) +* [TextPickerCell](#textpickercell) * [PickerCell](#pickercell) * [EntryCell](#entrycell) - ## CellBase ### Layout of cellbase @@ -378,7 +378,7 @@ This is a LabelCell calling a number picker. * SelectedCommand * A command invoked when a number is selected. -This cell can't use ValueText propertiy. +This cell can't use ValueText property. ## TimePickerCell @@ -393,7 +393,7 @@ This is a LabelCell calling a time picker. * PickerTitle * Picker title text. -This cell can't use ValueText propertiy. +This cell can't use ValueText property. ## DatePickerCell @@ -411,7 +411,24 @@ This is a LabelCell calling a date picker. * Text of the button selecting today's date. (only iOS) * If this text is empty, the button will be hidden. -This cell can't use ValueText propertiy. +This cell can't use ValueText property. + +## TextPickerCell + +This is a LabelCell calling a text picker. + +### Properties + +* Items + * Picker data source implementing IList. + * This property can be set a list of built-in type. (e.g. List\, List\, List\) + * The result of ToString method is used as appearance text. +* SelectedItem + * Selected item is set. (two-way binding) +* SelectedCommand + * A command invoked when an item is selected. + +This cell can't use ValueText property. ## PickerCell @@ -476,6 +493,10 @@ This is a cell inputing some text. * AccentColor * Under line color on focus. (only android) +## Contributors + +* [codegrue](https://github.com/codegrue) + ## Thanks * NaturalComparer