RadSideDrawer不显示

时间:2016-02-03 15:18:37

标签: android xaml telerik xamarin.forms

所有我得到的都是一个黄色的屏幕,我期待并分享石灰和红色屏幕。

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
         xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
         xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
         xmlns:telerik="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
         x:Class="Manager.ControlScreen" Title="Menu"  >
<Grid x:Name="grd" BackgroundColor="Yellow">
<telerikPrimitives:RadSideDrawer x:Name="rsd" DrawerLength="250" IsVisible="True" DrawerTransitionDuration="2" DrawerTransitionType="SlideAlong"  IsEnabled="True" IsOpen="True" DrawerLocation="Left" AreGesturesEnabled="True" VerticalOptions="Fill" HorizontalOptions="Fill">
  <telerikPrimitives:RadSideDrawer.DrawerContent >
    <Grid BackgroundColor="Lime">
    </Grid>
  </telerikPrimitives:RadSideDrawer.DrawerContent>
  <telerikPrimitives:RadSideDrawer.MainContent>
    <Grid  BackgroundColor="Red">
    </Grid>
  </telerikPrimitives:RadSideDrawer.MainContent>
</telerikPrimitives:RadSideDrawer>
</Grid>
</ContentPage>

我已经包含了所有的telerik安卓库,但无论我做什么,我都无法绘制它我尝试添加按钮和标签等内容,但他们也不会画画。任何建议都将不胜感激。

0 个答案:

没有答案