Closed E-vaTRON closed 10 months ago
x:Class
to project namespace standard (ex: x:Class="MAUIsland.LabelPage"
)?xmlns:app="clr-namespace:MAUIsland"
ContentPage
to app:BasePage
x:DataType
to the AdaptivePropertiesViewModelPadding="10"
to app:BasePage
ControlInfo
to app:BasePage.Resources
PropertiesListHeader
to app:BasePage.Resources
PropertiesListFooter
to app:BasePage.Resources
PropertyItemsSource
to app:BasePage.Resources
Control Info
UI ?
<Frame Style="{x:StaticResource DocumentContentFrameStyle}">
<Label Text="{x:StaticResource ControlInfo}" />
</Frame>
Properties List
UI
<Frame Style="{x:StaticResource DocumentContentFrameStyle}">
<CollectionView
Footer="{x:StaticResource PropertiesListFooter}"
Header="{x:StaticResource PropertiesListHeader}"
ItemsSource="{x:StaticResource PropertyItemsSource}"
Style="{x:StaticResource PropertiesListStyle}" />
</Frame>
namespace
to project namespace standard namespace MAUIsland
?ContentPage
?region
?<Page>ViewModel
into the constructor parmeter?BindingContext = vm;
?[x] AdaptivePropertiesPageViewModel.cs
NavigationAwareBaseViewModel
?region
?
#region [CTor]
public LabelPageViewModel(IAppNavigator appNavigator)
: base(appNavigator)
{
}
RegisterPages
?RegisterServices
? x:Class
to project namespace standard (ex: x:Class="MAUIsland.LabelPage"
)?xmlns:app="clr-namespace:MAUIsland"
ContentPage
to app:BasePage
x:DataType
to the AdaptivePropertiesViewModelPadding="10"
to app:BasePage
ControlInfo
to app:BasePage.Resources
PropertiesListHeader
to app:BasePage.Resources
PropertiesListFooter
to app:BasePage.Resources
PropertyItemsSource
to app:BasePage.Resources
Control Info
UI ?
<Frame Style="{x:StaticResource DocumentContentFrameStyle}">
<Label Text="{x:StaticResource ControlInfo}" />
</Frame>
Properties List
UI
<Frame Style="{x:StaticResource DocumentContentFrameStyle}">
<CollectionView
Footer="{x:StaticResource PropertiesListFooter}"
Header="{x:StaticResource PropertiesListHeader}"
ItemsSource="{x:StaticResource PropertyItemsSource}"
Style="{x:StaticResource PropertiesListStyle}" />
</Frame>
namespace
to project namespace standard namespace MAUIsland
?ContentPage
?region
?<Page>ViewModel
into the constructor parmeter?BindingContext = vm;
?[x] AdaptivePropertiesPageViewModel.cs
NavigationAwareBaseViewModel
?region
?
#region [CTor]
public LabelPageViewModel(IAppNavigator appNavigator)
: base(appNavigator)
{
}
RegisterPages
?RegisterServices
? x:Class
to project namespace standard (ex: x:Class="MAUIsland.LabelPage"
)?xmlns:app="clr-namespace:MAUIsland"
ContentPage
to app:BasePage
x:DataType
to the AdaptivePropertiesViewModelPadding="10"
to app:BasePage
ControlInfo
to app:BasePage.Resources
PropertiesListHeader
to app:BasePage.Resources
PropertiesListFooter
to app:BasePage.Resources
PropertyItemsSource
to app:BasePage.Resources
Control Info
UI ?
<Frame Style="{x:StaticResource DocumentContentFrameStyle}">
<Label Text="{x:StaticResource ControlInfo}" />
</Frame>
Properties List
UI
<Frame Style="{x:StaticResource DocumentContentFrameStyle}">
<CollectionView
Footer="{x:StaticResource PropertiesListFooter}"
Header="{x:StaticResource PropertiesListHeader}"
ItemsSource="{x:StaticResource PropertyItemsSource}"
Style="{x:StaticResource PropertiesListStyle}" />
</Frame>
namespace
to project namespace standard namespace MAUIsland
?ContentPage
?region
?<Page>ViewModel
into the constructor parmeter?BindingContext = vm;
?[x] AdaptivePropertiesPageViewModel.cs
NavigationAwareBaseViewModel
?region
?
#region [CTor]
public LabelPageViewModel(IAppNavigator appNavigator)
: base(appNavigator)
{
}
RegisterPages
?RegisterServices
?
COOL NEW PAGE !!!!
Page name: Color Converter 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
?