Open
Description
Using the drawer with a collection, locking the LockStates = new[] { 0.9d };
Seems like the view is spanning 100% of the view, but I can't reach the last items in the list.
<bottomDrawer:BottomDrawer
Padding="0"
BackgroundColor="White"
ExpandedPercentage="0.9"
LockStates="{Binding LockStates}"
IsExpanded="{Binding IsConnectorSelectionViewEnabled}"
IsVisible="{Binding IsConnectorSelectionViewEnabled}"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent,
Property=Height,
Factor=1,
Constant=0}"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent,
Property=Width,
Factor=1,
Constant=0}"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent,
Property=Height,
Factor=1,
Constant=-65}">
<StackLayout Spacing="0">
<BoxView
Margin="20,16,20,-5"
BackgroundColor="Gray"
CornerRadius="2"
HeightRequest="3"
HorizontalOptions="Center"
WidthRequest="80" />
<Label
Margin="16"
FontAttributes="Bold"
FontSize="18"
Text="{Binding Title}"
TextColor="#003154" />
<ScrollView>
<CollectionView
ItemsSource="{Binding Items}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
SelectionMode="Single"
SelectionChangedCommand="{Binding SelectionChangedCommand}">
<CollectionView.ItemTemplate>
<DataTemplate>
<Grid Padding="10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Label Grid.Column="1"
Text="{Binding PhysicalReference}"
FontAttributes="Bold" />
</Grid>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</ScrollView>
</StackLayout>
</bottomDrawer:BottomDrawer>
Metadata
Metadata
Assignees
Labels
No labels