|
<navigationDrawer:SfNavigationDrawer.DrawerContentView>
<ScrollView>
<StackLayout >
<Grid VerticalOptions="FillAndExpand" BackgroundColor="Bisque">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Label Text="Title" BackgroundColor="Red" Grid.Row="0"/>
<textInputLayout:SfTextInputLayout
Grid.Row="1"
Margin="10"
BackgroundColor="LightGray"
CharMaxLength="280"
ContainerType="None"
HorizontalOptions="FillAndExpand"
VerticalOptions="EndAndExpand"
InputViewPadding="0"
ShowCharCount="True">
<Editor
x:Name="txtEntry"
FontFamily="Font-Medium"
FontSize="12" HeightRequest="150"/>
</textInputLayout:SfTextInputLayout>
</Grid>
</StackLayout>
</ScrollView>
</navigationDrawer:SfNavigationDrawer.DrawerContentView> |
|
<navigationDrawer:SfNavigationDrawer
x:Name="navigationDrawer" DrawerHeight="200"
DrawerHeaderHeight="100" DrawerFooterHeight="0"
Position="Bottom"> |
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
ios:Page.UseSafeArea="true"
|
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
protected override void OnSizeAllocated(double width, double height)
{
base.OnSizeAllocated(width, height);
navigationDrawer.DrawerHeight = (float)height;
}
} |