{"id":313329,"date":"2020-11-18T03:00:16","date_gmt":"2020-11-18T03:00:16","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=313329"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=313329","title":{"rendered":"\u042d\u0432\u043e\u043b\u044e\u0446\u0438\u044f Material Design \u0434\u043b\u044f AvaloniaUI"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/webt\/oi\/px\/87\/oipx877rgrpavf-7gscvigpfkty.png\" alt=\"image\"\/><\/p>\n<p>  <\/p>\n<p>Material.Avalonia \u2014 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 Material Desing \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u043d\u0430 AvaloniaUI \u2014 \u043a\u0440\u043e\u0441\u0441-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u043c XAML \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 \u0434\u043b\u044f .NET.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441 \u0433\u043e\u0434 \u043d\u0430\u0437\u0430\u0434 \u043d\u0430 \u0425\u0430\u0440\u0431\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u0430 <a href=\"https:\/\/habr.com\/ru\/news\/t\/475256\/\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a> \u043e \u043d\u0430\u0448\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435, \u043e\u0434\u043d\u0430\u043a\u043e \u0441 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u043e\u0435: \u043c\u044b \u0438\u0437\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0442\u0435\u043c, \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0441\u0432\u043e\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u043d\u0430\u0448\u0435 \u0434\u0435\u043c\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/3h\/kd\/zm\/3hkdzmnra9pwsdr_ovhybib3p_s.gif\" alt=\"image\"\/><\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0415\u0449\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0445 Material.Avalonia<\/b>                         <\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/do\/bs\/nt\/dobsnt0vlha11umjuzvokzactvg.gif\"\/><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vb\/hu\/ib\/vbhuibz2xd3mdw2tmsd1zagwjj4.gif\"\/><\/div>\n<\/p><\/div>\n<p>  <\/p>\n<h4 id=\"nachalo-ispolzovaniya\">\u041d\u0430\u0447\u0430\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>  <\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 <a href=\"https:\/\/www.nuget.org\/packages\/Material.Avalonia\/\">Nuget \u043f\u0430\u043a\u0435\u0442<\/a>:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">dotnet add package Material.Avalonia<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0444\u0430\u0439\u043b <code>App.xaml<\/code>, \u0435\u0441\u043b\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041b\u0438\u0431\u043e, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0442\u043e \u0432\u043c\u0435\u0441\u0442\u043e <code>Application.Styles<\/code> (<code>Application.Resources<\/code>) \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 <code>Window.Styles<\/code> \u0438\u043b\u0438 <code>UserControl.Styles<\/code> \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;Application ...              xmlns:themes=&quot;clr-namespace:Material.Styles.Themes;assembly=Material.Styles&quot;              ...&gt;     &lt;Application.Resources&gt;         &lt;themes:BundledTheme BaseTheme=&quot;Light&quot; PrimaryColor=&quot;Teal&quot; SecondaryColor=&quot;Amber&quot;\/&gt;     &lt;\/Application.Resources&gt;     &lt;Application.Styles&gt;         &lt;StyleInclude Source=&quot;avares:\/\/Material.Avalonia\/Material.Avalonia.Templates.xaml&quot; \/&gt;     &lt;\/Application.Styles&gt; &lt;\/Application&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u0441\u0435, \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u0441\u0435 \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0438\u043b\u0438 Material Design.<br \/>  \u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435 \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0436\u0435 \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b. \u0415\u0441\u043b\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442, \u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 <code>Application.Styles<\/code> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;Application.Styles&gt;     &lt;StyleInclude Source=&quot;avares:\/\/Avalonia.Themes.Default\/DefaultTheme.xaml&quot;\/&gt;     &lt;StyleInclude Source=&quot;avares:\/\/Avalonia.Themes.Default\/Accents\/BaseLight.xaml&quot;\/&gt;     &lt;StyleInclude Source=&quot;avares:\/\/Material.Avalonia\/Material.Avalonia.Templates.xaml&quot; \/&gt; &lt;\/Application.Styles&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0430\u043d\u043d\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0442\u0435\u043c\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043e\u0432 Avalonia &quot;\u043f\u043e\u0434&quot; \u0442\u0435\u043c\u044b Material.Avalonia.<\/p>\n<p>  <\/p>\n<h4 id=\"temy\">\u0422\u0435\u043c\u044b<\/h4>\n<p>  <\/p>\n<p>\u0417\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 2 \u043c\u0435\u0441\u044f\u0446\u0430 \u043c\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043b\u0438 \u0442\u0435\u043c\u044b, \u0438, \u0438\u0437\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043e\u0442 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u0431\u043e\u0440\u043e\u0432 \u0442\u0435\u043c.<\/p>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0442\u0435\u043c\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0443\u0436\u043d\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <code>BundledTheme<\/code> \u0432 <code>App.xaml<\/code>.<\/p>\n<p>  <\/p>\n<p>\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u0442\u0435\u043c\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u0432\u0435\u0442\u043b\u043e\u0439 \u2014 <code>Light<\/code>, \u0442\u0435\u043c\u043d\u043e\u0439 \u2014 <code>Dark<\/code> \u0438 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u043e\u0439 \u2014 <code>Inherit<\/code>. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0435\u043c\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439, \u043d\u043e \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044d\u0442\u043e \u0435\u0449\u0435 \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e.<\/p>\n<p>  <\/p>\n<p><code>BundledTheme<\/code> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432 Material Design, &quot;\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445&quot; \u0446\u0432\u0435\u0442\u043e\u0432.<\/p>\n<p>  <\/p>\n<p>\u0421\u043c\u0435\u043d\u0430 \u0446\u0432\u0435\u0442\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 <code>Teal<\/code>, \u0438\u0437 \u043a\u043e\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">var paletteHelper = new PaletteHelper(); var theme = paletteHelper.GetTheme(); theme.SetPrimaryColor(SwatchHelper.Lookup[(MaterialColor) PrimaryColor.Teal]); paletteHelper.SetTheme(theme);<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e, \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0446\u0432\u0435\u0442 \u0438\u0437 RGBA.<br \/>  \u041f\u0440\u043e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0446\u0432\u0435\u0442\u0430\u043c\u0438 \u0442\u0435\u043c\u044b \u044f \u043d\u0430\u043f\u0438\u0448\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e.<\/p>\n<p>  <\/p>\n<h4 id=\"kastomnye-kontroly\">\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b<\/h4>\n<p>  <\/p>\n<h5 id=\"card\">Card<\/h5>\n<p>  <\/p>\n<p><a href=\"https:\/\/material.io\/components\/cards\">\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f<\/a> \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Material Design<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fr\/bb\/ro\/frbbroptxyxk61kwdas8ai_4lgg.png\" alt=\"image\"\/><\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f Card \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0442\u0435\u043d\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f Attached Property:<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;styles:Card assists:ShadowAssist.ShadowDepth=&quot;Depth1&quot;&gt; ... &lt;\/styles:Card&gt;<\/code><\/pre>\n<p>  <\/p>\n<h5 id=\"colorzone\">ColorZone<\/h5>\n<p>  <\/p>\n<p>\u0426\u0432\u0435\u0442\u043e\u0432\u0430\u044f \u0437\u043e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0446\u0432\u0435\u0442\u0430 \u0444\u043e\u043d\u0430 \u0438 \u043f\u0435\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u043f\u043b\u0430\u043d\u0430 \u0438\u0437 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u043f\u0430\u043b\u0438\u0442\u0440\u044b Material Design \u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0432\u0435\u0442\u043e\u0432.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dk\/o8\/cy\/dko8cycqpuvx_net2afbk7leumw.png\" alt=\"image\"\/><\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;styles:ColorZone Margin=&quot;4&quot; Padding=&quot;8&quot; Mode=&quot;Accent&quot;&gt;Accent&lt;\/styles:ColorZone&gt;<\/code><\/pre>\n<p>  <\/p>\n<h5 id=\"floatingbutton\">FloatingButton<\/h5>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ow\/rv\/pq\/owrvpqgdw3-pwbc27ku35m0yiq0.png\" alt=\"image\"\/><\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;styles:FloatingButton Content=&quot;+&quot;  \/&gt; &lt;styles:FloatingButton Content=&quot;My long text&quot; \/&gt;<\/code><\/pre>\n<p>  <\/p>\n<h4 id=\"teni\">\u0422\u0435\u043d\u0438<\/h4>\n<p>  <\/p>\n<p>\u0412 Avalonia \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0442\u0435\u043d\u0435\u0439 &quot;\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438&quot; \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0430 \u0437\u0430\u0434\u0430\u043d\u0438\u0435\u043c <code>BoxShadows<\/code> \u0434\u043b\u044f <code>Border<\/code>.<br \/>  \u041e\u0434\u043d\u0430\u043a\u043e \u0443\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d AttachedProperty <code>ShadowAssist<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0434\u043b\u044f <code>Card<\/code>, <code>FloatingButton<\/code> \u0438 <code>Border<\/code>.<\/p>\n<p>  <\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0434\u043b\u044f <code>Border<\/code> \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f <code>ShadowAssist.ShadowDepth<\/code> \u0442\u043e \u043e\u043d \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u0442 <code>BoxShadows<\/code> \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u043c\u0443 \u0443\u0440\u043e\u0432\u043d\u044e ShadowDepth.<\/p>\n<p>  <\/p>\n<p>\u0422\u0430\u043a-\u0436\u0435 \u0435\u0441\u0442\u044c <code>ShadowAssist.Darken<\/code>, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0437\u0430\u0442\u0435\u043c\u043d\u044f\u0442\u044c \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0442\u0435\u043d\u044c \u0438 \u0434\u0435\u043b\u0430\u044e\u0449\u0438\u0439 \u044d\u0442\u043e \u0441 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0442\u0435\u043d\u0438, \u043f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0438.<\/p>\n<p>  <\/p>\n<p>\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f Card \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 ShadowDepth<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pd\/ss\/yj\/pdssyj5by3nkgarll6jumln1rag.png\" alt=\"image\"\/><\/p>\n<p>  <\/p>\n<p>\u041c\u043d\u043e\u0433\u043e\u0435 \u0443\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u043e, \u0435\u0449\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u2014 \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043e.<br \/>  \u041e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0438\u043b\u0438 \u043f\u043e\u043c\u043e\u0447\u044c \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 <a href=\"https:\/\/github.com\/AvaloniaUtils\/material.avalonia\">GitHub<\/a><br \/>  \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442 \u043d\u0430 <a href=\"https:\/\/www.nuget.org\/packages\/Material.Avalonia\/\">NuGet<\/a><\/p>\n<p>  <\/p>\n<p>Issue\/PR \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u0437\u044b\u0432\u044b \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.<br \/>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 Avalonia \u0438 \u0432\u0441\u0435\u0445 \u0441\u043e\u0447\u0443\u0432\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432 <a href=\"http:\/\/t.me\/avalonia\">Telegram (ru)<\/a> \u0438 <a href=\"https:\/\/gitter.im\/AvaloniaUI\/Avalonia\">Gitter (en)<\/a>, \u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 <a href=\"https:\/\/avaloniaui.net\/docs\/styles\/styles\">\u0442\u0443\u0442<\/a>.<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/528620\/\"> https:\/\/habr.com\/ru\/post\/528620\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/webt\/oi\/px\/87\/oipx877rgrpavf-7gscvigpfkty.png\" alt=\"image\"\/><\/p>\n<p>  <\/p>\n<p>Material.Avalonia \u2014 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 Material Desing \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u043d\u0430 AvaloniaUI \u2014 \u043a\u0440\u043e\u0441\u0441-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u043c XAML \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 \u0434\u043b\u044f .NET.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441 \u0433\u043e\u0434 \u043d\u0430\u0437\u0430\u0434 \u043d\u0430 \u0425\u0430\u0440\u0431\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u0430 <a href=\"https:\/\/habr.com\/ru\/news\/t\/475256\/\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a> \u043e \u043d\u0430\u0448\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435, \u043e\u0434\u043d\u0430\u043a\u043e \u0441 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u043e\u0435: \u043c\u044b \u0438\u0437\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0442\u0435\u043c, \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0441\u0432\u043e\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-313329","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/313329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=313329"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/313329\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=313329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=313329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}