Closed E-vaTRON closed 1 year ago
x:Class
x:Class="MAUIsland.LabelPage"
xmlns:app="clr-namespace:MAUIsland"
ContentPage
app:BasePage
x:DataType
Padding="10"
ControlInfo
app:BasePage.Resources
PropertiesListHeader
PropertiesListFooter
PropertyItemsSource
Control Info
<Frame Style="{x:StaticResource DocumentContentFrameStyle}"> <Label Text="{x:StaticResource ControlInfo}" /> </Frame>
Properties List
<Frame Style="{x:StaticResource DocumentContentFrameStyle}"> <CollectionView Footer="{x:StaticResource PropertiesListFooter}" Header="{x:StaticResource PropertiesListHeader}" ItemsSource="{x:StaticResource PropertyItemsSource}" Style="{x:StaticResource PropertiesListStyle}" /> </Frame>
namespace
namespace MAUIsland
region
<Page>ViewModel
BindingContext = vm;
[x] AdaptivePropertiesPageViewModel.cs
NavigationAwareBaseViewModel
#region [CTor] public LabelPageViewModel(IAppNavigator appNavigator) : base(appNavigator) {
}
RegisterPages
RegisterServices
COOL NEW PAGE !!!!
Page name: Adaptive Properties Page
Contributors
Describe your changes
Have we discussed about this before ? (Please link the discussion link below)
Added AdaptiveProperties page requirements as following:
x:Class
to project namespace standard (ex:x:Class="MAUIsland.LabelPage"
)?xmlns:app="clr-namespace:MAUIsland"
ContentPage
toapp:BasePage
x:DataType
to the AdaptivePropertiesViewModelPadding="10"
toapp:BasePage
ControlInfo
toapp:BasePage.Resources
PropertiesListHeader
toapp:BasePage.Resources
PropertiesListFooter
toapp:BasePage.Resources
PropertyItemsSource
toapp:BasePage.Resources
Control Info
UI ?Properties List
UInamespace
to project namespace standardnamespace MAUIsland
?ContentPage
?region
?<Page>ViewModel
into the constructor parmeter?BindingContext = vm;
?[x] AdaptivePropertiesPageViewModel.cs
NavigationAwareBaseViewModel
?region
?}
endregion
Register AdaptiveProperties page route requirements as following:
Register AdaptiveProperties page services:
RegisterPages
?RegisterServices
?