控件

作者: 落地成佛 | 来源:发表于2017-11-18 17:25 被阅读8次
    <ContentPage.Content>
        <StackLayout>
            <Label Text="Welcome to Xamarin.Forms!"
                VerticalOptions="CenterAndExpand" 
                HorizontalOptions="CenterAndExpand" />
            <!--加载中控件-->
            <ActivityIndicator IsRunning="True" Color="Green"></ActivityIndicator>
            <BoxView Color="Red" VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand"></BoxView>
            <Button Text="456" VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand"></Button>
            <DatePicker Format="D" VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand"></DatePicker>
            <Entry VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand"></Entry>
            <Editor VerticalOptions="CenterAndExpand" WidthRequest="300" HeightRequest="200" HorizontalOptions="CenterAndExpand"></Editor>
            <Image>
                <Image.Source>
                    <UriImageSource Uri="http://hpimges.blob.core.chinacloudapi.cn/coverstory/watermark_zanzibarredcolobus_zh-cn11792109900_1920x1080.jpg">
                        
                    </UriImageSource>
                </Image.Source>
            </Image>
            <Picker x:Name="picker1"></Picker>
            <SearchBar Placeholder = "请输入产品"></SearchBar>
            <Stepper Maximum="10"></Stepper>
            <Switch VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand"></Switch>
            <TableView>
                <TableRoot>
                    <TableSection>
                        <TextCell Text="456"></TextCell>
                        <EntryCell Text="999"></EntryCell>
                        <SwitchCell Text="33"></SwitchCell>
                    </TableSection>
                </TableRoot>
            </TableView>
        </StackLayout>
    </ContentPage.Content>
图像插件: image.png
  • Thickness
    Thickness有Top,Bottom,left,right属性,可以设置这些属性


    image.png

    ·

相关文章

  • dropDownButton使用方法

    添加DropDownButton 控件添加PopuMenu控件DropDownButton控件绑定PopuMenu控件

  • Android开发之自定义View流程

    Android控件架构 ViewGroup控件和View控件,ViewGroup控件作为父控件包含了多个View,...

  • 11.7

    今天学习了列表框控件、组合框控件、单选按钮控件、复选按钮控件、分组框控件。。。。。

  • HTML5 input 新增的表单控件

    必填项验证 颜色选择控件 日期选择控件 时间选择控件 电子邮件控件:提交表单时有格式验证 数字控件 文件控件 拖拽...

  • 关于winform父子控件以及控件之间方法调用/传值

    子控件获取父控件中的其他子控件 父控件访问子控件与上述例子类似

  • 组合控件2——海贼王选项菜单

    之前的自定义控件——初识自定义控件,我们了解到了自定义控件分为三种,自制控件,组合控件,拓展控件。而我们在自制控件...

  • 11.7

    第七章的列表框控件、组合框控件、单选按钮控件、复选按钮控件、分组框控件。

  • React专题4: 组件间通信

    父控件 传值 给子控件, 父控件可以将值 赋给子控件的一个属性(属性赋值)子控件 传值 给父控件, 需要父控件将自...

  • React中父、子控件方法的互相调用

    1.子控件调用父控件的方法 父控件: 子控件: (1)在父控件中通过

  • 11月7日C#学习总结

    今天学习了列表框控件、组合框控件、单选按钮控件、复选按钮控件、分组框控件。 列表框控件:列表框底部添加项:Add(...

网友评论

    本文标题:控件

    本文链接:https://www.haomeiwen.com/subject/zktyvxtx.html