format BindableProperty & fix a tiny issue about rank page refreshing
This commit is contained in:
@ -142,7 +142,7 @@
|
||||
BackgroundColor="{DynamicResource WindowBackgroundColor}"
|
||||
HeightRequest="{Binding Height, Source={x:Reference gridFilter}}"/>
|
||||
<Grid x:Name="gridFilter" VerticalOptions="Start" Opacity="0" RowDefinitions="Auto, Auto, Auto, Auto">
|
||||
<ui:SegmentedControl Margin="16, 16, 16, 3" VerticalOptions="Center"
|
||||
<ui:SegmentedControl VerticalOptions="Center" Margin="10, 10, 10, 3"
|
||||
SelectedSegmentIndex="{Binding SegmentType, Mode=TwoWay}"
|
||||
SelectedTextColor="{DynamicResource TextColor}"
|
||||
TintColor="{DynamicResource PromptBackgroundColor}">
|
||||
@ -151,22 +151,13 @@
|
||||
<ui:SegmentedControlOption Text="{r:Text Income}"/>
|
||||
</ui:SegmentedControl.Children>
|
||||
</ui:SegmentedControl>
|
||||
<ScrollView Grid.Row="1" Margin="16, 6, 16, 3">
|
||||
<ui:SegmentedControl SelectedSegmentIndex="{Binding SegmentDate, Mode=TwoWay}"
|
||||
SelectedTextColor="{DynamicResource TextColor}"
|
||||
TintColor="{DynamicResource PromptBackgroundColor}">
|
||||
<ui:SegmentedControl.Children>
|
||||
<ui:SegmentedControlOption Text="{r:Text Monthly}"/>
|
||||
<ui:SegmentedControlOption Text="{r:Text Today}"/>
|
||||
<ui:SegmentedControlOption Text="{r:Text PastMonth}"/>
|
||||
<ui:SegmentedControlOption Text="{r:Text PastQuarter}"/>
|
||||
<ui:SegmentedControlOption Text="{r:Text PastSixMonths}"/>
|
||||
<ui:SegmentedControlOption Text="{r:Text PastYear}"/>
|
||||
<ui:SegmentedControlOption Text="{r:Text Total}"/>
|
||||
</ui:SegmentedControl.Children>
|
||||
</ui:SegmentedControl>
|
||||
</ScrollView>
|
||||
<Grid Grid.Row="2" ColumnDefinitions="*, Auto, *" Margin="10">
|
||||
<ui:OptionPicker Grid.Row="1" VerticalOptions="Center" Margin="10, 3"
|
||||
HorizontalTextAlignment="Center" FontSize="16"
|
||||
ItemsSource="{Binding DateTypes}"
|
||||
SelectedIndex="{Binding SegmentDate, Mode=TwoWay}"
|
||||
TextColor="{DynamicResource TextColor}"
|
||||
ios:Picker.UpdateMode="WhenFinished"/>
|
||||
<Grid Grid.Row="2" ColumnDefinitions="*, Auto, *" Margin="10, 3">
|
||||
<ui:OptionDatePicker Date="{Binding StartPickerDate, Mode=TwoWay}"
|
||||
FontSize="16" TextColor="{DynamicResource TextColor}"
|
||||
VerticalOptions="Center"
|
||||
|
Reference in New Issue
Block a user