Closed Strypper closed 10 months ago
<Name>Page
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;
[ ] PageViewModel.cs
NavigationAwareBaseViewModel
#region [CTor] public LabelPageViewModel(IAppNavigator appNavigator) : base(appNavigator) {
}
RegisterPages
RegisterServices
COOL NEW PAGE !!!!
Page name:
<Name>Page
Contributors
Describe your changes
Have we discussed about this before ? (Please link the discussion link below)
Added 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 thePadding="10"
toapp:BasePage
?ControlInfo
toapp:BasePage.Resources
?PropertiesListHeader
toapp:BasePage.Resources
?PropertiesListFooter
toapp:BasePage.Resources
?PropertyItemsSource
toapp:BasePage.Resources
?Control Info
UI ?Properties List
UI ?namespace
to project namespace standardnamespace MAUIsland
?ContentPage
?region
?<Page>ViewModel
into the constructor parmeter?BindingContext = vm;
?[ ]PageViewModel.cs
NavigationAwareBaseViewModel
?region
?}
endregion
Register page route requirements as following:
Register page services:
RegisterPages
?RegisterServices
?