Maui概述

https://learn.microsoft.com/zh-cn/dotnet/maui/platform-integration/

https://www.cnblogs.com/jevonsflash/p/17399748.html

https://learn.microsoft.com/zh-cn/dotnet/maui/user-interface/controls/webview?pivots=devices-android

https://learn.microsoft.com/zh-cn/dotnet/maui/platform-integration/invoke-platform-code

开发案例

https://learn.microsoft.com/zh-cn/samples/browse/?expanded=dotnet&products=dotnet-maui

https://learn.microsoft.com/zh-cn/dotnet/maui/user-interface/controls/tableview

https://learn.microsoft.com/zh-cn/dotnet/maui/user-interface/pages/tabbedpage
https://learn.microsoft.com/zh-cn/dotnet/maui/android/platform-specifics/tabbedpage-transition-animations

.netcore 8 版本

https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-rc1/

平台文档

https://doc.rg1008.com/docs/rg_pass_lang/rg_pass_lang-1ejlaig36ro6k

真机调试

https://doc.rg1008.com/docs/rg_pass_lang/rg_pass_lang-1ejmv8s15977o

window10安装安卓子系统

https://zhuanlan.zhihu.com/p/595774791

MIP驱动安装(处理电脑没弹出安卓USB)

https://www.cnblogs.com/chenxiaomeng/p/16553565.html

https://www.microsoft.com/en-us/download/details.aspx?id=48231

真机调试,谷歌驱动

https://learn.microsoft.com/zh-cn/dotnet/maui/android/device/setup?view=net-maui-7.0#connect-the-device-to-the-computer

社区工具

https://learn.microsoft.com/zh-cn/dotnet/communitytoolkit/maui/layouts/statecontainer

maui布局

https://blog.csdn.net/hb_ljj/article/details/129116564

webview

https://learn.microsoft.com/zh-cn/dotnet/maui/user-interface/controls/webview

生命周期

https://www.cnblogs.com/zh7791/p/15992947.html?share_token=FCEB132D-78E3-4760-B27B-C26FEC9969CB&tt_from=weixin&utm_source=weixin&utm_medium=toutiao_ios&utm_campaign=client_share&wxshare_count=1

xaml中条件判断

https://learn.microsoft.com/zh-cn/dotnet/communitytoolkit/maui/converters/is-equal-converter



<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="RG3.MauiAppHostCK.UserProtocolPage"              
             xmlns:local="clr-namespace:RG3.MauiAppHostCK.Converters"
             Shell.NavBarIsVisible="False"  BackgroundImageSource="banner_pdetail.png" >


    <ContentPage.Resources>
        <StyleSheet Source="/Resources/Styles/HomeStyle.css" />
        <local:PercentageToPixelConverter x:Key="percentageToPixelConverter" />
    </ContentPage.Resources>

    <VerticalStackLayout VerticalOptions="End"   WidthRequest="375"  Spacing="10" HorizontalOptions="Center" Padding="10,0,10,10"   BackgroundColor="#ffffff">
        <BoxView 
                 x:Name="bvHeaderRadius"
                 Color="#ffffff"
                 Margin="0,-20,0,0"
                 CornerRadius="30,30,0,0"
                 WidthRequest="375"
                 HeightRequest="20"
                 VerticalOptions="End"
                 HorizontalOptions="Center" />

        <ActivityIndicator IsRunning="true"  Color="#BD3124" IsVisible="{Binding IsDataLoading}"/>
        <StackLayout >
            <Label Text="用户协议"
                     FontSize="23"
                     FontAttributes="Bold"
                     HorizontalOptions="Center" 
                     VerticalOptions="End">
            </Label>
        </StackLayout>
        <ScrollView HeightRequest="{Binding Source={RelativeSource Self}, Path=Parent.Height, Converter={StaticResource percentageToPixelConverter}, ConverterParameter='0.9'}">
            <WebView Margin="0,5,0,0">
                <WebView.Source>
                    <HtmlWebViewSource Html="{Binding Description}"/>
                </WebView.Source>
            </WebView>
        </ScrollView>
    </VerticalStackLayout>

</ContentPage>
文档更新时间: 2023-11-18 13:19   作者:admin