我的新手,當談到xamarin,也是在XAML,我只是想問問如何添加填充我viewcell裏面下面是我的代碼添加填充內ViewCell xamarin
<TableView>
<TableRoot>
<TableSection Title = "Basic information">
<EntryCell Label = "First name: " Placeholder = "Required" />
<EntryCell Label = "Middel name: " Placeholder = "Optional" />
<EntryCell Label = "Last name: " Placeholder = "Required" />
<ViewCell>
<Picker x:Name="genderPicker" Title = "Select gender"></Picker>
</ViewCell>
</TableSection>
</TableRoot>
</TableView>
我要的是在此代碼中添加一點點填充。
![<ViewCell>
<Picker x:Name="genderPicker" Title = "Select gender"></Picker>
</ViewCell>][1]
這就是它的樣子,所以我只是想在我的選取器視圖中添加一些左右空間。
http://i.stack.imgur.com/89qt9.png