当前位置: 首页 > news >正文

网站首页顶部图片尺寸怎么从网上找客户

网站首页顶部图片尺寸,怎么从网上找客户,2023最好用的浏览器,直播app开发技术一、介绍: Material Design语言的一些重要功能包括 系统字体Roboto的升级版本 ,同时颜色更鲜艳,动画效果更突出。杜拉特还简要谈到了新框架的一些变化。谷歌的想法是让谷歌平台上的开发者掌握这个新框架,从而让所有应用就有统一的…

一、介绍:
Material Design语言的一些重要功能包括 系统字体Roboto的升级版本 ,同时颜色更鲜艳,动画效果更突出。杜拉特还简要谈到了新框架的一些变化。谷歌的想法是让谷歌平台上的开发者掌握这个新框架,从而让所有应用就有统一的外观,就像是苹果向开发者提出的设计原则一样。谷歌还基于这种新的设计语言对本公司旗舰应用进行了重新设计,包括安卓和网页端的Gmail和Calendar。大家可能还会记得,最近曾看到过有关这些变动的文章, 有些博客 已经掌握了外泄截屏,显示经过了重新设计的Gmail,界面更干净、更简约。在安卓平台上,这种新界面被称为Material,支持各种新动画效果,具有内置的实时UI阴影,以及可在不同屏幕之间切换的hero元素。-----这部分属于摘抄。
二、Material Design在WPF上下载
1.新建一个WPF项目:
由于我安装的是VS2022版本,所以我新建的项目版本是.NET6.0。
在这里插入图片描述

2.下载Material Design包:
点击项目,选择管理NuGet程序包…
在这里插入图片描述搜索Material Design,点击安装:
在这里插入图片描述

三、.配置App.xaml
按照网上其他博主介绍,是添加以下内容:

<ResourceDictionary><ResourceDictionary.MergedDictionaries><ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" /><ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" /><ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" /><ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" /></ResourceDictionary.MergedDictionaries></ResourceDictionary>

在我这里,始终都会报错,如下图:
在这里插入图片描述
试了好久,最后找到官方文档,得到解决,将上面内容换成如下:

        <ResourceDictionary><ResourceDictionary.MergedDictionaries><materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime" /><ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" /></ResourceDictionary.MergedDictionaries></ResourceDictionary>

完整App.xaml:

<Application x:Class="WpfApp1.App"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:local="clr-namespace:WpfApp1" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"StartupUri="MainWindow.xaml"><Application.Resources><ResourceDictionary><ResourceDictionary.MergedDictionaries><materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime" /><ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" /></ResourceDictionary.MergedDictionaries></ResourceDictionary></Application.Resources>
</Application>

四、官方DemoAPP
该EXE提供了各种控件的样式和xaml代码,如下图:
在这里插入图片描述
点击左侧菜单栏,可以选择不同控件
在这里插入图片描述
点击不同控件上的小图标会显示控件代码,直接复制使用:
在这里插入图片描述

五、控件添加界面
1.先在前端引用: xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
2.可以根据DemoApp上进行复制,至此完美结束。


文章转载自:
http://zoosporangium.tnhg.cn
http://primo.tnhg.cn
http://dichasium.tnhg.cn
http://elaborator.tnhg.cn
http://heathery.tnhg.cn
http://catabaptist.tnhg.cn
http://douppioni.tnhg.cn
http://gillyflower.tnhg.cn
http://humourist.tnhg.cn
http://appositive.tnhg.cn
http://glaive.tnhg.cn
http://unclipped.tnhg.cn
http://mushroomy.tnhg.cn
http://washleather.tnhg.cn
http://bibliopole.tnhg.cn
http://substantialise.tnhg.cn
http://brickbat.tnhg.cn
http://slothful.tnhg.cn
http://uptrend.tnhg.cn
http://circumstanced.tnhg.cn
http://nociassociation.tnhg.cn
http://mooring.tnhg.cn
http://essoin.tnhg.cn
http://sorehead.tnhg.cn
http://nemacide.tnhg.cn
http://unwatered.tnhg.cn
http://pereira.tnhg.cn
http://ohia.tnhg.cn
http://terebene.tnhg.cn
http://kinesics.tnhg.cn
http://muezzin.tnhg.cn
http://interscholastic.tnhg.cn
http://drawlingly.tnhg.cn
http://mia.tnhg.cn
http://libyan.tnhg.cn
http://schizocarp.tnhg.cn
http://wield.tnhg.cn
http://lxx.tnhg.cn
http://breathed.tnhg.cn
http://kirmess.tnhg.cn
http://infamatory.tnhg.cn
http://card.tnhg.cn
http://vpd.tnhg.cn
http://redolence.tnhg.cn
http://howie.tnhg.cn
http://calliopsis.tnhg.cn
http://zinkenite.tnhg.cn
http://cockhorse.tnhg.cn
http://ciaa.tnhg.cn
http://tjirebon.tnhg.cn
http://yaupon.tnhg.cn
http://venezuelan.tnhg.cn
http://synjet.tnhg.cn
http://champleve.tnhg.cn
http://schmo.tnhg.cn
http://crimea.tnhg.cn
http://hydropath.tnhg.cn
http://lodicule.tnhg.cn
http://huon.tnhg.cn
http://lifeboat.tnhg.cn
http://aestilignosa.tnhg.cn
http://sinistrad.tnhg.cn
http://deneb.tnhg.cn
http://uniseptate.tnhg.cn
http://capris.tnhg.cn
http://negligible.tnhg.cn
http://synthetically.tnhg.cn
http://anti.tnhg.cn
http://mellowness.tnhg.cn
http://moshav.tnhg.cn
http://multiphoton.tnhg.cn
http://alegar.tnhg.cn
http://erode.tnhg.cn
http://olingo.tnhg.cn
http://playgoer.tnhg.cn
http://ostracism.tnhg.cn
http://muscalure.tnhg.cn
http://malarial.tnhg.cn
http://sectionalist.tnhg.cn
http://abroach.tnhg.cn
http://backpedal.tnhg.cn
http://dcm.tnhg.cn
http://effortful.tnhg.cn
http://directness.tnhg.cn
http://hoedown.tnhg.cn
http://lunch.tnhg.cn
http://inconsiderably.tnhg.cn
http://verruculose.tnhg.cn
http://ranunculus.tnhg.cn
http://pyaemic.tnhg.cn
http://calefactory.tnhg.cn
http://breastwork.tnhg.cn
http://suine.tnhg.cn
http://inapplicable.tnhg.cn
http://hhfa.tnhg.cn
http://astrograph.tnhg.cn
http://tiptop.tnhg.cn
http://termitic.tnhg.cn
http://circumvolute.tnhg.cn
http://eisa.tnhg.cn
http://www.sczhlp.com/news/1.html

相关文章: