Skip to content

Commit

Permalink
ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
kamu authored and kamu committed Mar 20, 2018
1 parent 074e0ce commit 2c8835c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 5 deletions.
24 changes: 23 additions & 1 deletion README-ja.md
Expand Up @@ -239,10 +239,10 @@ SettingsViewのプロパティ設定はApp.xamlに記述した方が良いかも
* [NumberPickerCell](#numberpickercell)
* [TimePickerCell](#timepickercell)
* [DatePickerCell](#datepickercell)
* [TextPickerCell](#textpickercell)
* [PickerCell](#pickercell)
* [EntryCell](#entrycell)


## CellBase

### 基本セルのレイアウト
Expand Down Expand Up @@ -419,6 +419,24 @@ ValueTextは使用できません。

ValueTextは使用できません。

## TextPickerCell

セルタップ時にテキストを選択できるピッカーを呼び出すことができるLabelCellです。
NumberPickerCellをNumber以外に対応させたもので、データソースにListを設定できます。

### Properties

* Items
* IListを実装したデータソース。
* このプロパティには組み込みの型のList\<T>等が設定できます。(List\<string>, List\<int>,List\<double> など)
* ピッカーの表示テキストにはToString()の結果が使用されます。
* SelectedItem
* 選択したアイテム。 (two-way binding)
* SelectedCommand
* アイテム選択時に発火するコマンド。

ValueTextは使用できません。

## PickerCell

セルタップ時に複数選択可能なピッカーを呼び出すことができるLabelCellです。
Expand Down Expand Up @@ -487,6 +505,10 @@ Xamarin.Forms.EntryCellとは別物です。
* AccentColor
* 入力欄の下線の色(Androidのみ)

## Contributors

* [codegrue](https://github.com/codegrue)

## 謝辞

NaturalSortの実装に以下のソースを利用させていただきました。
Expand Down
29 changes: 25 additions & 4 deletions README.md
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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\<string>, List\<int>, List\<double>)
* 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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2c8835c

Please sign in to comment.