<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~files/atom-premium.xsl"?>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedpress="https://feed.press/xmlns" xmlns:media="http://search.yahoo.com/mrss/" xmlns:podcast="https://podcastindex.org/namespace/1.0">
  <feedpress:locale>en</feedpress:locale>
  <feedpress:newsletterId>telerik-blogs-mobile</feedpress:newsletterId>
  <link rel="hub" href="https://feedpress.superfeedr.com/"/>
  <logo>https://static.feedpress.com/logo/telerik-blogs--mobile-5ab52ba67db9a.jpg</logo>
  <title type="text">Telerik Blogs | Mobile</title>
  <subtitle type="text">The official blog of Progress Telerik - expert articles and tutorials for developers.</subtitle>
  <id>uuid:3302d5da-d652-407b-8d81-e6322af7b231;id=796</id>
  <updated>2026-11-16T17:11:37Z</updated>
  <link rel="alternate" href="https://www.telerik.com/"/>
  <link rel="self" type="application/atom+xml" href="https://feeds.telerik.com/blogs/mobile"/>
  <entry>
    <id>urn:uuid:3e51f582-8627-430d-82f4-72bf94072830</id>
    <title type="text">Ready for .NET 11: Day-Zero Support Across the Telerik Portfolio</title>
    <summary type="text">The Progress Telerik portfolio of products is ready for .NET 11 support so you won’t miss a step.</summary>
    <published>2026-11-11T21:37:24Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Iva Borisova </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/ready-net-11-day-zero-support-across-telerik-portfolio"/>
    <content type="text"><![CDATA[<p><span class="featured">The Progress Telerik portfolio of products is ready for .NET 11 support so you won&rsquo;t miss a step.</span></p><p>With Microsoft&rsquo;s .NET 11 release, Progress is shipping Telerik products with day-zero support for .NET 11. Development teams can start exploring the latest platform improvements immediately and move to production on their own schedule.</p><p>Each new .NET release brings improvements across the runtime, developer tooling and application frameworks. .NET 11 continues that work with updates for web and cross-platform development. Telerik customers can adopt the new platform and continue using the Telerik tools they rely on across their application stack.</p><h2 id="net-11-support-across-telerik-products">.NET 11 Support Across Telerik Products</h2><p>Every major Telerik UI library, reporting, document processing and mocking solution is ready from day one. Whether you&rsquo;re building web, desktop, mobile or document-processing workflows, you can upgrade with confidence and continue using the Telerik solutions you rely on today.</p><ul><li><a target="_blank" href="https://www.telerik.com/blazor-ui">Telerik UI for Blazor</a> is compatible with .NET 11.</li><li><a target="_blank" href="https://www.telerik.com/aspnet-core-ui">Telerik UI for ASP.NET Core</a> is compatible with .NET 11 and can be used alongside the platform improvements without requiring corresponding changes to Telerik components.</li><li><a target="_blank" href="https://www.telerik.com/maui-ui">Telerik UI for .NET MAUI</a> supports .NET 11 from day one.</li><li><a target="_blank" href="https://www.telerik.com/products/winforms.aspx">Telerik UI for WinForms</a>,&nbsp;<a target="_blank" href="https://www.telerik.com/products/wpf/overview.aspx">Telerik UI for WPF</a>&nbsp;and <a target="_blank" href="https://www.telerik.com/aspnet-mvc">Telerik UI for ASP.NET MVC</a> are compatible with .NET 11.</li><li><a target="_blank" href="https://www.telerik.com/products/reporting.aspx">Telerik Reporting</a> is compatible with .NET 11. While the release includes runtime-level async improvements, the Reporting engine is not heavily async-based, so we do not expect those changes to have a significant performance impact on the engine.</li><li><a target="_blank" href="https://www.telerik.com/document-processing-libraries">Telerik Document Processing Libraries</a> are compatible with .NET 11.</li><li>Telerik Visual Studio and Visual Studio Code extensions support .NET 11 development workflows.</li><li><a target="_blank" href="https://www.telerik.com/products/mocking.aspx">Telerik JustMock</a> supports .NET 11 Runtime Async scenarios.</li></ul><h2 id="what-.net-11-brings-to-blazor">What .NET 11 Brings to Blazor</h2><p>.NET 11 brings a wide range of Blazor improvements. Here are a few highlights we picked because they are especially relevant to apps built with Telerik UI for Blazor components:</p><ul><li>The new <a target="_blank" href="https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-11?view=aspnetcore-10.0&amp;tabs=minimal-apis#new-displayname-component-and-support-for-display-and-displayname-attributes">DisplayName component and support for Display and DisplayName attributes</a> make it easier to show a field&rsquo;s display name, for example, in a <code>&lt;label&gt;</code> within a <a target="_blank" href="https://www.telerik.com/blazor-ui/documentation/components/form/formitems/template">Telerik Form item template</a>.</li><li><a target="_blank" href="https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-11?view=aspnetcore-10.0&amp;tabs=minimal-apis#asynchronous-form-validation-support">Asynchronous form validation</a> supports validation workflows that depend on asynchronous value checks.</li><li><a target="_blank" href="https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-11?view=aspnetcore-10.0&amp;tabs=minimal-apis#client-side-prerendering-in-a-blazor-web-app-preserves-the-servers-culture">Client-side prerendering preserves the server&rsquo;s culture</a>, helping maintain consistent localized output.</li><li>A <a target="_blank" href="https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-11?view=aspnetcore-10.0&amp;tabs=minimal-apis#new-development-server-for-blazor-webassembly-apps">new development server for Blazor WebAssembly apps</a> brings an updated development experience.</li><li><a target="_blank" href="https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-11?view=aspnetcore-10.0&amp;tabs=minimal-apis#server-triggered-circuit-pause">Server-triggered circuit pause</a> and <a target="_blank" href="https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-11?view=aspnetcore-10.0&amp;tabs=minimal-apis#automatic-circuit-pause-on-tab-inactivity">automatic circuit pause on tab inactivity</a> give apps more ways to manage resources for inactive Blazor Server sessions.</li></ul><p>These are framework-level capabilities you can use in any Blazor app, and they work hand in hand with <a target="_blank" href="https://www.telerik.com/blazor-ui">Telerik UI for Blazor</a>. Because the library supports a broad range of .NET versions, the same Telerik package works across your .NET 10 and .NET 11 projects, so you can adopt the latest framework features at your own pace.</p><p>For more details, see Microsoft&rsquo;s <a target="_blank" href="https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-11?view=aspnetcore-10.0&amp;tabs=minimal-apis">ASP.NET Core 11 release notes</a>.</p><h2 id="net-maui-11-unified-runtime-faster-builds-higher-quality">.NET MAUI 11: Unified Runtime, Faster Builds, Higher Quality</h2><p>With .NET 11, Microsoft is putting the emphasis on .NET MAUI quality while continuing to modernize the framework underneath. The move to CoreCLR, improvements to XAML compilation and Native AOT support bring .NET MAUI closer to the rest of the .NET platform, giving developers a more consistent runtime and development experience.</p><h3 id="runtime-and-performance">Runtime and Performance</h3><ul><li><strong>CoreCLR becomes the default runtime</strong> for Android, iOS, Mac Catalyst and tvOS, replacing Mono and bringing .NET MAUI onto the same runtime foundation as the rest of .NET. The change opens the door to improvements in debugging, profiling, Hot Reload and runtime performance. Learn more in <a target="_blank" href="https://devblogs.microsoft.com/dotnet/dotnet-maui-moves-to-coreclr-in-dotnet-11/">.NET MAUI Moves to CoreCLR in .NET 11</a>.</li><li><strong>Native AOT publishing</strong> is available as an opt-in option for scenarios where startup performance and application size are important.</li></ul><h3 id="developer-experience">Developer Experience</h3><ul><li><strong>XAML source generation is now the default</strong>, moving XAML compilation to source generation and helping improve build performance while bringing Debug and Release builds closer together.</li><li><strong>HybridWebView gets better Native AOT and trimming support</strong> through source-generated JSON serialization for JavaScript-to-.NET calls, making hybrid applications better suited for fully trimmed and AOT-compiled deployments.</li></ul><h3 id="platform-alignment">Platform Alignment</h3><ul><li><strong>Material 3 support on Android</strong> brings .NET MAUI applications in line with Google&rsquo;s latest Material design system and modern Android experiences.</li><li><strong>Xcode 27 readiness</strong> helps developers prepare existing Apple applications for platform changes, including the updated scene lifecycle.</li></ul><p>The result? A more unified .NET foundation, quicker development cycles and better alignment with the platforms your apps run on.</p><p>With <a target="_blank" href="https://www.telerik.com/maui-ui">Telerik UI for .NET MAUI</a> supporting .NET 11 from day one, developers can take advantage of the new runtime and tooling improvements while continuing to build polished, production-ready cross-platform experiences.</p><p>For the full list of changes, see <a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/maui/whats-new/dotnet-11">What&rsquo;s new in .NET MAUI for .NET 11</a>.</p><h2 id="justmock-and-runtime-async">JustMock and Runtime Async</h2><p>.NET 11 advances <a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-11/overview">Runtime Async</a>, a runtime-managed approach to asynchronous execution that changes how some async methods are represented and executed. Instead of relying on the traditional compiler-generated state machine, these methods use a runtime-managed model.</p><p>The JustMock CodeWeaver profiler detects Runtime Async methods during JIT compilation and uses a dedicated interception path at async suspension and resumption points. Methods that continue to use the traditional compiler-generated state machine remain supported through the existing JustMock interception path. The profiler also excludes runtime async helper intrinsics from instrumentation to prevent recursive profiling.</p><p>This means teams can continue using <a target="_blank" href="https://www.telerik.com/products/mocking.aspx">Telerik JustMock</a> for asynchronous scenarios on .NET 11, including <code>Task&lt;T&gt;</code>, <code>ValueTask&lt;T&gt;</code> and static async methods, as well as exception propagation across async suspension boundaries.</p><h2 id="plan-your-next-upgrade">Plan Your Next Upgrade</h2><p>Microsoft has scheduled the end of support for <strong>.NET 8 and .NET 9 for November 10, 2026</strong>, and support for <strong>.NET Framework 4.6.2 is scheduled to end on January 12, 2027</strong>. While these dates are set by Microsoft, Progress will continue to support these versions in Telerik products until February 2027. This additional window is designed to allow a smooth transition for teams still running on .NET 8 or .NET 9, giving them enough time to plan and complete their migration without disruption.</p><p>If your applications still target these frameworks, now is a good time to review your upgrade plans. Refer to Microsoft&rsquo;s <a target="_blank" href="https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core">.NET and .NET Core support policy</a>, <a target="_blank" href="https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-framework">.NET Framework support policy</a>, <a target="_blank" href="https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework">.NET Framework lifecycle page</a> and the announcement that <a target="_blank" href="https://devblogs.microsoft.com/dotnet/dotnet-8-9-end-of-support/">.NET 8 and .NET 9 will reach end of support on November 10, 2026</a>.</p><p>Whether you&rsquo;re modernizing existing applications or starting new projects, .NET 11 provides the latest platform capabilities while Telerik delivers the UI, reporting, mocking and document-processing tools you need to build production-ready applications from day one.</p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:461886be-59c0-4fb2-b1d4-cd4070d38e4f</id>
    <title type="text">My Favorite Color Extensions from the .NET MAUI Community Toolkit</title>
    <summary type="text">Color Extensions, provided by the .NET MAUI Community Toolkit, give you a way to animate color changes or convert colors in certain situations. Take a look!</summary>
    <published>2026-11-09T22:29:26Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Leomaris Reyes </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/my-favorite-color-extensions-net-maui-community-toolkit"/>
    <content type="text"><![CDATA[<p><span class="featured">Color Extensions, provided by the .NET MAUI Community Toolkit, give you a way to animate color changes or convert colors in certain situations. Take a look!</span></p><p>Colors are a &ldquo;language&rdquo; of communication that allow us to understand an action even before reading any text.</p><p>For example, when we see a label in red, we immediately associate it with an error, even before reading what the message actually says. That&rsquo;s why colors are such an important part of our applications and why we should use them in our favor when building our UIs.</p><p>Now, imagine being able to go a step further and play with those colors in different ways, for example, smoothly animating a component from one color to another.</p><p>For this and many other useful scenarios, the .NET MAUI Community Toolkit provides us with Color Extensions. In this article, we&rsquo;ll explore some of my favorites! </p><h2 id="what-are-extension-methods-">What Are Extension Methods? </h2><p>As the official documentation defines them:</p><blockquote><p>&ldquo;Extension methods allow you to add new functionality to existing types without modifying the original type.&rdquo;</p></blockquote><p>In other words, they allow us to extend the capabilities of existing classes and use those new functionalities in a very natural way throughout our code.</p><h2 id="and-what-are-color-extensions">And What Are Color Extensions?</h2><p>The Color Extensions we&rsquo;ll explore are available through the <strong>.NET MAUI Community Toolkit</strong>. In this article, we&rsquo;ll work with both <a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/extensions/color-animation-extensions">ColorAnimationExtensions</a> and <a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/extensions/color-conversion-extensions">ColorConversionExtensions</a>.</p><p>So, before we get started, make sure to add the corresponding NuGet package:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/01_maui_community_toolkit.png?sfvrsn=17aecfd4_2" title=".NET MAUI Community Toolkit. NuGet Package" alt=".NET MAUI Community Toolkit. NuGet Package" /></p><p>And add the following to your code:</p><p>➖ For ColorAnimationExtensions:</p><pre class=" language-csharp"><code class="prism  language-csharp">using CommunityToolkit.Maui.Extensions;
</code></pre><p>➖ For ColorConversionExtensions:</p><pre class=" language-csharp"><code class="prism  language-csharp">using CommunityToolkit.Maui.Core.Extensions;
</code></pre><h2 id="exploring-the-coloranimationextensions">Exploring the ColorAnimationExtensions</h2><p>These extensions allow us to animate colors in our UI, creating smooth transitions from one color to another.</p><h3 id="background-color">Background Color</h3><p>BackgroundColorTo allows you to animate the BackgroundColor of a VisualElement.</p><p>It accepts the following parameters:</p><ul><li><strong>Color:</strong> The target color of the animation.</li><li><strong>Rate:</strong> The time interval between each frame of the animation. Its default value is <strong>16 milliseconds</strong>. <em>(Optional)</em></li><li><strong>Duration:</strong> The total duration of the animation. Its default value is <strong>250 milliseconds</strong>. <em>(Optional)</em></li><li><strong>Easing:</strong> Defines how the animation progresses, for example, whether it accelerates or decelerates. Its default value is null. <em>(Optional)</em></li></ul><p><strong>Let&rsquo;s see an example!</strong></p><p>If we want to animate the background color of a button from pink to blue, we can do it as follows:</p><p>In your XAML:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Button 
    x:Name="MyButton" 
    Text="Click here!" 
    TextColor="White" 
    HeightRequest="50" 
    Margin="10,0" 
    BackgroundColor="DeepPink" /&gt;
</code></pre><p>In your C# code:</p><pre class=" language-csharp"><code class="prism  language-csharp">protected override async void OnAppearing() 
{ 
    base.OnAppearing();
     
    await MyButton.BackgroundColorTo( 
    Colors.Blue, 
    rate: 17, 
    length: 3000, 
    easing: Easing.Linear 
    ); 
}
</code></pre><p>Your result should look like the following:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/02_backgroundcolorto_sample.gif?sfvrsn=e2fd94fd_2" alt="Button smoothly changes color from pink to blue" /></p><h3 id="text-color">Text Color</h3><p>TextColorTo allows you to smoothly transition the text from one color to another through an animation.  You can use the same parameters we previously explored with the BackgroundColorTo extension.</p><p><strong>Let&rsquo;s see an example!</strong></p><p>If we want to animate the text color from pink to blue, we can do it as follows:</p><p>In your XAML:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Label 
    x:Name="MyLabel" 
    Text="Hello!" 
    FontSize="50" 
    TextColor="DeepPink" /&gt; 
    &lt;/VerticalStackLayout&gt;
</code></pre><p>In your C# code:</p><pre class=" language-csharp"><code class="prism  language-csharp">protected override async void OnAppearing() 
{ 
    base.OnAppearing(); 
    
    await MyLabel.TextColorTo( 
    Colors.Blue, 
    rate: 16, 
    length: 3000, 
    easing: Easing.Linear 
    ); 
}
</code></pre><p>Your result should look like the following:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/03_textcolorto_label_sample.gif?sfvrsn=2b5f11b1_2" alt="Text changes color from pink to blue" /></p><h2 id="now-let’s-explore-some-coloranimationextensions">Now, Let&rsquo;s Explore Some ColorAnimationExtensions</h2><h3 id="toblackorwhite">ToBlackOrWhite</h3><p>Imagine you have an app where the background color of a button changes dynamically depending on certain conditions. You don&rsquo;t know beforehand which background color it will be, and using a fixed text color could make the text difficult to read.</p><p>For example, if the button has a black background, you might want to use white text. But if the background changes to yellow, black text would be a better choice.</p><p>The ToBlackOrWhite extension helps you handle scenarios like this by converting a color to either black or white, helping you keep the UI of your app readable.</p><p>As the official documentation explains:</p><blockquote><p>&ldquo;This method converts the Color to a monochrome value of Colors.Black or Colors.White.&rdquo;</p></blockquote><p>Using it is very simple:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Button 
    x:Name="MyBtn" 
    Text="Hello .NET MAUI!" 
    BackgroundColor="Purple" 
    Clicked="OnButtonClicked"/&gt;
</code></pre><p>And your C# code:</p><pre class=" language-csharp"><code class="prism  language-csharp">private void OnButtonClicked(object sender, EventArgs e) 
{ 
    MyBtn.TextColor = 
    MyBtn.BackgroundColor.ToBlackOrWhiteForText(); 
}
</code></pre><h3 id="isdark">IsDark</h3><p>This extension allows you to determine whether a color is considered dark or not. For example, Black is a dark color, while White is not. It returns a boolean value.</p><p>Using IsDark is very simple:</p><pre class=" language-csharp"><code class="prism  language-csharp">var result = Colors.Black.IsDark();
</code></pre><p>In this case, the result will be <strong>true</strong>.</p><h3 id="toinversecolor">ToInverseColor</h3><p>The ToInverseColor extension allows you to get the inverse of a color. For example, in this case, the inverse of <strong>Black</strong> would be <strong>White</strong>:</p><pre class=" language-csharp"><code class="prism  language-csharp">var result = Colors.Black.ToInverseColor();
</code></pre><h3 id="withred-withgreen-withblue">WithRed, WithGreen, WithBlue</h3><p>This extension allows you to modify only the red component of an existing color, while keeping the other color components unchanged.</p><p>For example:</p><pre class=" language-csharp"><code class="prism  language-csharp">var color = Color.FromRgb(50, 100, 150);

var result = color.WithRed(200);
</code></pre><p>In this case, the color changes from RGB(50, 100, 150) to RGB(200, 100, 150).</p><p>You can also use <strong>WithGreen()</strong> and <strong>WithBlue()</strong> to modify the green or blue components of a color.</p><h3 id="torgbstring">ToRgbString</h3><p>This extension allows you to convert a color into a string containing its Red, Green and Blue (RGB) values.</p><pre class=" language-csharp"><code class="prism  language-csharp">var result = Colors.Red.ToRgbString();
</code></pre><p>In this case, the result will be: <strong>RGB(255,0,0)</strong>.</p><h2 id="conclusion">Conclusion</h2><p>And that&rsquo;s it! These are some of my favorite and most useful Color Extensions from the .NET MAUI Community Toolkit. There are many other interesting ones that I definitely encourage you to explore!</p><p>These extensions can help you save code while making it easier to work with colors in your apps. So, give them a try and start incorporating them into your day to day .NET MAUI development! </p><p>Thanks for reading! </p><p><strong>References:</strong></p><ul><li><a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/extensions/color-animation-extensions">https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/extensions/color-animation-extensions</a></li><li><a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/extensions/color-conversion-extensions">https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/extensions/color-conversion-extensions</a></li></ul><aside><hr data-sf-ec-immutable="" /><div class="row"><div class="col-4 u-normal-full u-small-mb0"><h4 class="u-fs20 u-fw5 u-lh125 u-mb0">4 Rating Card UI Ideas in .NET MAUI</h4></div><div class="col-8"><p class="u-fs16 u-mb0">Enable users to provide feedback rating with these <a target="_blank" href="https://www.telerik.com/blogs/4-rating-card-ui-ideas-net-maui">four variations of rating cards for your .NET MAUI app</a>.</p></div></div></aside>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:94ab3fdc-6987-41e4-bf0b-de15b4edbdf0</id>
    <title type="text">Tips for Getting Started with .NET MAUI</title>
    <summary type="text">Understand what you’re trying to build before you begin, practice, learn from the community and more advice from a fellow .NET MAUI dev.</summary>
    <published>2026-11-02T18:00:14Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Leomaris Reyes </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/tips-getting-started-net-maui"/>
    <content type="text"><![CDATA[<p><span class="featured">Understand what you&rsquo;re trying to build before you begin, practice, learn from the community and more advice from a fellow .NET MAUI dev.</span></p><p>If you&rsquo;re here, it&rsquo;s because we share a love or at least a curiosity for <strong>.NET MAUI</strong>, and I absolutely love that! </p><p>In this article, I&rsquo;d like to share some tips that will be especially helpful if you&rsquo;re just starting your journey in .NET MAUI. Before we begin, I want to tell you something that applies not only to .NET MAUI but to every aspect of your life. <strong>It&rsquo;s completely normal to feel afraid when facing something new. The important thing is not to let that fear stop you.</strong></p><p>I also want to encourage you to let go of the fear of making mistakes. Don&rsquo;t be afraid to try, experiment and practice. Very often, we learn much more from our mistakes than from our successes, and every attempt is an opportunity to improve our skills. Of course, always act responsibly and make an effort to learn from every experience.</p><p>Now, let&rsquo;s get started with the tips! </p><h2 id="never-start-an-application-before-understanding-what-you-need-to-build">1. Never Start an Application Before Understanding What You Need to Build</h2><p>This advice applies not only to .NET MAUI but to any technology. When we&rsquo;re getting started, it&rsquo;s very common to want to jump into writing code as quickly as possible. We want to move fast, prove ourselves and see results. However, in software development, understanding the problem is just as important as writing the code.</p><p>Before writing your first line of code, take the time to understand what is expected from the application. Review the requirements, analyze the design, identify the business rules and make sure you understand the user flow.</p><p>And above all, <strong>ask questions</strong>. Don&rsquo;t be afraid to ask if something isn&rsquo;t clear. It&rsquo;s much better to clarify your doubts when you&rsquo;re assigned a project than to assume you understood everything and end up delivering the wrong solution simply because you were too embarrassed to ask.</p><p>Remember, no developer knows everything. Asking questions shows curiosity, responsibility and a genuine desire to deliver quality work. Once you have a clear understanding of what you need to build, then it&rsquo;s time to start developing.</p><p>And remember: the world won&rsquo;t end because you take some time to do research, read the documentation or ask the questions you need to. In fact, that time will often save you many hours of rework later on.</p><h2 id="practice-makes-perfect">2. Practice Makes Perfect!</h2><p>Didn&rsquo;t get your XAML right on the first try? Practice! Do you think a UI is impossible to replicate? Practice some more!</p><p>Don&rsquo;t get discouraged. I have to admit that when I started with .NET MAUI, my first screens looked nothing like the designs I was trying to recreate. I struggled to understand how layouts, controls and the proper way to structure a user interface worked. And no, I didn&rsquo;t get it right the first time, the second time&hellip; or even after many more attempts.</p><p>The only thing that truly helped me improve was <strong>consistent practice</strong>. With every screen I recreated, I learned something new. Little by little, I gained a better understanding of how XAML works, started building user interfaces more easily and without even realizing it, I also became much faster.</p><p>If you want to improve, here are a few tips that helped me a lot:</p><h3 id="find-inspiration-to-practice">Find Inspiration to Practice</h3><p>One of my favorite platforms is <strong><a target="_blank" href="https://dribbble.com/">Dribbble</a></strong>. There, you can find hundreds of amazing UI designs to recreate.</p><p>Set small challenges for yourself. Start with simple interfaces and gradually increase the difficulty as you gain confidence. The goal isn&rsquo;t to create a perfect copy, but to learn new techniques with every exercise.</p><h2 id="learn-your-layouts-well">3. Learn Your Layouts Well</h2><p>Take the time to understand how the different .NET MAUI layouts work.</p><p>Although you can often achieve the same result using different layouts, understanding their differences will help you choose the right one for each scenario. This can improve your application&rsquo;s performance.</p><h3 id="share-what-you-learn">Share What You Learn</h3><p>If there&rsquo;s one thing I&rsquo;m completely convinced of, it&rsquo;s that <strong>teaching is one of the best ways to learn</strong>.</p><p>One of the best ways to know whether you&rsquo;ve truly understood something is to try explaining it to someone else. Did you learn how a layout works? Were you able to recreate a UI that once seemed impossible? Share it! Post it on LinkedIn, in a .NET MAUI Facebook group or in a WhatsApp community, write a blog post, or even give a talk.</p><p>Besides reinforcing your own knowledge, sharing what you learn also helps you connect with other developers and can open the door to new professional opportunities.</p><h2 id="explore-telerik-controls-⭐">4. Explore Telerik Controls ⭐</h2><p>In addition to the native controls that .NET MAUI provides, there are also third-party libraries that can help you build truly amazing applications. My favorite is <strong>Progress Telerik <a target="_blank" href="https://www.telerik.com/maui-ui">UI for .NET MAUI</a></strong>. Its controls are feature-rich, easy to integrate and, without a doubt, highly recommended!</p><p>I encourage you to explore the components Progress Telerik makes available to the community. They are not only an excellent way to practice and learn, but they can also save you a lot of time when working on real world projects or client applications.</p><p>What I like most is that you can create a free account and get a trial license, allowing you to experiment with all the available components.</p><p><strong>How do you get a trial license?</strong></p><p>It&rsquo;s super easy!</p><ul><li>Create a <a target="_blank" href="https://www.telerik.com/account/">free Telerik account</a>.</li><li>Download Telerik UI for .NET MAUI.</li><li>Activate your trial license and start exploring all the available controls.</li></ul><p>My advice is not to stop at reading the documentation. Create a sample project, experiment with the components and discover how they work. It&rsquo;s an excellent way to learn new features while expanding your toolkit as a developer.</p><h2 id="follow-.net-maui-content-creators">5. Follow .NET MAUI Content Creators</h2><p>One of the best ways to keep learning is to surround yourself with people who consistently share knowledge about .NET MAUI.</p><p>Following content creators through their blogs, LinkedIn, YouTube, X, Instagram or any other platform will help you stay up to date with everything happening in the .NET MAUI ecosystem: new features, improvements, important changes, best practices and tips that you can apply to your own projects.</p><p>Here are some of my favorite .NET MAUI content creators:</p><ul><li><strong><a target="_blank" href="https://www.youtube.com/@jfversluis">Gerald Versluis</a></strong></li><li><strong><a target="_blank" href="https://www.linkedin.com/in/davidortinau/">David Ortinau</a></strong></li><li><strong><a target="_blank" href="https://www.linkedin.com/in/matt-goldman/">Matt Goldman</a></strong></li></ul><p>And if you want to discover even more awesome creators, definitely take a look at the portal <a target="_blank" href="https://bloggers.feedspot.com/xamarin_blogs/">30 Best Xamarin Blogs to Follow in 2026</a>. You&rsquo;ll find many developers who now create amazing .NET MAUI content!  You never know when an article, a video or a post might teach you something that saves you hours of work or helps you write better code.</p><p>I also recommend following the official <a target="_blank" href="https://www.youtube.com/@dotnet">.NET channel</a>. That&rsquo;s where they host the <a target="_blank" href="https://www.youtube.com/watch?v=XH19sR5AzuA">.NET MAUI Community Standups</a>, sharing the latest updates, showcasing new features, doing live demos and talking about what&rsquo;s coming next for .NET MAU.</p><h2 id="conclusion">Conclusion</h2><p>And that&rsquo;s it! I hope these tips help you feel more confident as you start your .NET MAUI journey. </p><p>Throughout this article, we talked about some of the things that have helped me the most: taking the time to understand the requirements before coding, practicing consistently, exploring third-party controls like Telerik UI for .NET MAUI and learning from amazing content creators in the community.</p><p>Of course, these are just a few of my personal tips! I encourage you to keep exploring, building and most importantly, learning something new every day.</p><p>See you in the next article! &zwj;♀️</p><hr /><p>Remember, Telerik UI for .NET MAUI comes with a free 30-day trial.</p><p><a href="https://www.telerik.com/try/ui-for-maui" target="_blank" class="Btn">Try Now</a></p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:82b9a2fc-3818-410f-bed4-b9a4b88ef261</id>
    <title type="text">Explore MauiReactor and the MVU Pattern</title>
    <summary type="text">Let’s check out the MauiReactor project and the Model-View-Update (MVU) pattern with a sample .NET MAUI app.</summary>
    <published>2026-10-26T13:28:12Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Héctor Pérez </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/explore-mauireactor-mvu-pattern"/>
    <content type="text"><![CDATA[<p><span class="featured">Let&rsquo;s check out the MauiReactor project and the Model-View-Update (MVU) pattern with a sample .NET MAUI app.</span></p><p>When creating applications using .NET MAUI, we are used to working with content pages written in XAML, view models with binding properties and data models. However, today there is an alternative that lets us forget about bindings, with a more reactive approach like those on other platforms. In this article, we will explore the project <a target="_blank" href="https://github.com/adospace/reactorui-maui">MauiReactor </a> and the <strong>MVU</strong> (Model-View-Update) pattern, and how you can use it in your own .NET MAUI projects. Let&rsquo;s get started!</p><h2 id="what-is-the-mvu-pattern">What Is the MVU Pattern?</h2><p>MVU stands for Model-View-Update, which is a pattern that has been popularized in frameworks like React, Flutter, among others. The way each piece is defined is as follows:</p><ol><li><strong>Model</strong>: It is the state of your screen at a given moment. It is important not to confuse it with class models; rather it is everything needed for the UI to be drawn, for example a counter, a task list, etc.</li><li><strong>View</strong>: This is a function that takes the current state and returns how the interface should look. It is important to know that when a change occurs in the state, the view is regenerated.</li><li><strong>Update</strong>: This piece is fundamental in the pattern, as it is the only place where the state can be modified. When a user performs an action in the graphical interface, the state is updated, which causes the view to regenerate.</li></ol><p>The pattern results in a unidirectional and predictable flow. Unlike MVVM, in MVU there are no two-way bindings or notifications via events. Instead, we could summarize it as a state, a function that renders that state, and a controlled way to update when it will be rendered.</p><h2 id="what-is-mauireactor">What Is MauiReactor?</h2><p><strong>MauiReactor</strong> is a library hosted on GitHub, created by Adolfo Marinucci, which implements a component-based UI framework on top of .NET MAUI. This means you can write user interfaces based on the MVU pattern, using only declarative and fluent C# code.</p><p>The advantage MauiReactor offers is that Marinucci has created an equivalent for every .NET MAUI control. For example, this XAML code:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ContentPage</span> <span class="token attr-name">Title</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Login<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>VerticalStackLayout</span> <span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>User:<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Entry</span> <span class="token punctuation">/&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Button</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Login<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>VerticalStackLayout</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ContentPage</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>Would be translated to this in MauiReactor:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">class</span> <span class="token class-name">LoginPage</span> <span class="token punctuation">:</span> Component
<span class="token punctuation">{</span>
    <span class="token keyword">public</span> <span class="token keyword">override</span> VisualNode <span class="token function">Render</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
        <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token function">ContentPage</span><span class="token punctuation">(</span><span class="token string">"Login"</span><span class="token punctuation">,</span>
            <span class="token function">VStack</span><span class="token punctuation">(</span>
                <span class="token function">Label</span><span class="token punctuation">(</span><span class="token string">"User:"</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
                <span class="token function">Entry</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
                <span class="token function">Button</span><span class="token punctuation">(</span><span class="token string">"Login"</span><span class="token punctuation">)</span>
            <span class="token punctuation">)</span>
            <span class="token punctuation">.</span><span class="token function">Center</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
        <span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre><p>For now, don&rsquo;t worry about the implementation; rather, I want you to notice how the interface is defined through the use of fluent methods, which makes the code readable. Also, there&rsquo;s no XAML code or bindings.</p><h2 id="setting-up-a-.net-maui-project-for-mauireactor">Setting Up a .NET MAUI Project for MauiReactor</h2><p>MauiReactor is distributed via the NuGet package <code>Reactor.Maui</code>, although it&rsquo;s also possible to install a preconfigured template as indicated by the official repository. To do this, you should run the following command in the terminal:</p><pre class=" language-bash"><code class="prism  language-bash">dotnet new <span class="token function">install</span> Reactor.Maui.TemplatePack
</code></pre><p>Once the template has been created, we can create a new project using the following command:</p><pre class=" language-bash"><code class="prism  language-bash">dotnet new maui-reactor-startup -o MvuHabitTracker
</code></pre><p>One of the important steps for MauiReactor to work in a .NET MAUI project is that the traditional <code>builder.UseMauiApp&lt;App&gt;()</code> must be replaced by <code>builder.UseMauiReactorApp&lt;MainPage&gt;()</code>. This tells MauiReactor that the component <code>MainPage</code> will be the first screen shown.</p><h2 id="creating-a-stateless-component-in-mauireactor">Creating a Stateless Component in MauiReactor</h2><p>Now that the project has been configured, let&rsquo;s see how to create a component in MauiReactor. Let&rsquo;s create a simple one that shows a message to the user, without any state. To do this, I will create a new class called <code>MainPage.cs</code> with the following content:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">using</span> MauiReactor<span class="token punctuation">;</span>

<span class="token keyword">namespace</span> MvuHabitTracker<span class="token punctuation">.</span>Components<span class="token punctuation">;</span>

<span class="token comment">//1.</span>
<span class="token keyword">class</span> <span class="token class-name">MainPage</span> <span class="token punctuation">:</span> Component
<span class="token punctuation">{</span>
    <span class="token comment">//2.</span>
    <span class="token keyword">public</span> <span class="token keyword">override</span> VisualNode <span class="token function">Render</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
        <span class="token comment">//3.</span>
        <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token function">ContentPage</span><span class="token punctuation">(</span><span class="token string">"Habit Tracker"</span><span class="token punctuation">,</span>
            <span class="token comment">//4.</span>
            <span class="token function">Label</span><span class="token punctuation">(</span><span class="token string">"Here we'll build our app with the MVU pattern!"</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">FontSize</span><span class="token punctuation">(</span><span class="token number">18</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">Center</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
        <span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre><p>Let&rsquo;s take a closer look at the code:</p><ol><li>The class <code>MainPage</code> inherits from <code>Component</code>, which is the base class for every stateless component in <code>MauiReactor</code>.</li><li>The method <code>Render</code> is overridden, which returns the visual tree of the screen.</li><li>A page is created with the title <strong>Habit Tracker</strong> and a <code>Label</code> as content.</li><li>We use method chaining to configure the label properties.</li></ol><p>When running the application, we will get a result like the following:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/stateless-component-mauireactor.png?sfvrsn=eacb98ea_2" alt="Demonstration of a stateless component using MauiReactor" /></p><p>Now, let&rsquo;s go a step further and implement state to react to user actions.</p><h2 id="creating-a-stateful-component-in-mauireactor">Creating a Stateful Component in MauiReactor</h2><p>To be able to add state to a component in MauiReactor, we must do two things. First, define a class that represents the state, and, second, make the component inherit from <code>Component&lt;TState&gt;</code>. Let&rsquo;s go back to our file <code>MainPage.cs</code> and modify it as follows:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">namespace</span> MvuHabitTracker
<span class="token punctuation">{</span>
    <span class="token comment">//1.</span>
    <span class="token keyword">class</span> <span class="token class-name">CounterState</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">public</span> <span class="token keyword">int</span> Counter <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span>
    <span class="token punctuation">}</span>

    <span class="token comment">//2.</span>
    <span class="token keyword">class</span> <span class="token class-name">MainPage</span> <span class="token punctuation">:</span> Component<span class="token operator">&lt;</span>CounterState<span class="token operator">&gt;</span>
    <span class="token punctuation">{</span>        
        <span class="token keyword">public</span> <span class="token keyword">override</span> VisualNode <span class="token function">Render</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
            <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token function">ContentPage</span><span class="token punctuation">(</span><span class="token string">"Counter Sample"</span><span class="token punctuation">,</span>
                <span class="token function">VStack</span><span class="token punctuation">(</span>spacing<span class="token punctuation">:</span> <span class="token number">10</span><span class="token punctuation">,</span>
                    <span class="token comment">//3.</span>
                    <span class="token function">Label</span><span class="token punctuation">(</span>$<span class="token string">"Counter: {State.Counter}"</span><span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">FontSize</span><span class="token punctuation">(</span><span class="token number">20</span><span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">Center</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
                    <span class="token comment">//4.</span>
                    <span class="token function">Button</span><span class="token punctuation">(</span><span class="token string">"Click To Increment"</span><span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=</span><span class="token operator">&gt;</span>
                        <span class="token comment">//5.</span>
                        <span class="token function">SetState</span><span class="token punctuation">(</span>s <span class="token operator">=</span><span class="token operator">&gt;</span> s<span class="token punctuation">.</span>Counter<span class="token operator">++</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
                <span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">Center</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
            <span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>Once again let&rsquo;s analyze the class in detail:</p><ol><li>We have defined a class called <code>CounterState</code>, with a single property <code>Counter</code>. This class will represent the state of the screen and is the <strong>Model</strong> part of the pattern.</li><li>We have changed the inheritance of <code>MainPage</code>, adding a generic of <code>CounterState</code>. This allows us to access the property called <code>State</code>, which gives us access to the component&rsquo;s state.</li><li>The property <code>State</code> is used where we want the component&rsquo;s information to be displayed. In our example we use an interpolated string to show the state of <code>Counter</code> in the <code>Label</code>. Here we see the <strong>View</strong> part of the MVU pattern.</li><li>The button receives an initial text to be shown in the UI to the user, as well as a callback that will be executed when pressed.</li><li>Inside the callback <code>SetState(s =&gt; s.Counter++))</code> is invoked, representing the <strong>Update</strong> part of the pattern.</li></ol><p>We have seen the different parts of the MVU pattern in action in the previous code. Now, what really happens behind the scenes?</p><p>Internally, when invoking <code>SetState</code>, the component is marked as invalid. Then the method <code>Render</code> is re-executed, which generates a new visual tree with the updated state. Finally, the new tree is compared with the previous one and only the differences are applied to the native controls. The result of the execution is the following:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/mauireactor-state-update.gif?sfvrsn=c1d73351_2" alt="Demonstration of a state update using MauiReactor" /></p><p>Now that we have the basics of how MauiReactor works, let&rsquo;s create a more useful application.</p><h2 id="creating-a-habit-tracker-style-app">Creating a Habit-tracker Style App</h2><p>We are going to create a simple application that allows us to display a series of habits with a name, a daily goal and a progress. To do this, let&rsquo;s start by creating a new model called <code>Habits</code>:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">class</span> <span class="token class-name">Habit</span>
<span class="token punctuation">{</span>
    <span class="token keyword">public</span> <span class="token keyword">string</span> Name <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> <span class="token operator">=</span> <span class="token keyword">string</span><span class="token punctuation">.</span>Empty<span class="token punctuation">;</span>
        

    <span class="token keyword">public</span> <span class="token keyword">int</span> Count <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span>

    <span class="token keyword">public</span> <span class="token keyword">int</span> Goal <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> <span class="token operator">=</span> <span class="token number">1</span><span class="token punctuation">;</span>

    <span class="token keyword">public</span> <span class="token keyword">bool</span> IsCompleted <span class="token operator">=</span><span class="token operator">&gt;</span> Count <span class="token operator">&gt;=</span> Goal<span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre><p>Something interesting in the previous model is that the property <code>IsCompleted</code> is self-calculated based on whether the goal was reached or not, returning a <code>true</code> value when it is true.</p><p>Now, let&rsquo;s update <code>MainPage</code> as follows:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token comment">//1.</span>
<span class="token keyword">class</span> <span class="token class-name">MainPageState</span>
<span class="token punctuation">{</span>
    <span class="token keyword">public</span> List<span class="token operator">&lt;</span>Habit<span class="token operator">&gt;</span> Habits <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> <span class="token operator">=</span> <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>

<span class="token keyword">class</span> <span class="token class-name">MainPage</span> <span class="token punctuation">:</span> Component<span class="token operator">&lt;</span>MainPageState<span class="token operator">&gt;</span>
<span class="token punctuation">{</span>
    <span class="token comment">//2.</span>
    <span class="token keyword">protected</span> <span class="token keyword">override</span> <span class="token keyword">void</span> <span class="token function">OnMounted</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        State<span class="token punctuation">.</span>Habits <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">List</span><span class="token operator">&lt;</span>Habit<span class="token operator">&gt;</span>
        <span class="token punctuation">{</span>
            <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> Name <span class="token operator">=</span> <span class="token string">"Drink water"</span><span class="token punctuation">,</span>Goal <span class="token operator">=</span> <span class="token number">8</span> <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> Name <span class="token operator">=</span> <span class="token string">"Read"</span><span class="token punctuation">,</span> Goal <span class="token operator">=</span> <span class="token number">3</span> <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> Name <span class="token operator">=</span> <span class="token string">"Exercise"</span><span class="token punctuation">,</span> Goal <span class="token operator">=</span> <span class="token number">1</span> <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token punctuation">}</span><span class="token punctuation">;</span>

        <span class="token keyword">base</span><span class="token punctuation">.</span><span class="token function">OnMounted</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">public</span> <span class="token keyword">override</span> VisualNode <span class="token function">Render</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
        <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token function">ContentPage</span><span class="token punctuation">(</span><span class="token string">"Habit Tracker"</span><span class="token punctuation">,</span>
            <span class="token comment">//3.</span>
            <span class="token function">ScrollView</span><span class="token punctuation">(</span>
                <span class="token comment">//4.</span>
                <span class="token function">VStack</span><span class="token punctuation">(</span>spacing<span class="token punctuation">:</span> <span class="token number">12</span><span class="token punctuation">,</span>
                    <span class="token function">Label</span><span class="token punctuation">(</span><span class="token string">"Today's Habits"</span><span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">FontSize</span><span class="token punctuation">(</span><span class="token number">26</span><span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">FontAttributes</span><span class="token punctuation">(</span>FontAttributes<span class="token punctuation">.</span>Bold<span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">HCenter</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
                <span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">Padding</span><span class="token punctuation">(</span><span class="token number">20</span><span class="token punctuation">)</span>
            <span class="token punctuation">)</span>
        <span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre><p>Several interesting things happen in the previous code:</p><ol><li>We have defined in <code>MainPageState</code> a list-type property of habits initialized as empty.</li><li><code>OnMounted</code> is a lifecycle method of the component that MauiReactor invokes only once, when it is shown for the first time. Because of this, we use it to initialize the list with data.</li><li>In the visual part, we use a <code>ScrollView</code> so the list of habits can scroll if it grows.</li><li>We use .NET MAUI controls to define the graphical interface.</li></ol><p>The previous code only defines a <code>Label</code> with the main title of the page, but it still does not display the list information. To achieve this, we are going to create a new smaller reusable component.</p><h2 id="creating-a-reusable-component-in-mauireactor">Creating a Reusable Component in MauiReactor</h2><p>Although we could have created the whole UI from the main component, the ideal is always to have small blocks that we can reuse throughout the app. In this case, we will create a card-like component that receives a habit and shows a card with its name, progress and a button to increment it.</p><p>We will achieve this by creating a file <code>HabitCard.cs</code>:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token comment">//1.</span>
<span class="token keyword">partial</span> <span class="token keyword">class</span> <span class="token class-name">HabitCard</span> <span class="token punctuation">:</span> Component
<span class="token punctuation">{</span>
    <span class="token comment">//2.</span>
    <span class="token punctuation">[</span>Prop<span class="token punctuation">]</span>
    Habit _habit <span class="token operator">=</span> <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token punctuation">[</span>Prop<span class="token punctuation">]</span>
    <span class="token comment">//4.</span>
    Action _onIncrement <span class="token operator">=</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span><span class="token punctuation">;</span>

    <span class="token keyword">public</span> <span class="token keyword">override</span> VisualNode <span class="token function">Render</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
        <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token function">Border</span><span class="token punctuation">(</span>
            <span class="token function">Grid</span><span class="token punctuation">(</span><span class="token string">"Auto"</span><span class="token punctuation">,</span> <span class="token string">"*,Auto"</span><span class="token punctuation">,</span>
                <span class="token function">VStack</span><span class="token punctuation">(</span>spacing<span class="token punctuation">:</span> <span class="token number">2</span><span class="token punctuation">,</span>
                    <span class="token function">Label</span><span class="token punctuation">(</span>_habit<span class="token punctuation">.</span>Name<span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">FontSize</span><span class="token punctuation">(</span><span class="token number">16</span><span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">FontAttributes</span><span class="token punctuation">(</span>FontAttributes<span class="token punctuation">.</span>Bold<span class="token punctuation">)</span><span class="token punctuation">,</span>
                    <span class="token function">Label</span><span class="token punctuation">(</span>$<span class="token string">"{_habit.Count} / {_habit.Goal}"</span><span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">FontSize</span><span class="token punctuation">(</span><span class="token number">13</span><span class="token punctuation">)</span>
                        <span class="token punctuation">.</span><span class="token function">TextColor</span><span class="token punctuation">(</span>Colors<span class="token punctuation">.</span>Gray<span class="token punctuation">)</span>
                <span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">GridColumn</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">VCenter</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">Padding</span><span class="token punctuation">(</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
                <span class="token comment">//4.</span>
                <span class="token function">Button</span><span class="token punctuation">(</span>_habit<span class="token punctuation">.</span>IsCompleted <span class="token operator">?</span> <span class="token string">"?"</span> <span class="token punctuation">:</span> <span class="token string">"+"</span><span class="token punctuation">,</span> _onIncrement<span class="token punctuation">)</span>
                    <span class="token punctuation">.</span><span class="token function">GridColumn</span><span class="token punctuation">(</span><span class="token number">1</span><span class="token punctuation">)</span>
                    <span class="token punctuation">.</span><span class="token function">WidthRequest</span><span class="token punctuation">(</span><span class="token number">52</span><span class="token punctuation">)</span>
                    <span class="token punctuation">.</span><span class="token function">VCenter</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
            <span class="token punctuation">)</span>
        <span class="token punctuation">)</span>
        <span class="token punctuation">.</span><span class="token function">Padding</span><span class="token punctuation">(</span><span class="token number">14</span><span class="token punctuation">)</span>
        <span class="token comment">//4.</span>
        <span class="token punctuation">.</span><span class="token function">Stroke</span><span class="token punctuation">(</span>_habit<span class="token punctuation">.</span>IsCompleted <span class="token operator">?</span> Colors<span class="token punctuation">.</span>MediumSeaGreen <span class="token punctuation">:</span> Colors<span class="token punctuation">.</span>LightGray<span class="token punctuation">)</span>
        <span class="token punctuation">.</span><span class="token function">StrokeThickness</span><span class="token punctuation">(</span><span class="token number">1</span><span class="token punctuation">)</span>
        <span class="token punctuation">.</span><span class="token function">StrokeShape</span><span class="token punctuation">(</span><span class="token keyword">new</span> <span class="token class-name">RoundRectangle</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">.</span><span class="token function">CornerRadius</span><span class="token punctuation">(</span><span class="token number">12</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre><p>The previous code shows some concepts that we have not yet explained, so I will take the opportunity to point them out to you:</p><ol><li>The class is declared as <code>partial</code>, because MauiReactor uses a code generator to create fluent methods from our properties.</li><li>You can notice that we have used <code>[Prop]</code> attributes, which will allow the parent component to configure the properties.</li><li>A <code>Action</code> type property is used, which will allow the child component to notify the parent that a button was pressed, without the parent knowing what should happen next.</li><li>At some points in the app, UI values will be updated according to the habit&rsquo;s state.</li></ol><p>With this new component ready, let&rsquo;s return to the main page to integrate it.</p><h2 id="using-a-child-component-in-mauireactor">Using a Child Component in MauiReactor</h2><p>The time has come to integrate the new child component into the main component. To achieve this, we will complete the <code>Render</code> method, creating a loop to iterate over each habit and display it through the new component:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>
<span class="token keyword">using</span> System<span class="token punctuation">.</span>Linq<span class="token punctuation">;</span>
<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>
<span class="token keyword">class</span> <span class="token class-name">MainPage</span> <span class="token punctuation">:</span> Component<span class="token operator">&lt;</span>MainPageState<span class="token operator">&gt;</span>
<span class="token punctuation">{</span>
    <span class="token keyword">public</span> <span class="token keyword">override</span> VisualNode <span class="token function">Render</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token comment">//1.</span>
        <span class="token keyword">int</span> completed <span class="token operator">=</span> State<span class="token punctuation">.</span>Habits<span class="token punctuation">.</span><span class="token function">Count</span><span class="token punctuation">(</span>habit <span class="token operator">=</span><span class="token operator">&gt;</span> habit<span class="token punctuation">.</span>IsCompleted<span class="token punctuation">)</span><span class="token punctuation">;</span>

        <span class="token comment">//2.</span>
        <span class="token keyword">var</span> children <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">List</span><span class="token operator">&lt;</span>VisualNode<span class="token operator">&gt;</span>
        <span class="token punctuation">{</span>
            <span class="token function">Label</span><span class="token punctuation">(</span><span class="token string">"Today's Habits"</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">FontSize</span><span class="token punctuation">(</span><span class="token number">26</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">FontAttributes</span><span class="token punctuation">(</span>FontAttributes<span class="token punctuation">.</span>Bold<span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">HCenter</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span>

            <span class="token function">Label</span><span class="token punctuation">(</span>$<span class="token string">"{completed} of {State.Habits.Count} completed"</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">FontSize</span><span class="token punctuation">(</span><span class="token number">15</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">TextColor</span><span class="token punctuation">(</span>Colors<span class="token punctuation">.</span>Gray<span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">HCenter</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">Margin</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
        <span class="token punctuation">}</span><span class="token punctuation">;</span>

        <span class="token comment">//3.</span>
        <span class="token keyword">foreach</span> <span class="token punctuation">(</span><span class="token keyword">var</span> habit <span class="token keyword">in</span> State<span class="token punctuation">.</span>Habits<span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            children<span class="token punctuation">.</span><span class="token function">Add</span><span class="token punctuation">(</span><span class="token keyword">new</span> <span class="token class-name">HabitCard</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">Habit</span><span class="token punctuation">(</span>habit<span class="token punctuation">)</span>
                <span class="token comment">//4.</span>
                <span class="token punctuation">.</span><span class="token function">OnIncrement</span><span class="token punctuation">(</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token function">SetState</span><span class="token punctuation">(</span>_ <span class="token operator">=</span><span class="token operator">&gt;</span> habit<span class="token punctuation">.</span>Count<span class="token operator">++</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
        
        children<span class="token punctuation">.</span><span class="token function">Add</span><span class="token punctuation">(</span>
            <span class="token comment">//5.</span>
            <span class="token function">Button</span><span class="token punctuation">(</span><span class="token string">"Reset day"</span><span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=</span><span class="token operator">&gt;</span>
                <span class="token function">SetState</span><span class="token punctuation">(</span>_ <span class="token operator">=</span><span class="token operator">&gt;</span>
                <span class="token punctuation">{</span>
                    <span class="token keyword">foreach</span> <span class="token punctuation">(</span><span class="token keyword">var</span> habit <span class="token keyword">in</span> State<span class="token punctuation">.</span>Habits<span class="token punctuation">)</span>
                    <span class="token punctuation">{</span>
                        habit<span class="token punctuation">.</span>Count <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
                    <span class="token punctuation">}</span>
                <span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
            <span class="token punctuation">.</span><span class="token function">Margin</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

        <span class="token comment">//6.</span>
        <span class="token keyword">return</span> <span class="token function">ContentPage</span><span class="token punctuation">(</span><span class="token string">"Habit Tracker"</span><span class="token punctuation">,</span>
            <span class="token function">ScrollView</span><span class="token punctuation">(</span>
                <span class="token function">VStack</span><span class="token punctuation">(</span>spacing<span class="token punctuation">:</span> <span class="token number">12</span><span class="token punctuation">,</span> children<span class="token punctuation">.</span><span class="token function">ToArray</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
                    <span class="token punctuation">.</span><span class="token function">Padding</span><span class="token punctuation">(</span><span class="token number">20</span><span class="token punctuation">)</span>
            <span class="token punctuation">)</span>
        <span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>    
<span class="token punctuation">}</span>
</code></pre><p>In the previous code we do the following:</p><ol><li>We calculate how many habits are complete to show to the user.</li><li>A list <code>children</code> of <code>VisualNode</code> nodes is created, which are visual nodes of MauiReactor. Each item will have a title and the progress of completed tasks.</li><li>We go through each habit and, for each of them, add the subcomponent <code>HabitCard</code>. Since we use the <code>[Prop]</code> attribute in the subcomponent&rsquo;s properties, we can configure what will happen when its button is pressed.</li><li>In <code>OnIncrement</code> we call the <code>SetState</code> method, which triggers a new render. Both the subtitle and the card will update automatically.</li><li>We add a button with the text <strong>Reset day</strong>, which goes through all the habits and sets their count to zero.</li><li>We return the new content page with a vertical list that contains all the habits in the list.</li></ol><p>Something we have seen in the implementation is that at no time are the controls manipulated directly. Rather, as the state changes, the entire interface is regenerated and MauiReactor applies only the differences.</p><p>When running the application, we will have the following result:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/habit-tracker-mauireactor.gif?sfvrsn=4b9a8e16_2" alt="Testing a habit-tracking app built with MauiReactor" /></p><p>We can see that the result is a fully functional app, with an architecture completely different from what we are used to.</p><h2 id="conclusion">Conclusion</h2><p>Throughout this article, we have explored what MauiReactor and the MVU pattern are, applied to .NET MAUI projects. We have seen that the pattern proposes an architecture different from the traditional MVVM, in which there are no bindings or notifications.</p><p>It is certainly an interesting proposal, although we must remember that it does not have official support from the .NET MAUI team. I invite you to explore the repository and experiment with your own projects.</p><aside><hr data-sf-ec-immutable="" /><div class="row"><div class="col-4 u-normal-full u-small-mb0"><h4 class="u-fs20 u-fw5 u-lh125 u-mb0">4 Rating Card UI Ideas in .NET MAUI</h4></div><div class="col-8"><p class="u-fs16 u-mb0">Enable users to provide feedback rating with these <a target="_blank" href="https://www.telerik.com/blogs/4-rating-card-ui-ideas-net-maui">four variations of rating cards for your .NET MAUI app</a>.</p></div></div></aside>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:f575f0cb-9661-4736-b03a-dc38122e2a74</id>
    <title type="text">Replicating Project Pad UI in .NET MAUI</title>
    <summary type="text">Recreate this modern UI from scratch using .NET MAUI to experiment with common features like BindableLayout and next-level components like Telerik UI for .NET MAUI CollectionView.</summary>
    <published>2026-10-19T15:07:40Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Leomaris Reyes </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/replicating-project-pad-ui-net-maui"/>
    <content type="text"><![CDATA[<p><span class="featured">Recreate this modern UI from scratch using .NET MAUI to experiment with common features like BindableLayout and next-level components like Telerik UI for .NET MAUI CollectionView.</span></p><p>Every UI we build is an opportunity to develop new skills, explore new components and discover better ways to achieve a clean and successful result.</p><p>In UI development, there are often multiple ways to build the same interface. That&rsquo;s why it&rsquo;s important to choose an approach that keeps our code readable, flexible and efficient. A common example is when we have repeated visual elements: we could create each one manually, or we could use a list-based approach that allows the UI to adapt dynamically based on the data.</p><p>In this article, we&rsquo;ll replicate a UI inspired by the <a target="_blank" href="https://dribbble.com/shots/15240024-Project-Pad-Mobile-Project-Manager">Project Pad Dribbble design</a>. Along the way, we&rsquo;ll explore Progress Telerik UI for <a target="_blank" href="https://www.telerik.com/maui-ui/collectionview">.NET MAUI CollectionView component</a>, work with bindable layouts, learn how to create rounded buttons in a simple way and much more!</p><h2 id="how-will-the-explanation-work">How Will the Explanation Work?</h2><p>So you can understand everything 100%, I&rsquo;ll explain how the process will work:</p><p>➖<strong>Visual diagram:</strong> Before we start, you&rsquo;ll see a diagram with a screenshot of the design we want to achieve. This design will be divided into blocks, each identified with a name and a color. Each one will be explained individually.</p><p>➖<strong>Code explanation per block:</strong> In addition to the written explanation, each screen includes a set of blocks with the exact code snippets you need to implement and achieve the final result.</p><p>➖<strong>Step-by-step visual progress:</strong> Each explanation will have its corresponding screenshot, so you can see the progress as we build the UI.</p><p>⚠️ For this design, we took inspiration from an original Dribbble UI, but made some adaptations and adjustments to align it with the goals of this article.</p><h2 id="-environment-setup"> Environment Setup</h2><p>You&rsquo;ll learn how to take advantage of some of the powerful Telerik UI for .NET MAUI components in this post. If you don&rsquo;t have the .NET MAUI library installed yet, visit the quick start page, which explains step-by-step how to install Telerik UI for .NET MAUI, download the license key, configure the Telerik package source and install the Telerik MCP server (if needed).</p><h2 id="breaking-down-the-design">Breaking Down the Design</h2><p>To make this easier to follow, I&rsquo;ve divided the design into clear blocks. We&rsquo;ll build each part one at a time, in the order you see below.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/00_visual_structure.png?sfvrsn=d5018d53_2" title="Visual structure" alt="1. Intro screen. 2. Header of second screen. 3. Categories. 4. Footer." /></p><h2 id="intro-block">1. Intro Block</h2><p>This block occupies the first full screen of our UI. Let&rsquo;s start by creating our main layout, which will be a Grid with three rows and two columns. Inside this layout, we&rsquo;ll add all the elements corresponding to this first section.</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span> 
<span class="token attr-name">RowDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Auto,*,Auto<span class="token punctuation">"</span></span> 
<span class="token attr-name">ColumnDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>*,Auto<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
 
<span class="token comment">&lt;!-- Add the remaining code block here --&gt;</span>
 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>Inside this Grid, we&rsquo;ll add the following elements:</p><p>➖ The main image.</p><p>➖ The Project Pad logo with its name. For this, I added another Grid to better arrange the name and logo as shown in the UI.</p><p>➖ A rounded button at the bottom:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Image</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">Source</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>bgcolor.png<span class="token punctuation">"</span></span> 
<span class="token attr-name">Aspect</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>AspectFill<span class="token punctuation">"</span></span> 
<span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>350<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">RowDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Auto,Auto<span class="token punctuation">"</span></span> 
<span class="token attr-name">ColumnDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Auto,Auto<span class="token punctuation">"</span></span> 
<span class="token attr-name">RowSpacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> 
<span class="token attr-name">ColumnSpacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>6<span class="token punctuation">"</span></span> 
<span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> 
<span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Project<span class="token punctuation">"</span></span> 
<span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>40<span class="token punctuation">"</span></span> 
<span class="token attr-name">FontAttributes</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Bold<span class="token punctuation">"</span></span> 
<span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#2B2B2B<span class="token punctuation">"</span></span> 
<span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> 
<span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Pad<span class="token punctuation">"</span></span> 
<span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>40<span class="token punctuation">"</span></span> 
<span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#777777<span class="token punctuation">"</span></span> 
<span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>End<span class="token punctuation">"</span></span> 
<span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Image</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> 
<span class="token attr-name">Source</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>logopad.png<span class="token punctuation">"</span></span> 
<span class="token attr-name">WidthRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>60<span class="token punctuation">"</span></span> 
<span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>35<span class="token punctuation">"</span></span> 
<span class="token attr-name">Aspect</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>AspectFit<span class="token punctuation">"</span></span> 
<span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>
 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Button</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">ImageSource</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>roundedarrow.png<span class="token punctuation">"</span></span> 
<span class="token attr-name">BackgroundColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>White<span class="token punctuation">"</span></span> 
<span class="token attr-name">CornerRadius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>34<span class="token punctuation">"</span></span> 
<span class="token attr-name">WidthRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>68<span class="token punctuation">"</span></span> 
<span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>68<span class="token punctuation">"</span></span> 
<span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> 
<span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> 
<span class="token attr-name">Margin</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0,40<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Button.Shadow</span><span class="token punctuation">&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Shadow</span> 
<span class="token attr-name">Brush</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#C9DDE8<span class="token punctuation">"</span></span> 
<span class="token attr-name">Offset</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0,8<span class="token punctuation">"</span></span> 
<span class="token attr-name">Radius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>22<span class="token punctuation">"</span></span> 
<span class="token attr-name">Opacity</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0.45<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Button.Shadow</span><span class="token punctuation">&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Button</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>✍️ Note that rounding the button was very easy. I simply set the <strong>HeightRequest</strong> and <strong>WidthRequest</strong> properties to the same value, and then set the <strong>CornerRadius</strong> to half of that value.</p><p>And you&rsquo;ll get a result like this:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/01_introblock.png?sfvrsn=60aba6d7_2" title="1. Intro block image" width="400" alt="Intro screen with image and Project Pad logo" /></p><h2 id="header-block">2. Header Block</h2><p>This second block starts another screen, which contains additional sections that we&rsquo;ll work on later. For now, we&rsquo;ll create the main layout and add the elements for this block, keeping in mind that all the remaining sections will be placed inside this layout.</p><p>To make the structure easier to follow, I added placeholder comments indicating where each block should go: the Header block, the Categories block and the Footer block.</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span> 
<span class="token attr-name">RowDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Auto,Auto,Auto,Auto,*,Auto<span class="token punctuation">"</span></span> 
<span class="token attr-name">ColumnDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>*,Auto<span class="token punctuation">"</span></span> 
<span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>30<span class="token punctuation">"</span></span> 
<span class="token attr-name">RowSpacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>28<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span> 

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>!-</span> <span class="token attr-name">Add</span> <span class="token attr-name">the</span> <span class="token attr-name">Header</span> <span class="token attr-name">block</span> <span class="token attr-name">code</span> <span class="token attr-name">here</span> <span class="token attr-name">--</span> <span class="token punctuation">&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>!-</span> <span class="token attr-name">Add</span> <span class="token attr-name">the</span> <span class="token attr-name">Categories</span> <span class="token attr-name">block</span> <span class="token attr-name">code</span> <span class="token attr-name">here</span> <span class="token attr-name">--</span> <span class="token punctuation">&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>!-</span> <span class="token attr-name">Add</span> <span class="token attr-name">the</span> <span class="token attr-name">Footer</span> <span class="token attr-name">block</span> <span class="token attr-name">code</span> <span class="token attr-name">here</span> <span class="token attr-name">--</span> <span class="token punctuation">&gt;</span></span>
 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>
</code></pre><h3 id="adding-the-title-description-and-divider-line">Adding the Title, Description and Divider Line</h3><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Website<span class="token entity" title="
">&amp;#10;</span>Redesign work<span class="token punctuation">"</span></span> 
<span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>28<span class="token punctuation">"</span></span> 
<span class="token attr-name">FontAttributes</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Bold<span class="token punctuation">"</span></span> 
<span class="token attr-name">LineHeight</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1.1<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Redesign the website and create a<span class="token entity" title="
">&amp;#10;</span>style guide for the client.<span class="token punctuation">"</span></span> 
<span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>18<span class="token punctuation">"</span></span> 
<span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#9A9A9A<span class="token punctuation">"</span></span> 
<span class="token attr-name">LineHeight</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1.35<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>BoxView</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> 
<span class="token attr-name">Color</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#E1EDF4<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
</code></pre><h3 id="creating-the-avatars-and-star-rounded-button">Creating the Avatars and Star Rounded Button</h3><p>➖ <strong>Avatars</strong></p><p>For the avatars, I wanted to introduce you to a concept that can make your life much easier: the <strong>BindableLayout.</strong> It allowed me to repeat the circular buttons effortlessly and achieve a clean overlapping effect.</p><p>For this BindableLayout, I created a simple model with the color of each avatar and its initial:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">class</span> <span class="token class-name">Avatar</span>
<span class="token punctuation">{</span>
<span class="token keyword">public</span> <span class="token keyword">string</span> Initial <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span>
<span class="token keyword">public</span> Color BackgroundColor <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>Then, I populated the data in the ViewModel:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> ObservableCollection<span class="token operator">&lt;</span>Models<span class="token punctuation">.</span>Avatar<span class="token operator">&gt;</span> Avatars <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span>
 
<span class="token keyword">public</span> <span class="token function">PadViewModel</span><span class="token punctuation">(</span><span class="token punctuation">)</span>  
<span class="token punctuation">{</span> 
avatars <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">ObservableCollection</span><span class="token operator">&lt;</span>Models<span class="token punctuation">.</span>Avatar<span class="token operator">&gt;</span> 
<span class="token punctuation">{</span> 
<span class="token keyword">new</span> <span class="token class-name">Models<span class="token punctuation">.</span>Avatar</span> <span class="token punctuation">{</span> Initial <span class="token operator">=</span> <span class="token string">"N"</span><span class="token punctuation">,</span> BackgroundColor <span class="token operator">=</span> Color<span class="token punctuation">.</span><span class="token function">FromArgb</span><span class="token punctuation">(</span><span class="token string">"#B7FF62"</span><span class="token punctuation">)</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> 
<span class="token keyword">new</span> <span class="token class-name">Models<span class="token punctuation">.</span>Avatar</span> <span class="token punctuation">{</span> Initial <span class="token operator">=</span> <span class="token string">"S"</span><span class="token punctuation">,</span> BackgroundColor <span class="token operator">=</span> Color<span class="token punctuation">.</span><span class="token function">FromArgb</span><span class="token punctuation">(</span><span class="token string">"#8DE7FF"</span><span class="token punctuation">)</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> 
<span class="token keyword">new</span> <span class="token class-name">Models<span class="token punctuation">.</span>Avatar</span> <span class="token punctuation">{</span> Initial <span class="token operator">=</span> <span class="token string">"V"</span><span class="token punctuation">,</span> BackgroundColor <span class="token operator">=</span> Color<span class="token punctuation">.</span><span class="token function">FromArgb</span><span class="token punctuation">(</span><span class="token string">"#7785F8"</span><span class="token punctuation">)</span> <span class="token punctuation">}</span> 
<span class="token punctuation">}</span><span class="token punctuation">;</span> 
<span class="token punctuation">}</span>
</code></pre><p>And finally, for this simple example, I set the BindingContext to the AvatarViewModel in the page&rsquo;s code-behind:</p><pre class=" language-csharp"><code class="prism  language-csharp">BindingContext <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">ViewModels<span class="token punctuation">.</span>AvatarViewModel</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
</code></pre><p>Now, add the BindableLayout in your XAML:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>HorizontalStackLayout</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>3<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> 
<span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>52<span class="token punctuation">"</span></span> 
<span class="token attr-name">Spacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>-14<span class="token punctuation">"</span></span> 
<span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Start<span class="token punctuation">"</span></span> 
<span class="token attr-name">BindableLayout.ItemsSource</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding avatars}<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span> 

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>BindableLayout.ItemTemplate</span><span class="token punctuation">&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>DataTemplate</span><span class="token punctuation">&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadTemplatedButton</span>
            <span class="token attr-name">Content</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding Initial}<span class="token punctuation">"</span></span>
            <span class="token attr-name">WidthRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>48<span class="token punctuation">"</span></span>
            <span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>48<span class="token punctuation">"</span></span>
            <span class="token attr-name">CornerRadius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>24<span class="token punctuation">"</span></span>
            <span class="token attr-name">Background</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding BackgroundColor}<span class="token punctuation">"</span></span>
            <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#111111<span class="token punctuation">"</span></span>
            <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>18<span class="token punctuation">"</span></span>
            <span class="token attr-name">FontAttributes</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Bold<span class="token punctuation">"</span></span>
            <span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>DataTemplate</span><span class="token punctuation">&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>BindableLayout.ItemTemplate</span><span class="token punctuation">&gt;</span></span> 

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>HorizontalStackLayout</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>️ If you&rsquo;d like to learn more about <a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/maui/user-interface/layouts/bindablelayout?view=net-maui-10.0"><strong>BindableLayout,</strong> you can check out this article</a>.</p><p>➖ <strong>Star Rounded Button</strong></p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadTemplatedButton</span>
   <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>3<span class="token punctuation">"</span></span>
   <span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span>
   <span class="token attr-name">WidthRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>48<span class="token punctuation">"</span></span>
   <span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>48<span class="token punctuation">"</span></span>
   <span class="token attr-name">CornerRadius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>24<span class="token punctuation">"</span></span>
   <span class="token attr-name">Background</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#FFF4D6<span class="token punctuation">"</span></span>
   <span class="token attr-name">Content</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>★<span class="token punctuation">"</span></span>
   <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>20<span class="token punctuation">"</span></span>
   <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#FFC400<span class="token punctuation">"</span></span>
   <span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span>
   <span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>End<span class="token punctuation">"</span></span>
   <span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
</code></pre><p>With this, you&rsquo;ll get a result like:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/02_headerblock.png?sfvrsn=7a9f6ff9_2" title="2. Header block image" width="400" alt="Header includes &#39;Website Redesign work&#39; heading and &#39;redesign the website and create a style guide for the client&#39; subheading. Name avatars and a star icon." /></p><h2 id="categories-block">3. Categories Block</h2><p>For this block, we&rsquo;ll use our star component: Telerik UI for .NET MAUI CollectionView, which will allow us to dynamically add all the elements we need into the list.</p><h3 id="creating-the-model">Creating the Model</h3><p>Let&rsquo;s start by creating a model with the attributes we need for the list. This model will include a description and a color for each item:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">class</span> <span class="token class-name">Category</span>  
<span class="token punctuation">{</span> 
<span class="token keyword">public</span> <span class="token keyword">string</span> Text <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> 
<span class="token keyword">public</span> Color BackgroundColor <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> 
<span class="token punctuation">}</span>
</code></pre><h3 id="populating-the-viewmodel">Populating the ViewModel</h3><p>Now let&rsquo;s add some mock data to populate our list:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> ObservableCollection<span class="token operator">&lt;</span>Category<span class="token operator">&gt;</span> categories <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span>
    
<span class="token keyword">public</span> <span class="token function">PadViewModel</span><span class="token punctuation">(</span><span class="token punctuation">)</span> 
<span class="token punctuation">{</span> 
 <span class="token comment">// Avatars mock information</span>

   categories <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">ObservableCollection</span><span class="token operator">&lt;</span>Models<span class="token punctuation">.</span>Category<span class="token operator">&gt;</span>
   <span class="token punctuation">{</span>
   <span class="token keyword">new</span> <span class="token class-name">Category</span> <span class="token punctuation">{</span> Text <span class="token operator">=</span> <span class="token string">"UX Phase"</span><span class="token punctuation">,</span> BackgroundColor <span class="token operator">=</span> Color<span class="token punctuation">.</span><span class="token function">FromArgb</span><span class="token punctuation">(</span><span class="token string">"#FFC802"</span><span class="token punctuation">)</span> <span class="token punctuation">}</span><span class="token punctuation">,</span>
   <span class="token keyword">new</span> <span class="token class-name">Category</span> <span class="token punctuation">{</span> Text <span class="token operator">=</span> <span class="token string">"Concept Design"</span><span class="token punctuation">,</span> BackgroundColor <span class="token operator">=</span> Color<span class="token punctuation">.</span><span class="token function">FromArgb</span><span class="token punctuation">(</span><span class="token string">"#ff7546"</span><span class="token punctuation">)</span> <span class="token punctuation">}</span><span class="token punctuation">,</span>
   <span class="token keyword">new</span> <span class="token class-name">Category</span> <span class="token punctuation">{</span> Text <span class="token operator">=</span> <span class="token string">"Design Handover"</span><span class="token punctuation">,</span> BackgroundColor <span class="token operator">=</span> Color<span class="token punctuation">.</span><span class="token function">FromArgb</span><span class="token punctuation">(</span><span class="token string">"#20BBFF"</span><span class="token punctuation">)</span> <span class="token punctuation">}</span>
   <span class="token punctuation">}</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre><h3 id="adding-the-xaml">Adding the XAML</h3><p>You need to add the namespace in order to use the component:</p><pre class=" language-xml"><code class="prism  language-xml">xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
</code></pre><p>Then, add the Telerik CollectionView to your XAML like this:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadCollectionView</span>
  <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>4<span class="token punctuation">"</span></span>
  <span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span>
  <span class="token attr-name">Margin</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0,25,0,0<span class="token punctuation">"</span></span>
  <span class="token attr-name">ItemsSource</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding categories}<span class="token punctuation">"</span></span>
  <span class="token attr-name">SelectionMode</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>None<span class="token punctuation">"</span></span>
  <span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>260<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>

  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadCollectionView.ItemViewStyle</span><span class="token punctuation">&gt;</span></span>
      <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Style</span> <span class="token attr-name">TargetType</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>telerik:RadCollectionViewItemView<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span><span class="token style language-css">
          &lt;Setter Property=<span class="token string">"BackgroundColor"</span> Value=<span class="token string">"Transparent"</span> /&gt;
          &lt;Setter Property=<span class="token string">"BorderThickness"</span> Value=<span class="token string">"0"</span> /&gt;
          &lt;Setter Property=<span class="token string">"Padding"</span> Value=<span class="token string">"0"</span> /&gt;
      </span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Style</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>RadCollectionView.ItemViewStyle</span><span class="token punctuation">&gt;</span></span>

  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadCollectionView.ItemTemplate</span><span class="token punctuation">&gt;</span></span>
      <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>DataTemplate</span><span class="token punctuation">&gt;</span></span>
          <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Border</span>
      <span class="token attr-name">Margin</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0,10<span class="token punctuation">"</span></span>
      <span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>65<span class="token punctuation">"</span></span>
      <span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>28,0<span class="token punctuation">"</span></span>
      <span class="token attr-name">BackgroundColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding BackgroundColor}<span class="token punctuation">"</span></span>
      <span class="token attr-name">StrokeThickness</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span>
      <span class="token attr-name">StrokeShape</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>RoundRectangle 26<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>

              <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span> <span class="token attr-name">ColumnDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>*,Auto<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>

                  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span>
              <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding Text}<span class="token punctuation">"</span></span>
              <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>17<span class="token punctuation">"</span></span>
              <span class="token attr-name">FontAttributes</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Bold<span class="token punctuation">"</span></span>
              <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>White<span class="token punctuation">"</span></span>
              <span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

                  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Image</span>
              <span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span>
              <span class="token attr-name">Source</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>arrowcircle.png<span class="token punctuation">"</span></span>
              <span class="token attr-name">WidthRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>50<span class="token punctuation">"</span></span>
              <span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>50<span class="token punctuation">"</span></span>
              <span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
              <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>
          <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Border</span><span class="token punctuation">&gt;</span></span>
      <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>DataTemplate</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>RadCollectionView.ItemTemplate</span><span class="token punctuation">&gt;</span></span>

  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>RadCollectionView</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>️ Telerik CollectionView is a very useful and easy-to-use component. If you&rsquo;d like to learn more about it, I invite you to check out its <a target="_blank" href="https://www.telerik.com/maui-ui/documentation/controls/listview/getting-started">official documentation</a> and explore everything it has to offer.</p><p>And you&rsquo;ll get a result like this:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/03_categoriesblock.png?sfvrsn=c6042094_2" title="3. Categories block image" width="400" alt="The screen now includes the header and three categories: UX phase, concept design and design handover in colored buttons" /></p><h2 id="footer-block">4. Footer Block</h2><p>We&rsquo;ve reached our final block! This section contains the following elements:</p><p>➖ A soft gray circle at the end of our UI. To replicate it, we&rsquo;ll use an <strong>Ellipse</strong>.</p><p>➖ A rounded button positioned horizontally at the center:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Ellipse</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>5<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">WidthRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>360<span class="token punctuation">"</span></span> 
<span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>160<span class="token punctuation">"</span></span> 
<span class="token attr-name">Fill</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#EAF7FF<span class="token punctuation">"</span></span> 
<span class="token attr-name">Opacity</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0.9<span class="token punctuation">"</span></span> 
<span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> 
<span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>End<span class="token punctuation">"</span></span> 
<span class="token attr-name">TranslationY</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>110<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Button</span> 
<span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>5<span class="token punctuation">"</span></span> 
<span class="token attr-name">Grid.ColumnSpan</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> 
<span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>+<span class="token punctuation">"</span></span> 
<span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>32<span class="token punctuation">"</span></span> 
<span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#111111<span class="token punctuation">"</span></span> 
<span class="token attr-name">BackgroundColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>White<span class="token punctuation">"</span></span> 
<span class="token attr-name">CornerRadius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>30<span class="token punctuation">"</span></span> 
<span class="token attr-name">WidthRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>60<span class="token punctuation">"</span></span> 
<span class="token attr-name">HeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>60<span class="token punctuation">"</span></span> 
<span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> 
<span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> 
<span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>End<span class="token punctuation">"</span></span> 
<span class="token attr-name">TranslationY</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>-20<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Button.Shadow</span><span class="token punctuation">&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Shadow</span> 
<span class="token attr-name">Brush</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#C9DDE8<span class="token punctuation">"</span></span> 
<span class="token attr-name">Offset</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0,8<span class="token punctuation">"</span></span> 
<span class="token attr-name">Radius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>22<span class="token punctuation">"</span></span> 
<span class="token attr-name">Opacity</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0.45<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Button.Shadow</span><span class="token punctuation">&gt;</span></span> 
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Button</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>If you&rsquo;d like to learn more about the <strong><a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/shapes/ellipse?view=net-maui-10.0">Ellipse in .NET MAUI</a>,</strong> you can check out the official documentation. There are some really interesting things you can build with it!</p><p>You&rsquo;ll get a result like this:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/04_footerblock.png?sfvrsn=6bf3e038_2" title="4. Footer block image" width="400" alt="Footer is now added with a pulus sign" /></p><p>And that&rsquo;s it, we&rsquo;re all done!  Below, you can see the final result of both screens.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-10/05_final_result.png?sfvrsn=df854f55_2" title="Final results" alt="Two screens looking nice." /></p><h2 id="conclusion">Conclusion</h2><p>I hope this article helps you understand how to recreate a modern UI from scratch using .NET MAUI.  From structuring layouts with <strong>Grid</strong> to using <strong>BindableLayout</strong> for repeated elements, and building dynamic lists with <strong>Telerik CollectionView</strong>, you now have a solid foundation to create clean and scalable interfaces.</p><p>The best part is that these are concepts you can easily reuse and adapt in your own projects to build more flexible and visually appealing apps. </p><p>If you have any questions or would like me to dive deeper into a specific part, feel free to leave a comment, I&rsquo;ll be happy to help!</p><p>See you in the next article! &zwj;♀️</p><hr /><p>Remember, Telerik UI for .NET MAUI comes with a free 30-day trial so you can experiment with all 70+ components yourself. </p><p><a target="_blank" href="https://www.telerik.com/try/ui-for-maui" class="Btn">Try Now</a></p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:47ac6a3c-cdbf-49c3-baf9-8acb0f106edb</id>
    <title type="text">Getting Started with the .NET MAUI Map Control</title>
    <summary type="text">See how the Telerik UI for .NET MAUI Map control lets you display maps, labels and regions to add things like world maps or seating charts to your apps.</summary>
    <published>2026-10-13T16:07:29Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Héctor Pérez </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/getting-started-net-maui-map-control"/>
    <content type="text"><![CDATA[<p><span class="featured">See how the Telerik UI for .NET MAUI Map control lets you display maps, labels and regions to add things like world maps or seating charts to your apps.</span></p><p>In the world of web development, there are applications for displaying geographic information. Although there are ways to embed Google Maps or similar options, customizing them isn&rsquo;t so easy when you need to highlight geographic areas or respond to user selection. Fortunately, the Progress Telerik UI library has a <a target="_blank" href="https://www.telerik.com/maui-ui/map">.NET MAUI Map</a> control, which we will examine throughout this article. Let&rsquo;s get started!</p><h2 id="what-is-the-telerik-ui-for-.net-maui-map-control">What Is the Telerik UI for .NET MAUI Map Control?</h2><p>The Telerik .NET MAUI Map control is a powerful control for displaying maps in your .NET MAUI applications, with a lot of flexible styling options. It also supports multiple layers, pan and zoom, and many other features.</p><p>The control works with <strong>ESRI shapefiles</strong>, which are a standard vector format in geographic information systems or GIS. According to the <a target="_blank" href="https://www.telerik.com/maui-ui/map">MAUI Map documentation</a>, these files consist of geometric objects such as lines, polylines and polygons. This makes it possible to display different types of objects like floor plans and seat distribution, up to parts of country maps, roads, rivers, etc.</p><p>It&rsquo;s important to note that an ESRI shapefile is composed of two files:</p><ul><li>A <code>.shp</code> file, which contains the polygons that draw something on the map, such as a country, a region or a custom shape</li><li>A <code>.dbf</code> file, which contains the attributes associated with each geometry, such as the country&rsquo;s name or its population</li></ul><p>The control uses SkiaSharp to render the shapefile geometries, allowing fast and consistent rendering across platforms.</p><p>Finally, you should know that the .NET MAUI Map control is based on the use of layers, where each layer represents a data source that overlays the map. Let&rsquo;s see how to integrate this control into a .NET MAUI app.</p><h2 id="integrating-the-telerik-.net-maui-map-control-into-.net-maui-apps">Integrating the Telerik .NET MAUI Map Control into .NET MAUI Apps</h2><p>To see the control&rsquo;s features in action, we&rsquo;ll create a new project selecting the <strong>.NET MAUI App</strong> template, making sure not to include the sample code. Once the project is created, you can follow the <a target="_blank" href="https://www.telerik.com/maui-ui/documentation/get-started/quickstart">installation guide for Telerik controls in .NET MAUI projects</a>, which will allow you to use Telerik controls in your project.</p><p>Next, we will install the following NuGet package in the project:</p><pre class=" language-text"><code class="prism  language-text">CommunityToolkit.Mvvm
</code></pre><p>This package will help reduce repetitive code in view models. With this, we are ready to integrate a map into our application.</p><h2 id="downloading-the-map-data">Downloading the Map Data</h2><p>As I mentioned earlier, the map control needs a shapefile to be able to draw the map. To simplify this guide, we will download the files <code>world.shp</code> and <code>world.dbf</code> that Progress Telerik has made available to us in the <a target="_blank" href="https://github.com/telerik/maui-samples/tree/main/Samples/SdkBrowser/Examples/MapControl">examples repository</a>.</p><p>To be able to use the downloaded files, let&rsquo;s create a new folder in <code>Resources/Maps</code>, where we will add the files <code>.shp</code> and <code>.dbf</code>. In addition, we must mark the files as embedded resources, which we will achieve by modifying your project file <code>.csproj</code> as follows:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ItemGroup</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>EmbeddedResource</span> <span class="token attr-name">Include</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Resources\Maps\*.shp<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>EmbeddedResource</span> <span class="token attr-name">Include</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Resources\Maps\*.dbf<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ItemGroup</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>With the above, we will be able to use future additional map files without configuring each file as embedded. Also, we mark them as <code>EmbeddedResource</code> so that they are packaged inside the app assembly, which will allow us to read them later.</p><h2 id="creating-a-demo-view-model">Creating a Demo View Model</h2><p>With the map files added, the next step will be to create a view model that allows storing information about a country selected by the user. For this, we will define a file <code>MainViewModel.cs</code> with the following code:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">partial</span> <span class="token keyword">class</span> <span class="token class-name">MainViewModel</span> <span class="token punctuation">:</span> ObservableObject
<span class="token punctuation">{</span>
    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token punctuation">[</span><span class="token function">NotifyPropertyChangedFor</span><span class="token punctuation">(</span><span class="token function">nameof</span><span class="token punctuation">(</span>HasNoSelection<span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">]</span>
    <span class="token keyword">private</span> <span class="token keyword">bool</span> hasSelection<span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">private</span> <span class="token keyword">string</span> selectedCountry <span class="token operator">=</span> <span class="token keyword">string</span><span class="token punctuation">.</span>Empty<span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">private</span> <span class="token keyword">string</span> selectedPopulation <span class="token operator">=</span> <span class="token keyword">string</span><span class="token punctuation">.</span>Empty<span class="token punctuation">;</span>

    <span class="token keyword">public</span> <span class="token keyword">bool</span> HasNoSelection <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token operator">!</span>HasSelection<span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre><p>The above code defines properties to determine if there is a selection, a selected country and a selected population. The property <code>HasNoSelection</code> will allow showing a message when no country has been selected yet.</p><h2 id="displaying-the-map-in-a-contentpage">Displaying the Map in a ContentPage</h2><p>The time has come to display the map in the application. To do this, we will open the <code>ContentPage</code> file where we want to show the map, and replace its content with the following:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ContentPage</span> <span class="token attr-name">...</span>
    <span class="token attr-name"><span class="token namespace">xmlns:</span>telerik</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>http://schemas.telerik.com/2022/xaml/maui<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>

    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span> <span class="token attr-name">RowDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>*,Auto<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
    
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadMap</span>
            <span class="token attr-name"><span class="token namespace">x:</span>Name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>map<span class="token punctuation">"</span></span>
            <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span>
            <span class="token attr-name">InteractionMode</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>PanAndZoom<span class="token punctuation">"</span></span>
            <span class="token attr-name">MaxZoomLevel</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>15<span class="token punctuation">"</span></span>
            <span class="token attr-name">MinZoomLevel</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadMap.Layers</span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapefileLayer</span> <span class="token attr-name"><span class="token namespace">x:</span>Name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>shapeLayer<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapefileLayer.Reader</span><span class="token punctuation">&gt;</span></span>
                        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapeReader</span> <span class="token attr-name"><span class="token namespace">x:</span>Name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>reader<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>MapShapefileLayer.Reader</span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>MapShapefileLayer</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>RadMap.Layers</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>RadMap</span><span class="token punctuation">&gt;</span></span>

    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ContentPage</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>In the above code, you can see that we use properties of the map control, such as <code>MinZoomLevel</code> and <code>MaxZoomLevel</code> to limit the zoom range, in addition to <code>InteractionMode</code> to enable panning and zoom with gestures.</p><p>Additionally, we use the <code>RadMap.Layers</code> tag to add a <code>MapShapefileLayer</code> type, which will read the shapefile. We also use a <code>MapShapeReader</code> type named <code>reader</code>, which will be responsible for loading the files <code>.shp</code> and <code>.dbf</code>.</p><p>Now, we must load the files from the code behind of the page where we defined the map, as follows:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">partial</span> <span class="token keyword">class</span> <span class="token class-name">MainPage</span> <span class="token punctuation">:</span> ContentPage
<span class="token punctuation">{</span>
    <span class="token keyword">private</span> <span class="token keyword">readonly</span> MainViewModel viewModel<span class="token punctuation">;</span>
    <span class="token keyword">public</span> <span class="token function">MainPage</span><span class="token punctuation">(</span>MainViewModel viewModel<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token function">InitializeComponent</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

        <span class="token keyword">this</span><span class="token punctuation">.</span>viewModel <span class="token operator">=</span> viewModel<span class="token punctuation">;</span>
        BindingContext <span class="token operator">=</span> viewModel<span class="token punctuation">;</span>

        <span class="token keyword">var</span> assembly <span class="token operator">=</span> <span class="token function">GetType</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">.</span>Assembly<span class="token punctuation">;</span>

        reader<span class="token punctuation">.</span>ReadCompleted <span class="token operator">+</span><span class="token operator">=</span> OnReadCompleted<span class="token punctuation">;</span>
        reader<span class="token punctuation">.</span>DataSource <span class="token operator">=</span> MapSource<span class="token punctuation">.</span><span class="token function">FromResource</span><span class="token punctuation">(</span><span class="token string">"TelerikMapDemo.Resources.Maps.world.dbf"</span><span class="token punctuation">,</span> assembly<span class="token punctuation">)</span><span class="token punctuation">;</span>
        reader<span class="token punctuation">.</span>Source <span class="token operator">=</span> MapSource<span class="token punctuation">.</span><span class="token function">FromResource</span><span class="token punctuation">(</span><span class="token string">"TelerikMapDemo.Resources.Maps.world.shp"</span><span class="token punctuation">,</span> assembly<span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    <span class="token keyword">private</span> <span class="token keyword">void</span> <span class="token function">OnReadCompleted</span><span class="token punctuation">(</span><span class="token keyword">object</span><span class="token operator">?</span> sender<span class="token punctuation">,</span> EventArgs e<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        reader<span class="token punctuation">.</span>ReadCompleted <span class="token operator">-</span><span class="token operator">=</span> OnReadCompleted<span class="token punctuation">;</span>
        Dispatcher<span class="token punctuation">.</span><span class="token function">Dispatch</span><span class="token punctuation">(</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=</span><span class="token operator">&gt;</span> map<span class="token punctuation">.</span><span class="token function">SetView</span><span class="token punctuation">(</span>shapeLayer<span class="token punctuation">.</span><span class="token function">GetBestView</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>In the above code, there are a few elements worth analyzing:</p><ul><li>We access the map information through a special class called <code>MapSource</code>, with which we load the map resources. Make sure to modify the namespace according to your project&rsquo;s name.</li><li>We subscribe to the <code>ReadCompleted</code> event before any map reading, so that the handler runs when the reading of the files finishes.</li><li>We use the properties <code>DataSource</code> and <code>Source</code> to load both the map and the geometries.</li><li>In the <code>OnReadCompleted</code> handler, we unsubscribe from the read event so that it only executes once, and also use the methods <code>SetView</code> and <code>GetBestView</code> to calculate the region with the best fit for all the geometries.</li></ul><p>Before running the application, we must go back to the <code>MauiProgram.cs</code> file and add to the dependency container the references for the content page and its view model</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">static</span> <span class="token keyword">class</span> <span class="token class-name">MauiProgram</span>
<span class="token punctuation">{</span>
    <span class="token keyword">public</span> <span class="token keyword">static</span> MauiApp <span class="token function">CreateMauiApp</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">var</span> builder <span class="token operator">=</span> MauiApp<span class="token punctuation">.</span><span class="token function">CreateBuilder</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>
        builder<span class="token punctuation">.</span>Services<span class="token punctuation">.</span><span class="token generic-method function">AddSingleton<span class="token punctuation">&lt;</span>MainViewModel<span class="token punctuation">&gt;</span></span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        builder<span class="token punctuation">.</span>Services<span class="token punctuation">.</span><span class="token generic-method function">AddSingleton<span class="token punctuation">&lt;</span>MainPage<span class="token punctuation">&gt;</span></span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>Now, when running the application, we will be able to see the map control rendered correctly:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/telerik-maui-map-control.png?sfvrsn=4eddf316_2" alt="Telerik .NET MAUI map control displaying map view" /></p><h2 id="adding-labels-to-the-map">Adding Labels to the Map</h2><p>We have successfully added the map to our app. However, it doesn&rsquo;t display any information, which is not very useful.</p><p>The file <code>.dbf</code> contains information we can use to add additional data to the map, such as country names. To do this, we&rsquo;ll use an attribute called <code>CNTRY_NAME</code>, modifying the layer <code>MapShapefileLayer</code> to include the layer <code>LabelAttributeName</code>:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapefileLayer</span> <span class="token attr-name"><span class="token namespace">x:</span>Name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>shapeLayer<span class="token punctuation">"</span></span> <span class="token attr-name">LabelAttributeName</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>CNTRY_NAME<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
    ...
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>MapShapefileLayer</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>In the code above, the property <code>LabelAttributeName</code> allows adding a label for each shape in a <code>MapShapefileLayer</code>. When running the app, we can see the names on the map as shown below:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/sample-map-labels-demo.gif?sfvrsn=21ab2f93_2" alt="Close-up of sample labels displayed on a map control" /></p><p>In the demo above, you can see how when zooming the country labels gradually appear, allowing for a pleasant user experience.</p><h2 id="customizing-the-map">Customizing the Map</h2><p>So far, we have used the map&rsquo;s default style; however, in real apps you&rsquo;ll likely want to add colors for sections of your map. This is possible thanks to the use of <code>MapShapeStyleSelector</code>, which is a style selector that we can use to decide what colors to use for each region on the map.</p><p>In our example, we&rsquo;ll compare the population of each country to determine its color. To do this, we&rsquo;ll create a new class called<br /><code>PopulationShapeStyleSelector</code>, which will be defined as follows:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>
<span class="token keyword">using</span> IShape <span class="token operator">=</span> Telerik<span class="token punctuation">.</span>Maui<span class="token punctuation">.</span>Controls<span class="token punctuation">.</span>ShapefileReader<span class="token punctuation">.</span>IShape<span class="token punctuation">;</span>

<span class="token keyword">public</span> <span class="token keyword">class</span> <span class="token class-name">PopulationShapeStyleSelector</span> <span class="token punctuation">:</span> MapShapeStyleSelector
<span class="token punctuation">{</span>
    <span class="token keyword">public</span> MapShapeStyle HighPopulationStyle <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> <span class="token operator">=</span> <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token keyword">public</span> MapShapeStyle MediumPopulationStyle <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> <span class="token operator">=</span> <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token keyword">public</span> MapShapeStyle LowPopulationStyle <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token keyword">set</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> <span class="token operator">=</span> <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token keyword">public</span> <span class="token keyword">override</span> MapShapeStyle <span class="token function">SelectStyle</span><span class="token punctuation">(</span><span class="token keyword">object</span> shape<span class="token punctuation">,</span> BindableObject container<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">if</span> <span class="token punctuation">(</span>shape <span class="token keyword">is</span> fileReader<span class="token punctuation">.</span>IShape mapShape <span class="token operator">&amp;&amp;</span>
            <span class="token keyword">double</span><span class="token punctuation">.</span><span class="token function">TryParse</span><span class="token punctuation">(</span>mapShape<span class="token punctuation">.</span><span class="token function">GetAttribute</span><span class="token punctuation">(</span><span class="token string">"POP_CNTRY"</span><span class="token punctuation">)</span><span class="token operator">?</span><span class="token punctuation">.</span><span class="token function">ToString</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> <span class="token keyword">out</span> <span class="token keyword">var</span> population<span class="token punctuation">)</span><span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            <span class="token keyword">if</span> <span class="token punctuation">(</span>population <span class="token operator">&gt;</span> 50_000_000<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                <span class="token keyword">return</span> HighPopulationStyle<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>

            <span class="token keyword">if</span> <span class="token punctuation">(</span>population <span class="token operator">&lt;</span> 5_000_000<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                <span class="token keyword">return</span> LowPopulationStyle<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>

            <span class="token keyword">return</span> MediumPopulationStyle<span class="token punctuation">;</span>
        <span class="token punctuation">}</span>

        <span class="token keyword">return</span> LowPopulationStyle<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>The operation is similar to a common .NET MAUI Style Selector, that is, we define style references as part of the class, in this case <code>HighPopulationStyle</code>, <code>MediumPopulationStyle</code> and <code>LowPopulationStyle</code>.</p><p>Next, the attribute <code>POP_CNTRY</code> is obtained from each mapShape, which is evaluated to determine the style that will be applied.</p><p>With the selector defined, we still need to create the styles to be applied. We can do this from the <code>ContentPage</code> where we&rsquo;ve implemented the map control, as follows:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ContentPage</span> <span class="token attr-name">...</span>    
    <span class="token attr-name"><span class="token namespace">xmlns:</span>styling</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>clr-namespace:TelerikMapDemo.Styling<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>

    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ContentPage.Resources</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">styling:</span>PopulationShapeStyleSelector</span> <span class="token attr-name"><span class="token namespace">x:</span>Key</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>PopulationStyleSelector<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">styling:</span>PopulationShapeStyleSelector.HighPopulationStyle</span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapeStyle</span>
                    <span class="token attr-name">FillColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#1E4C5C<span class="token punctuation">"</span></span>
                    <span class="token attr-name">StrokeColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#CFE8F2<span class="token punctuation">"</span></span>
                    <span class="token attr-name">StrokeWidth</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">styling:</span>PopulationShapeStyleSelector.HighPopulationStyle</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">styling:</span>PopulationShapeStyleSelector.MediumPopulationStyle</span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapeStyle</span>
                    <span class="token attr-name">FillColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#3C99B7<span class="token punctuation">"</span></span>
                    <span class="token attr-name">StrokeColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#CFE8F2<span class="token punctuation">"</span></span>
                    <span class="token attr-name">StrokeWidth</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">styling:</span>PopulationShapeStyleSelector.MediumPopulationStyle</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">styling:</span>PopulationShapeStyleSelector.LowPopulationStyle</span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapeStyle</span>
                    <span class="token attr-name">FillColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#95D3E8<span class="token punctuation">"</span></span>
                    <span class="token attr-name">StrokeColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#CFE8F2<span class="token punctuation">"</span></span>
                    <span class="token attr-name">StrokeWidth</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">styling:</span>PopulationShapeStyleSelector.LowPopulationStyle</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">styling:</span>PopulationShapeStyleSelector</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ContentPage.Resources</span><span class="token punctuation">&gt;</span></span>
    ...
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ContentPage</span><span class="token punctuation">&gt;</span></span>    
</code></pre><p>You can see that we create an instance of <code>PopulationShapeStyleSelector</code>, within which we assign to each property of the selector a <code>MapShapeStyle</code>, which will allow customizing each defined selector.</p><p>The last step is to indicate that we want to use the selector we just created in <code>MapShapefileLayer</code>:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapefileLayer</span>
    <span class="token attr-name"><span class="token namespace">x:</span>Name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>shapeLayer<span class="token punctuation">"</span></span>
    <span class="token attr-name">LabelAttributeName</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>CNTRY_NAME<span class="token punctuation">"</span></span>
    <span class="token attr-name">ShapeStyleSelector</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{StaticResource PopulationStyleSelector}<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
   ...
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>MapShapefileLayer</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>The result of running it is as follows:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/map-control-region-coloring-demo.gif?sfvrsn=9c355e78_2" alt="Map control displaying colored regions" /></p><p>In the image above, you can see how the countries appear colored according to their population. Now, let&rsquo;s see how to select regions on a map.</p><h2 id="enabling-country-selection">Enabling Country Selection</h2><p>To make the map fully functional, we will allow users to select a country to view its information in detail. We&rsquo;ll do this by adding the use of the property <code>SelectionMode</code> in the <code>MapShapefileLayer</code>:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapefileLayer</span> <span class="token attr-name">...</span>   
    <span class="token attr-name">SelectionMode</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Single<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
   ...
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapefileLayer.SelectedShapeStyle</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>MapShapeStyle</span> <span class="token attr-name">FillColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#F4B400<span class="token punctuation">"</span></span>
                               <span class="token attr-name">StrokeColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#8A6D00<span class="token punctuation">"</span></span>
                               <span class="token attr-name">StrokeWidth</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1.5<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>MapShapefileLayer.SelectedShapeStyle</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>MapShapefileLayer</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>In the code above we have indicated that only one country can be selected at a time, although you could also use the value <code>Multiple</code> if you need the user to select more than one country. Likewise, we have defined a <code>MapShapeStyle</code> section, which is used to specify the characteristics of the selected region.</p><p>We will also complete the <code>ContentPage</code> of our app, adding a Telerik container <code>RadBorder</code> in the second row of the main grid, which will serve to display the selected country&rsquo;s information using standard controls and Telerik buttons:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadBorder</span>
    <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span>
    <span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>20<span class="token punctuation">"</span></span>
    <span class="token attr-name">Background</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>White<span class="token punctuation">"</span></span>
    <span class="token attr-name">BorderColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#E0E0E0<span class="token punctuation">"</span></span>
    <span class="token attr-name">BorderThickness</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span>
    <span class="token attr-name">CornerRadius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>16,16,0,0<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>VerticalStackLayout</span> <span class="token attr-name">Spacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>

        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span>
            <span class="token attr-name">FontAttributes</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Bold<span class="token punctuation">"</span></span>
            <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>14<span class="token punctuation">"</span></span>
            <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Selected country<span class="token punctuation">"</span></span>
            <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#607D8B<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span>
            <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>15<span class="token punctuation">"</span></span>
            <span class="token attr-name">IsVisible</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding HasNoSelection}<span class="token punctuation">"</span></span>
            <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Tap a country on the map to view its information.<span class="token punctuation">"</span></span>
            <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#90A4AE<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>VerticalStackLayout</span> <span class="token attr-name">IsVisible</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding HasSelection}<span class="token punctuation">"</span></span> <span class="token attr-name">Spacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>4<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span>
                <span class="token attr-name">FontAttributes</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Bold<span class="token punctuation">"</span></span>
                <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>22<span class="token punctuation">"</span></span>
                <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding SelectedCountry}<span class="token punctuation">"</span></span>
                <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#102A43<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span>
                <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>14<span class="token punctuation">"</span></span>
                <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding SelectedPopulation}<span class="token punctuation">"</span></span>
                <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#455A64<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>VerticalStackLayout</span><span class="token punctuation">&gt;</span></span>

        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>HorizontalStackLayout</span> <span class="token attr-name">Spacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadButton</span>
                <span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>16,10<span class="token punctuation">"</span></span>
                <span class="token attr-name">Background</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#1E4C5C<span class="token punctuation">"</span></span>
                <span class="token attr-name">Clicked</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>OnResetViewClicked<span class="token punctuation">"</span></span>
                <span class="token attr-name">CornerRadius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>8<span class="token punctuation">"</span></span>
                <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Overview<span class="token punctuation">"</span></span>
                <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>White<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">telerik:</span>RadButton</span>
                <span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>16,10<span class="token punctuation">"</span></span>
                <span class="token attr-name">Background</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#E3F2F8<span class="token punctuation">"</span></span>
                <span class="token attr-name">Clicked</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>OnClearSelectionClicked<span class="token punctuation">"</span></span>
                <span class="token attr-name">CornerRadius</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>8<span class="token punctuation">"</span></span>
                <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Clear selection<span class="token punctuation">"</span></span>
                <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#1E4C5C<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>HorizontalStackLayout</span><span class="token punctuation">&gt;</span></span>

    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>VerticalStackLayout</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span><span class="token namespace">telerik:</span>RadBorder</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>You also need to complete the code behind of the <code>ContentPage</code> to react to selection changes, as well as handle button actions:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">partial</span> <span class="token keyword">class</span> <span class="token class-name">MainPage</span> <span class="token punctuation">:</span> ContentPage
<span class="token punctuation">{</span>
    <span class="token keyword">private</span> <span class="token keyword">readonly</span> MainViewModel viewModel<span class="token punctuation">;</span>
    
    <span class="token keyword">public</span> <span class="token function">MainPage</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token function">InitializeComponent</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

        <span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>
        shapeLayer<span class="token punctuation">.</span>SelectedShapes<span class="token punctuation">.</span>CollectionChanged <span class="token operator">+</span><span class="token operator">=</span> OnSelectedShapesChanged<span class="token punctuation">;</span>
        
        reader<span class="token punctuation">.</span>DataSource <span class="token operator">=</span> MapSource<span class="token punctuation">.</span><span class="token function">FromResource</span><span class="token punctuation">(</span><span class="token string">"TelerikMapDemo.Resources.Maps.world.dbf"</span><span class="token punctuation">,</span> assembly<span class="token punctuation">)</span><span class="token punctuation">;</span>
reader<span class="token punctuation">.</span>Source <span class="token operator">=</span> MapSource<span class="token punctuation">.</span><span class="token function">FromResource</span><span class="token punctuation">(</span><span class="token string">"TelerikMapDemo.Resources.Maps.world.shp"</span><span class="token punctuation">,</span> assembly<span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    
    <span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>

    <span class="token keyword">private</span> <span class="token keyword">void</span> <span class="token function">OnSelectedShapesChanged</span><span class="token punctuation">(</span><span class="token keyword">object</span><span class="token operator">?</span> sender<span class="token punctuation">,</span> NotifyCollectionChangedEventArgs e<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>            
        <span class="token keyword">if</span> <span class="token punctuation">(</span>shapeLayer<span class="token punctuation">.</span>SelectedShapes<span class="token punctuation">.</span>Count <span class="token operator">==</span> <span class="token number">0</span><span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            viewModel<span class="token punctuation">.</span>HasSelection <span class="token operator">=</span> <span class="token keyword">false</span><span class="token punctuation">;</span>
            viewModel<span class="token punctuation">.</span>SelectedCountry <span class="token operator">=</span> <span class="token keyword">string</span><span class="token punctuation">.</span>Empty<span class="token punctuation">;</span>
            viewModel<span class="token punctuation">.</span>SelectedPopulation <span class="token operator">=</span> <span class="token keyword">string</span><span class="token punctuation">.</span>Empty<span class="token punctuation">;</span>
            <span class="token keyword">return</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>

        <span class="token keyword">var</span> shape <span class="token operator">=</span> shapeLayer<span class="token punctuation">.</span>SelectedShapes<span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">;</span>

        viewModel<span class="token punctuation">.</span>SelectedCountry <span class="token operator">=</span> shape<span class="token punctuation">.</span><span class="token function">GetAttribute</span><span class="token punctuation">(</span><span class="token string">"CNTRY_NAME"</span><span class="token punctuation">)</span><span class="token operator">?</span><span class="token punctuation">.</span><span class="token function">ToString</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">?</span><span class="token operator">?</span> <span class="token string">"Unknown"</span><span class="token punctuation">;</span>

        <span class="token keyword">var</span> populationText <span class="token operator">=</span> shape<span class="token punctuation">.</span><span class="token function">GetAttribute</span><span class="token punctuation">(</span><span class="token string">"POP_CNTRY"</span><span class="token punctuation">)</span><span class="token operator">?</span><span class="token punctuation">.</span><span class="token function">ToString</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        viewModel<span class="token punctuation">.</span>SelectedPopulation <span class="token operator">=</span> <span class="token keyword">double</span><span class="token punctuation">.</span><span class="token function">TryParse</span><span class="token punctuation">(</span>populationText<span class="token punctuation">,</span> <span class="token keyword">out</span> <span class="token keyword">var</span> population<span class="token punctuation">)</span>
            <span class="token operator">?</span> $<span class="token string">"Approximate population: {population:N0} inhabitants"</span>
            <span class="token punctuation">:</span> <span class="token string">"Population not available"</span><span class="token punctuation">;</span>

        viewModel<span class="token punctuation">.</span>HasSelection <span class="token operator">=</span> <span class="token keyword">true</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">private</span> <span class="token keyword">void</span> <span class="token function">OnResetViewClicked</span><span class="token punctuation">(</span><span class="token keyword">object</span><span class="token operator">?</span> sender<span class="token punctuation">,</span> EventArgs e<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        map<span class="token punctuation">.</span><span class="token function">SetView</span><span class="token punctuation">(</span>shapeLayer<span class="token punctuation">.</span><span class="token function">GetBestView</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">private</span> <span class="token keyword">void</span> <span class="token function">OnClearSelectionClicked</span><span class="token punctuation">(</span><span class="token keyword">object</span><span class="token operator">?</span> sender<span class="token punctuation">,</span> EventArgs e<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        shapeLayer<span class="token punctuation">.</span>SelectedShapes<span class="token punctuation">.</span><span class="token function">Clear</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

<span class="token punctuation">}</span>
</code></pre><p>In the code above we subscribed to the <code>CollectionChanged</code> event, which will be fired when a user selects or deselects a country. In the event handler <code>OnSelectedShapesChanged</code> we validate whether there are selected shapes; if not, the graphical elements that display information about each country are cleared.</p><p>If a country has been selected, the attributes <code>CNTRY_NAME</code> and <code>POP_CNTRY</code> are read and the values in the view model are updated.</p><p>Finally, we also create the event handlers <code>OnResetViewClicked</code> for a button that allows recentering the entire map using the method <code>GetBestView()</code> again. We have also defined the method <code>OnClearSelectionClicked</code>, which will be used to clear the <code>SelectedShapes</code> collection, to deselect any selected country and reset the data in the UI:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/dotnet-maui-map-country-selection.gif?sfvrsn=c0d1b5f5_2" alt="Map control with country selection enabled" /></p><p>In the image above we can see how, when selecting a country on the map, its information is correctly displayed at the bottom.</p><h2 id="conclusion">Conclusion</h2><p>In this article you got to know the Telerik UI Map control for .NET MAUI, which is an excellent option for displaying maps, labels and regions reliably and quickly. We saw step by step how to read ESRI shapefiles as well as render them.</p><p>We also learned how to color different regions using a style selector and how to allow users to select specific regions on the map.</p><p>Now it&rsquo;s your turn to create unique experiences using this powerful control. The whole Telerik UI for .NET MAUI suite comes with a free 30-day trial so you can explore it yourself.</p><p><a href="https://www.telerik.com/try/ui-for-maui" target="_blank" class="Btn">Try Now</a></p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:269bcaca-43ab-495e-a3f4-e0cf0b825c37</id>
    <title type="text">Creating an Account UI in .NET MAUI</title>
    <summary type="text">See how to bring a user interface design for an account screen to life in a .NET MAUI application.</summary>
    <published>2026-09-28T20:43:49Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Leomaris Reyes </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/creating-account-ui-net-maui"/>
    <content type="text"><![CDATA[<p><span class="featured">See how to bring a user interface design for an account screen to life in a .NET MAUI application. </span></p><p>How many times a month do you create a new account? Probably more often than you remember. And while it may seem like a simple process, that first interaction can shape a user&rsquo;s perception of the entire app.</p><p>As developers, it&rsquo;s important to pay attention to every detail when transforming a design into code. Our goal isn&rsquo;t just to make the application work, but also to stay true to the original design and deliver a smooth, enjoyable user experience. That&rsquo;s why, in this article, we&rsquo;ll recreate two screens inspired by a <a target="_blank" href="https://dribbble.com/shots/27206083-Clean-Simple-Login-Register-Mobile-UI">Dribbble</a> design, bringing them to life step by step using .NET MAUI.</p><p>So grab a cup of coffee (or hot chocolate if you have a sweet tooth ☕), open Visual Studio or Visual Studio Code &hellip; <strong>and let&rsquo;s start coding! </strong></p><h2 id="how-will-the-explanation-work">How Will the Explanation Work?</h2><p>So you can understand everything 100%, I&rsquo;ll explain how the process will work:</p><p>➖ <strong>Visual diagram:</strong> Before we start, you&rsquo;ll see a diagram with a screenshot of the design we want to achieve. This design will be divided into blocks, each identified with a name and a color. Each one will be explained individually.</p><p>➖ <strong>Code explanation per block:</strong> In addition to the written explanation, each screen includes a set of blocks with the exact code snippets you need to implement and achieve the final result.</p><p>➖ <strong>Step-by-step visual progress:</strong> Each explanation will have its corresponding screenshot, so you can see the progress as we build the UI.</p><p>⚠️ For this design, we took inspiration from an original Dribbble UI, but made some adaptations and adjustments to align it with the goals of this article.</p><h2 id="-environment-setup"> Environment Setup</h2><p>You&rsquo;ll learn how to take advantage of some of the powerful Progress Telerik UI for .NET MAUI components in this post. If you don&rsquo;t have the .NET MAUI library installed yet, visit the <a target="_blank" href="https://www.telerik.com/maui-ui/documentation/get-started/quickstart">quick start page</a>, which explains step-by-step how to install Telerik UI for .NET MAUI, download the license key, configure the Telerik package source and install the Telerik MCP server (if needed).</p><h2 id="breaking-down-the-design">Breaking Down the Design</h2><p>To make this easier to follow, I&rsquo;ve divided the design into clear blocks. We&rsquo;ll build each part one at a time, in the order you see below.</p><p><img title="Visual structure" src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/01_create_account_structure.png?sfvrsn=5ad0128e_2" alt="Visual structure" /></p><h2 id="flower-image-step">1. Flower Image Step</h2><p>Let&rsquo;s start by creating the main page, which we&rsquo;ll call <strong>WelcomeBackPage.xaml.</strong> This one will contain the components from both Step 1 and Step 2. For the main layout, we&rsquo;ll use a Grid, divided into two rows.</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Grid RowDefinitions="500,*"&gt;

    &lt;!-- Add blocks one and two here --&gt;

&lt;/Grid&gt;
</code></pre><p>This Grid is composed of the following elements:</p><p> <strong>Header image:</strong> In the first row, we&rsquo;ll add the background image using the <code>AspectFill</code> property, allowing it to fill the available width while maintaining an attractive appearance across different screen sizes.</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Image Grid.Row="0" Source="bgroseflower.png" Aspect="AspectFill" /&gt;
</code></pre><p> <strong>Main container:</strong> In the second row, we&rsquo;ll add a Border control. In this case, we&rsquo;ll use the Telerik UI for <a target="_blank" href="https://www.telerik.com/maui-ui/border">.NET MAUI Border control</a>, so make sure to include the Telerik namespace in your page:</p><pre class=" language-xml"><code class="prism  language-xml">xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
</code></pre><p>To create the overlapping effect, we only need to apply a negative top margin. This gives the impression that the white container is placed on top of the image. Finally, inside the Border, we&rsquo;ll add a <strong>VerticalStackLayout</strong>, which we&rsquo;ll use in the next steps to place the labels and buttons.</p><pre class=" language-xml"><code class="prism  language-xml">&lt;telerik:RadBorder 
    Grid.Row="1" 
    Margin="0,-80" 
    Padding="30" 
    BackgroundColor="White" 
    CornerRadius="30"&gt;
 
    &lt;VerticalStackLayout 
    Spacing="15" 
    VerticalOptions="Fill" 
    HorizontalOptions="Center"&gt; 
    &lt;!-- Add block two here --&gt; 
    &lt;/VerticalStackLayout&gt; 
&lt;/telerik:RadBorder&gt;
</code></pre><p>And you&rsquo;ll get a result like this:</p><p><img title="Flower Image step" src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/02_create_account_structure_step_01.png?sfvrsn=42bf878e_2" alt="1. Flower Image step" /></p><h2 id="welcome-info-step">2. Welcome Info Step</h2><p>For this second step, we already have the foundation in place from the previous section when we added the <strong>VerticalStackLayout.</strong> This means that all the controls we&rsquo;ll add from this point forward should be placed inside that layout.</p><p>Let&rsquo;s start by adding the first three Label controls:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Label 
    HorizontalTextAlignment="Center" 
    Text="Welcome Back!" 
    FontAttributes="Bold" 
    FontSize="26" 
    TextColor="Black" /&gt;
 
&lt;Label 
    HorizontalTextAlignment="Center" 
    Text="Hi there!" 
    FontSize="15" 
    TextColor="#8A8A8A" /&gt;
  
&lt;Label 
    HorizontalTextAlignment="Center" 
    FontSize="15" 
    TextColor="#8A8A8A" 
    Text="We're here to help you learn new skills.&amp;#10;The choice is yours; Log in or create account." /&gt;
</code></pre><h3 id="next-lets-add-the-buttons">Next, Let&rsquo;s Add the Buttons</h3><p>I have to admit, I absolutely <strong>love</strong> these buttons!  The soft gradient gives them a modern and elegant look that really makes the UI stand out.</p><p>To achieve this effect, we&rsquo;ll use .NET MAUI&rsquo;s <strong>LinearGradientBrush</strong> along with three gradient stops. This allows us to smoothly blend multiple colors and create the beautiful gradient shown in the design.</p><p>The implementation looks like this:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Button 
    Text="Create Account" 
    TextColor="White" 
    FontSize="16" 
    HeightRequest="45" 
    CornerRadius="25"&gt; 
    &lt;Button.Background&gt; 
    &lt;LinearGradientBrush 
    StartPoint="0,0.5" 
    EndPoint="1,0.5"&gt; 
    &lt;GradientStop Color="#F8A8BC" Offset="0.0"/&gt; 
    &lt;GradientStop Color="#D0A6F7" Offset="0.5"/&gt; 
    &lt;GradientStop Color="#AF95F6" Offset="1.0"/&gt; 
    &lt;/LinearGradientBrush&gt; 
    &lt;/Button.Background&gt; 
&lt;/Button&gt;
</code></pre><p>✍️ If you want to learn more about <a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/maui/user-interface/brushes/lineargradient?view=net-maui-10.0"><strong>LinearGradientBrush</strong>, I recommend checking out this article</a>.</p><h3 id="the-login-button">The Login Button</h3><pre class=" language-xml"><code class="prism  language-xml">&lt;Button BorderColor="#AF95F6" 
    BackgroundColor="White" 
    BorderWidth="1" 
    CornerRadius="20" 
    Text="Log In" 
    HeightRequest="45" 
    TextColor="Black"/&gt;
</code></pre><p>Finally, let&rsquo;s add the label displayed for users who don&rsquo;t have an account yet. Notice that this text uses two different styles within the same label. Instead of creating two Label controls, we&rsquo;ll use a <strong>FormattedString</strong>, which allows us to apply multiple styles within a single Label.</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Label FontSize="13" HorizontalTextAlignment="Center"&gt; 
    &lt;Label.FormattedText&gt; 
    &lt;FormattedString&gt; 
    &lt;Span Text="Dont'have an account?"/&gt; 
    &lt;Span Text=" Sign Up" TextDecorations="Underline" TextColor="#AF95F6"/&gt; 
    &lt;/FormattedString&gt; 
    &lt;/Label.FormattedText&gt; 
&lt;/Label&gt;
</code></pre><p>And you&rsquo;ll get a result like this:</p><p><img title="Welcome Info step" src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/03_create_account_structure_step_02.png?sfvrsn=a56aa292_2" alt="2. Welcome Info step" /></p><h2 id="create-account-step">3. Create Account Step</h2><p>We made it to the third step, yay! </p><p>For this step, we&rsquo;ll create a new page called <strong>CreateAccountPage.xaml</strong>, which will contain all the elements needed for the account creation screen.</p><p>Just like the previous page, this screen also includes a header image and a white content container with rounded top corners.</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Grid RowDefinitions="260,*"&gt; 
    &lt;Image Grid.Row="0" Source="bggreenflower.png" Aspect="AspectFill" /&gt;
    
    &lt;telerik:RadBorder 
    Grid.Row="1" 
    Margin="0,-80" 
    Padding="30" 
    BackgroundColor="White" 
    CornerRadius="30"&gt;
     
    &lt;VerticalStackLayout 
    Spacing="15" 
    VerticalOptions="Fill" 
    HorizontalOptions="Center"&gt; 
    &lt;!-- Add block three here --&gt; 
    &lt;/VerticalStackLayout&gt; 
    &lt;/telerik:RadBorder&gt; 
&lt;/Grid&gt;
</code></pre><p>Now, let&rsquo;s add the title and description:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Label 
    HorizontalTextAlignment="Center" 
    Text="Create Account" 
    FontAttributes="Bold" 
    FontSize="20" 
    TextColor="Black" /&gt;

&lt;Label 
    HorizontalTextAlignment="Center" 
    FontSize="13" 
    FontAttributes="Bold" 
    Text="We're here to help you reach the peaks of learning.&amp;#10;Are you ready?" /&gt;
</code></pre><h3 id="let’s-add-the-form">Let&rsquo;s Add the Form</h3><p>For the form, we&rsquo;ll use <strong><a target="_blank" href="https://www.telerik.com/maui-ui/dataform">Telerik UI for .NET MAUI DataForm</a></strong>. This control works like magic and helps us save a lot of time when building forms! ✨</p><p>To use it in your XAML page, make sure to add the following namespace:</p><pre class=" language-xml"><code class="prism  language-xml">xmlns:telerik="clr-namespace:Telerik.Maui.Controls;assembly=Telerik.Maui.Controls"
</code></pre><h3 id="creating-the-model">Creating the Model</h3><p>The first step is to define a model that represents the data our form will collect. Each property includes attributes that describe how it should be displayed, whether it&rsquo;s required, and the type of data it accepts. The <strong>Telerik DataForm</strong> leverages these attributes to automatically generate the corresponding inputs and validation rules.</p><p>Our model should look like this:</p><pre class=" language-csharp"><code class="prism  language-csharp">public class SignUp : NotifyPropertyChangedBase 
{ 
    private string email; 
    private string password; 
    private string confirmPassword;
     
    [Required] 
    [Display(Name = "Email")] 
    public string Email 
    { 
    get =&gt; email; 
    set =&gt; UpdateValue(ref email, value); 
    }
     
    [Required] 
    [Display(Name = "Password")] 
    [DataType(DataType.Password)] 
    public string Password 
    { 
    get =&gt; password; 
    set =&gt; UpdateValue(ref password, value); 
    }
     
    [Required] 
    [Display(Name = "Confirm Password")] 
    [DataType(DataType.Password)] 
    public string ConfirmPassword 
    { 
    get =&gt; confirmPassword; 
    set =&gt; UpdateValue(ref confirmPassword, value); 
    } 
}
</code></pre><p>The next step is to assign our model to the page&rsquo;s <code>BindingContext</code>. To keep the sample simple, we&rsquo;ll create a new instance of the SignUp model directly in the page constructor.</p><pre class=" language-csharp"><code class="prism  language-csharp">public CreateAccountPage() 
{ 
    InitializeComponent(); 
    this.BindingContext = new Models.SignUp(); 
}
</code></pre><h3 id="adding-it-in-xaml">Adding It in XAML</h3><p>Finally, we can add it to our XAML. Simply include the <strong>RadDataForm</strong> like the following:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;telerik:RadDataForm 
    x:Name="dataForm" 
    AutomationId="dataForm" /&gt;
</code></pre><p>That&rsquo;s it! Your dynamic form is now ready and fully integrated into your page. </p><h3 id="let’s-add-the-button">Let&rsquo;s Add the Button</h3><pre class=" language-xml"><code class="prism  language-xml">&lt;Button 
    Text="Sign Up" 
    TextColor="White" 
    FontSize="16" 
    HeightRequest="45" 
    CornerRadius="25"&gt; 
    &lt;Button.Background&gt; 
    &lt;LinearGradientBrush 
    StartPoint="0,0.5" 
    EndPoint="1,0.5"&gt; 
    &lt;GradientStop Color="#F8A8BC" Offset="0.0"/&gt; 
    &lt;GradientStop Color="#D0A6F7" Offset="0.5"/&gt; 
    &lt;GradientStop Color="#AF95F6" Offset="1.0"/&gt; 
    &lt;/LinearGradientBrush&gt; 
    &lt;/Button.Background&gt; 
&lt;/Button&gt;
</code></pre><h3 id="divider-and-text">Divider and Text</h3><pre class=" language-xml"><code class="prism  language-xml">&lt;Grid ColumnDefinitions="*,Auto,*"&gt; 

    &lt;BoxView 
    Grid.Column="0" 
    HeightRequest="0.2" 
    Color="#AF95F6"/&gt;
     
    &lt;Label 
    Grid.Column="1" 
    Text=" or continue with " 
    FontSize="15" 
    TextColor="#6E6E6E" /&gt;
     
    &lt;BoxView 
    Grid.Column="2" 
    HeightRequest="0.2" 
    Color="#AF95F6" /&gt; 
    
&lt;/Grid&gt;
</code></pre><h3 id="social-buttons">Social Buttons</h3><pre class=" language-xml"><code class="prism  language-xml">&lt;Grid 
    ColumnDefinitions="*,*" 
    ColumnSpacing="15" 
    HorizontalOptions="Fill"&gt; 
    &lt;Button 
    Grid.Column="0" 
    Text="Google" 
    ImageSource="googlecolor.png" 
    TextColor="Black" 
    FontSize="16" 
    HeightRequest="45" 
    CornerRadius="25" 
    BorderColor="LightGray" 
    BorderWidth="0.3" 
    HorizontalOptions="Fill" 
    BackgroundColor="White"/&gt;

    &lt;Button 
    Grid.Column="1" 
    Text="Apple" 
    ImageSource="apple.png" 
    TextColor="Black" 
    FontSize="16" 
    HeightRequest="45" 
    CornerRadius="25" 
    BorderColor="LightGray" 
    BorderWidth="0.3" 
    HorizontalOptions="Fill" 
    BackgroundColor="White"/&gt;

&lt;/Grid&gt;
</code></pre><p>And you&rsquo;ll get a result like this:</p><p><img title="Create account step" src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/04_create_account_structure_step_03.png?sfvrsn=a5ad3aa2_2" alt="3. Create account step" /></p><p>And that&rsquo;s it, we&rsquo;re all done!  Below, you can see the final result of both screens.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/05_create_account_structure_complete.png?sfvrsn=e2494639_2" alt="Complete design structure" /></p><h2 id="conclusion">Conclusion</h2><p>And that&rsquo;s it! I hope this article helps you recreate beautiful UIs in .NET MAUI!</p><p>We built two account creation screens inspired by a Dribbble design. Along the way, we explored how to structure layouts with Grid, create overlapping effects, use gradients and customize the UI using Telerik UI for .NET MAUI RadBorder and DataForm.</p><p>As you can see, in just two screens we covered several tips that you can easily apply to your own applications.</p><p>I encourage you to keep exploring, experimenting and learning something new every day.  See you in the next article! &zwj;♀️</p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:c0b3f88d-3c34-43f4-a479-4d674f54a82f</id>
    <title type="text">Replicating a Room Sublet App UI with .NET MAUI</title>
    <summary type="text">Let’s build out a design of a room subletting app using the Progress Telerik UI for .NET MAUI Rating control, plus concepts like overlapping effects and FormattedText.</summary>
    <published>2026-09-18T16:14:29Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Leomaris Reyes </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/replicating-room-sublet-app-ui-net-maui"/>
    <content type="text"><![CDATA[<p><span class="featured">Let&rsquo;s build out a design of a room subletting app using the Progress Telerik UI for .NET MAUI Rating control, plus concepts like overlapping effects and FormattedText.</span></p><p>I dare say that a large percentage of young people, when they go to university, look for a room to rent where they can become independent and, of course, one that&rsquo;s close to their campus!</p><p>And how cool would it be if, during that special moment, an app could help us find the perfect place. And if there isn&rsquo;t an app that does it? Even better, let&rsquo;s learn how to create one!</p><p>That&rsquo;s exactly what we&rsquo;re going to do in this article. We&rsquo;re going to replicate a room sublet screen using .NET MAUI controls and one of my favorite Progress Telerik UI for .NET MAUI components: the <a target="_blank" href="https://www.telerik.com/maui-ui/rating">MAUI Rating control</a>. This UI was inspired from a <a target="_blank" href="https://dribbble.com/shots/11284577-Room-Rent-App-Concept">Dribbble design</a>. So get comfortable, and let&rsquo;s start building this UI that I absolutely love!! </p><h2 id="how-will-the-explanation-work">How Will the Explanation Work?</h2><p>So you can understand everything 100%, I&rsquo;ll explain how the process will work:</p><p>➖ <strong>Visual diagram:</strong> Before we start, you&rsquo;ll see a diagram with a screenshot of the design we want to achieve. This design will be divided into blocks, each identified with a name and a color. Each one will be explained individually.</p><p>➖ <strong>Code explanation per block:</strong> In addition to the written explanation, each screen includes a set of blocks with the exact code snippets you need to implement and achieve the final result.</p><p>➖ <strong>Step-by-step visual progress:</strong> Each explanation will have its corresponding screenshot, so you can see the progress as we build the UI.</p><p>⚠️ For this design, we took inspiration from an original Dribbble UI, but made some adaptations and adjustments to align it with the goals of this article.</p><h3 id="-environment-setup"> Environment Setup</h3><p>You&rsquo;ll learn how to take advantage of some of the powerful Telerik UI for .NET MAUI components in this post. If you don&rsquo;t have the .NET MAUI library installed yet, visit the <a target="_blank" href="https://www.telerik.com/maui-ui/documentation/get-started/quickstart">quick start page</a>, which explains step-by-step how to install Telerik UI for .NET MAUI, download the license key, configure the Telerik package source and install the Telerik MCP server (if needed).</p><h2 id="breaking-down-the-design">Breaking Down the Design</h2><p>To make this easier to follow, I&rsquo;ve divided the design into clear blocks. We&rsquo;ll build each part one at a time, in the order you see below.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/01_room_structure.png?sfvrsn=7352a505_2" width="450" alt="Visual structure: 1. Header and background. 2. Description. 3. Footer" /></p><h2 id="header-and-background">1. Header and Background</h2><p>Woohoo!!  Let&rsquo;s start with the first block. I love this one because it contains several interesting components, but before adding them, we need to create the layout that will hold the entire page.</p><h3 id="grid">Grid</h3><p>We&rsquo;ll start with a grid composed of a single column. This will help us create the overlay effect between the background image and the main content.</p><p>Inside the grid, we&rsquo;ll place two elements:</p><ul><li>The background image.</li><li>Another Grid that will contain all the UI components we&rsquo;ll build throughout this article. This grid will have two columns and nine rows.</li></ul><p>In code, it should look something like this:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Grid ColumnDefinitions="*"&gt; 

    &lt;Image Grid.Column="0" Source="room.png" Aspect="AspectFill"/&gt;
 
    &lt;Grid ColumnDefinitions="*,auto" RowDefinitions="auto,auto,*,auto,auto,auto,auto,auto,auto" 
    RowSpacing="13"&gt; 
    
    &lt;!-- Add all the remaining components here -- &gt;
     
    &lt;/Grid&gt; 
&lt;/Grid
</code></pre><h3 id="name-and-result-label">Name and Result Label</h3><p>Now, inside the second grid, we&rsquo;ll add two Labels to display the room name and its result, as shown below:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Label Grid.Row="0" Grid.Column="0" Text="Roomlette" FontSize="32" FontAttributes="Bold" TextColor="White" Margin="20,40,0,0"/&gt; 

&lt;Label Grid.Row="1" Grid.Column="0" Text="Results: 1 / 31" FontSize="18" FontAttributes="Bold" TextColor="White" Margin="20,0,0,0"/&gt;
</code></pre><p>And then, let&rsquo;s add the three action buttons on the right side of the screen, as shown below:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Button Grid.Row="0" Grid.Column="1" BackgroundColor="#0b0905" Opacity="0.8" HeightRequest="30" WidthRequest="30" CornerRadius="8" HorizontalOptions="Center" Margin="0,40,10,0" ImageSource="ellipsis.png"/&gt; 

&lt;Button Grid.Row="1" Grid.Column="1" BackgroundColor="#0b0905" Opacity="0.8" HeightRequest="30" WidthRequest="30" CornerRadius="8" HorizontalOptions="Center" Margin="0,10,10,0" ImageSource="stack.png"/&gt; 

&lt;Button Grid.Row="2" Grid.Column="1" BackgroundColor="#0b0905" Opacity="0.8" HeightRequest="30" WidthRequest="30" CornerRadius="8" HorizontalOptions="Center" Margin="0,10,10,0" ImageSource="save.png" VerticalOptions="Start"/&gt;
</code></pre><p>We&rsquo;ve finished building the first block! At this point, your result should look like this:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/02_room_header_and_background.png?sfvrsn=d71dfca0_2" width="450" alt="Room header and background block. Image of room, Roomlette Result 1 of 31" /></p><h2 id="description">2. Description</h2><p>For this second block, we&rsquo;ll add the elements that make up the main description of the screen. Let&rsquo;s see how to build them:</p><h3 id="main-description-and-location">Main Description and Location</h3><pre class=" language-xml"><code class="prism  language-xml">&lt;Label Grid.Row="3" Grid.Column="0" Text="Room for student,&amp;#10;fully furnished,,&amp;#10;close to the university." FontSize="23" FontAttributes="Bold" TextColor="White" Margin="20,40,0,0"/&gt;
 
&lt;Label Grid.Row="4" Grid.Column="0" Text="Malasa&ntilde;a, Madrid, Spain" FontSize="16" FontAttributes="Bold" TextColor="White" Margin="20,0,0,0"/&gt;
</code></pre><h3 id="price">Price</h3><p>Take a look at this Label. Even though it&rsquo;s a single label, it has different styles: one part has a different size, and another part is bold.</p><p>There are two ways to achieve this:</p><ol><li>Create a separate Label for each text style.</li><li>Use FormattedText, which allows us to apply different properties within the same Label.</li></ol><p>For this example, we&rsquo;ll use the second option. Here&rsquo;s how you can do it:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Label Grid.Row="5" Grid.Column="0" Margin="20,0,0,0"&gt; 
    &lt;Label.FormattedText&gt; 
    &lt;FormattedString&gt; 
    &lt;Span Text="&euro;950 / " FontSize="18" FontAttributes="Bold" TextColor="White"/&gt; 
    &lt;Span Text=" Month" FontSize="16" TextColor="White"/&gt; 
    &lt;/FormattedString&gt; 
    &lt;/Label.FormattedText&gt; 
&lt;/Label&gt;
</code></pre><h3 id="telerik-rating-control">Telerik Rating Control</h3><p>Oh yeah!, we&rsquo;ve reached my favorite part! This screen includes a Rating control, and we&rsquo;ll use the Telerik one. It&rsquo;s super easy to use, and we can play with the shape of the items, the colors for the selected and unselected items and many other things. </p><p>First, add the namespace:</p><pre class=" language-xml"><code class="prism  language-xml">xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
</code></pre><p>And now, in your .xaml file, add the following code:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;telerik:RadShapeRating Grid.Row="6" Grid.Column="0" ItemFill="White" ItemStroke="#FFA500" AutomationId="radRating" Value="3" Margin="20,0,0,0"/&gt;
</code></pre><p>I also invite you to explore more about <a target="_blank" href="https://www.telerik.com/maui-ui/rating">Telerik Rating control in the official documentation</a>, which is really helpful!</p><h3 id="contact-button">Contact Button</h3><pre class=" language-xml"><code class="prism  language-xml">&lt;Button Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="2" Text="Contact" BackgroundColor="#af4544" FontSize="18" HeightRequest="25" HorizontalOptions="Fill" CornerRadius="10" Margin="20,0"/&gt;
</code></pre><p>We&rsquo;ve finished building the second block! At this point, your result should look like this:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/03_room_description.png?sfvrsn=99d5117c_2" width="450" alt="Room Description block with &#39;Room for student, fully furnished, close to the university. Malasana, Madrid, Spain. Price. Rating. Contact." /></p><h2 id="footer">3. Footer</h2><p>We&rsquo;re almost done! This footer block basically contains a <strong>Roulette</strong> button and three icons aligned horizontally at the end: <strong>Filter, Message</strong> and <strong>Save</strong>.</p><p>How does it look in code? Like this :</p><pre class=" language-xml"><code class="prism  language-xml">&lt;Button Grid.Row="8" Grid.Column="0" BackgroundColor="#0b0905" Padding="0" Text="Roulette" HeightRequest="18" WidthRequest="130" CornerRadius="8" Margin="20,10,20,20" ImageSource="roulette.png" HorizontalOptions="Start" /&gt;
 
&lt;HorizontalStackLayout Grid.Row="8" Grid.Column="1" Spacing="20" Margin="0,0,20,0"&gt; 
    &lt;Image Source="filtericon.png" HeightRequest="18" WidthRequest="18"/&gt; 
    &lt;Image Source="letter.png" HeightRequest="18" WidthRequest="18"/&gt; 
    &lt;Image Source="bookmark.png" HeightRequest="18" WidthRequest="18"/&gt; 
&lt;/HorizontalStackLayout&gt;
</code></pre><p>We&rsquo;ve finished building the third block! At this point, your result should look like this:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/04_room_footer.png?sfvrsn=e6cd0d16_2" width="450" alt="Room Footer block with roulette, filter. message, save" /></p><h2 id="conclusion">Conclusion</h2><p>And that&rsquo;s all! I hope this article helps you recreate beautiful UIs in .NET MAUI! </p><p>With a single screen, we explored several interesting concepts, such as using the Telerik UI for .NET MAUI Rating control, leveraging grid layouts to create overlapping effects, applying different styles within the same text using FormattedText and more!</p><p>I hope these techniques help you not only recreate this UI, but also inspire and support the interfaces you build from now on in .NET MAUI. </p><p>See you in the next article! &zwj;♀️</p><hr /><blockquote><p>If you want to explore Telerik UI for .NET MAUI, download your free trial today!</p><br /><p><a href="https://www.telerik.com/try/ui-for-maui" target="_blank" class="Btn">Try Now</a></p></blockquote>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:7919a134-7550-484d-83e4-af5b0a269419</id>
    <title type="text">DataGrids Are For... Managers and Administrators</title>
    <summary type="text">For administrators, the DataGrid provides tools for exploring data to develop strategy and assess results. Managers can both report on team progress and analyze that data.</summary>
    <published>2026-09-15T13:39:58Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Peter Vogel </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/datagrids-are-for-managers-administrators"/>
    <content type="text"><![CDATA[<p><span class="featured">For administrators, the DataGrid provides tools for exploring data to develop strategy and assess results. Managers can both report on team progress and analyze that data.</span></p><p>While the terms &ldquo;manager&rdquo; and &ldquo;administrator&rdquo; are often used interchangeably, when used as job descriptions, those terms describe different responsibilities. &ldquo;Administrator&rdquo; job roles focus on &ldquo;what is to be done&rdquo;: setting goals, defining strategy to achieve those goals, establishing policies to control how strategy is executed and allocating resources. &ldquo;Manager&rdquo; job roles focus on &ldquo;how to achieve those goals&rdquo;: implementing plans, supervising staff and managing resources.</p><p>In real life, of course, that overlap is reflected in those two job roles. Because the <a target="_blank" href="https://www.telerik.com/home.aspx">Progress Telerik and Kendo UI</a> DataGrid provides the support that people in both of those roles need, it also supports the overlap between those two roles.</p><h2 id="administrators">Administrators</h2><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/grid-personas-managers-and-admins-01---data.png?sfvrsn=45743b8a_2" alt="A screenshot of the DataGrid, emphasizing rows of data" /></p><p>Initially, it might seem that &ldquo;strategy designers&rdquo; and &ldquo;policy makers&rdquo; wouldn&rsquo;t have much use for the DataGrid inside applications targeted toward &ldquo;administrators.&rdquo; That&rsquo;s probably true &hellip; except that both strategy and policy are (or should be) driven by data. And, as strategies are implemented and policies applied, administrators also need data that helps determine how successful those strategies and policies have been in meeting the organization&rsquo;s goals.</p><p>To support that, administrators do need applications that let them pull together and review key metrics, assess the impact of those metrics on the organization and then use that information to develop strategy. The Telerik DataGrid supports that kind of data analysis because the DataGrid allows users to:</p><ul><li>Pull from a wide variety of data sources (everything from Excel spreadsheets to databases and web services) and remains responsive even when working with large amounts of data</li><li>Highlight key issues through responsive formatting</li><li>Explore data by filtering on multiple criteria across multiple columns to get to the critical data</li><li>Define meaningful groups of data on the fly and generate key metrics</li><li>Organize data into high-level and detail-level displays to both review key data and then drive into the detail</li><li>Export data to be used in other tools (including all the data in the grid, or just data in a single page, and even selected data found in the grid)</li></ul><p>The DataGrid user interface is also supports multiple industry standards, so that the grid &ldquo;works the way users expect.&rdquo; In addition, the AI-enabled Assistants and Semantic Search capabilities allow administrators, by entering natural language requests, to both find key data and configure the grid to display that data without having to manipulate the grid controls (though, thanks to DataGrid shortcuts and navigation features, experienced users can move quickly through the grid).</p><h2 id="managers">Managers</h2><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-09/grid-personas-managers-and-admins-02----people.jpg?sfvrsn=c70f9c89_2" alt="A screenshot of the DataGrid, emphasizing pictures of people" /></p><p>As part of tracking activities and monitoring performance, managers require all of the data analysis tools that administrators need. However, unlike administrators, managers also need to be able to update that data, create new tasks, assign resources and report on their team&rsquo;s progress toward goals. For managers, the DataGrid update capabilities are equally as important as the grid&rsquo;s data analysis tools.</p><p>Managers can update data directly within the DataGrid either on a row-by-row basis or in a bulk update mode that allows managers to update multiple rows before saving their data. Where updating is more complex, the DataGrid supports opening customized popup forms for updating individual rows (or navigating to other screens for more complex data entry). The Grid shortcut keys and navigation features let experienced users enter data quickly without having to take their hands off the keyboard.</p><p>The DataGrid validation tools only allow valid changes to be made (including locking out columns so that no changes are made). Where the DataGrid&rsquo;s built-in validation doesn&rsquo;t handle special business cases, custom validation can be integrated into the grid, tied to the organization&rsquo;s specific needs.</p><p>For administrators, the DataGrid provides the tools needed to explore data to develop strategy and assess results. For managers, the ability to both explore and update data in the DataGrid is a powerful combination: Managers can both report on their team&rsquo;s progress and then switch to analyzing that data. Regardless of the job role&mdash;administrator or manager&mdash;the DataGrid supports what the person in the role needs.</p><hr /><p>Check out the <a target="_blank" href="https://www.telerik.com/devcraft">Telerik DevCraft</a> suite of products to learn about the DataGrid in your favorite .NET or JavaScript flavor, like the <a target="_blank" href="https://demos.telerik.com/blazor-ui/grid/overview">Blazor Grid</a>, the <a target="_blank" href="https://www.telerik.com/kendo-react-ui/components/grid">KendoReact DataGrid</a> or the <a target="_blank" href="https://www.telerik.com/kendo-angular-ui/components/grid">Angular Grid</a>.</p><p>Get your hands on the whole suite free for 30 days:</p><p><a target="_blank" href="https://www.telerik.com/try/devcraft-ultimate" class="Btn">Try Telerik DevCraft</a></p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:5890abe0-8c6a-4973-85a3-623de3e0b32f</id>
    <title type="text">Telerik Support by the Numbers: Response Times, Resolution Rates and Technical Expertise</title>
    <summary type="text">When a product or tool is a crucial part of your application, support is more than just a nice-to-have. Here’s how Progress Telerik support stacks up.</summary>
    <published>2026-09-09T14:31:35Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Kathryn Grayson Nanz </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/telerik-support-response-times-resolution-rates-technical-expertise"/>
    <content type="text"><![CDATA[<p><span class="featured">When a product or tool is a crucial part of your application, support is more than just a nice-to-have. Here&rsquo;s how Progress Telerik support stacks up.</span></p><p>When a product or tool is a crucial part of your application, support is more than just a nice-to-have. For enterprise development teams, support issues could mean anything from a single blocked developer to an entire delayed release. The larger and more critical the application, the more important predictable access to technical expertise becomes.</p><p>So rather than simply saying Progress provides strong Telerik and Kendo UI support, here are the numbers behind it&mdash;customer satisfaction, response and resolution times, escalation rates and the technical resources available beyond a simple or individual support case.</p><h3>Support at a Glance</h3><ul><li><strong>98%+</strong> customer satisfaction on case closure</li><li><strong>95.5%+</strong> customer satisfaction per interaction</li><li><strong>24-hour</strong> response-time Service Level Agreement (SLA)</li><li><strong>50%+</strong> of cases resolved within 14 hours</li><li><strong>&lt;14 hours</strong> median time to first response</li><li><strong>~99.8%</strong> of tickets resolved without escalation</li><li><strong>New AI-powered chat </strong>embedded in ticket submission and documentation to provide instant answers</li></ul><h2>What Does Enterprise-Grade Support Mean?</h2><p>Enterprise-grade technical support combines predictable response commitments, access to technical expertise, efficient issue resolution and self-service resources that help teams resolve problems without creating prolonged development blockers.</p><h3>Technical Support from Technical Engineers</h3><p>We believe that good support is part of the product experience. Our technical support engineers bring hands-on expertise, helping teams get from problem to solution without unnecessary delays or layers of escalation. Telerik Technical Support Engineers are technical specialists with software development expertise, equipped to investigate implementation-level issues rather than simply triage and route them. Approximately 99.8% of support tickets are resolved within Technical Support without requiring escalation to product engineering.</p><h3>Fast Turnaround</h3><p>We also understand that when a project is blocked, timing is of the essence. That&rsquo;s why our support teams provide a <strong>24-hour response-time SLA</strong>&mdash;but most of the time, you won&rsquo;t even have to wait that long. Our <strong>median time to first response is under 14 hours</strong>. </p><p>In fact, over half of support cases are <em>resolved </em>within 14 hours, helping teams move from problem to solution quickly. Most issues also stay with the support organization rather than requiring engineering escalation. And by &ldquo;most,&rdquo; I mean &ldquo;very nearly all&rdquo;: approximately 99.8% of tickets are resolved without escalation.</p><h3>Exceptional Customer Satisfaction</h3><p>More than 98% of customers report satisfaction at case closure, and a 95.5%+ CSAT score (Customer Satisfaction) per interaction reflects high quality throughout the support experience.</p><h2>What About Support Beyond Tickets?</h2><p>Support is about more than just answering one-off tickets, though. That&rsquo;s why we offer a massive collection of technical knowledge that helps developers across the community&mdash;whether they&rsquo;re troubleshooting a problem, learning a feature, evaluating an API or looking for implementation examples. Those resources mean that developers may not even need to open a support ticket in the first place! The vast library of public technical knowledge empowers developers with the knowledge they need, saving direct technical support for unique and specific edge case instances.</p><h3>Available Public Technical Knowledge</h3><ul><li><strong>290K+ </strong>answered forum threads</li><li><strong>6.5K+</strong> knowledge base articles</li><li><strong>10K+ </strong>demos</li><li><strong>24K+ </strong>conceptual documentation articles</li><li><strong>29K+</strong> API reference articles.</li><li><strong>100+ </strong>answered community questions each month</li></ul><p>These resources are publicly searchable and indexable, which allows the impact of our excellent support to scale far beyond what could be offered via tickets alone. Developers can benefit from solutions documented through years of customer and community interactions, while organizations can build their own expertise on top of a large, accessible body of technical knowledge.</p><h2>What Our Customers Say</h2><p>The numbers are impressive, but what matters more to us is what our customers have to say about their support experiences. These are just a small sample of quotes from users who have worked with our support teams and had wonderfully positive experiences.</p><h3>Clear Instructions</h3><p><em>&ldquo;I&rsquo;m incredibly grateful for the technical assistance I received. The support was not only timely but also highly effective&mdash;resolving my issue quickly and professionally. The guidance was clear and spot-on, helping me identify the missing step and implement the correct solution without delay. Thanks to this help, everything is now working perfectly. I truly appreciate the responsiveness and expertise. This kind of support makes a huge difference!&rdquo;</em></p><h3>High-Quality Responses</h3><p><em>&ldquo;Your developer support is AWESOME! I can&rsquo;t imagine moving to another control suite. You guys are the best!&rdquo;</em> </p><h3>Fast and Detailed</h3><p><em>&ldquo;Prompt and on-point with all of our communications. I appreciate the detailed responses and explanations!&rdquo;</em></p><h3>Going the Extra Mile</h3><p><em>&ldquo;Spent extra time making sure I had the resources and information to fix my problem [&hellip;] created an example project and code snippets. Thank you so much!</em></p><h2>Better Support Means Better End Products</h2><p>Faster access to expert assistance can reduce delivery risk by helping developers resolve blockers before they become prolonged delays. Strong technical support and a comprehensive knowledge base also reduces engineering time spent troubleshooting, searching for answers, going in circles with AI chatbots or developing brittle workarounds&mdash;lowering the total cost of ownership over time. Support is, therefore, not simply a service attached to the product; it's part of the risk assessment that teams should evaluate when choosing a partner they expect to rely on for years.</p><p>Enterprise teams working with Telerik and Kendo UI can have confidence that when a problem arises, there&rsquo;s a reliable solution&mdash;and an experienced team behind the technology, just waiting to help.</p><h2>FAQ</h2><h3>How Quickly Does Telerik Technical Support Respond?</h3><p>Telerik Technical Support includes a 24-hour response-time Service Level Agreement (SLA), but our median time to first response is less than 14 hours.</p><h3>How Quickly Are Telerik Support Cases Resolved?</h3><p>Over half of cases are resolved within 14 hours, with less than 1% requiring escalation.</p><h3>Are Telerik Support Cases Handled by Technical Experts?</h3><p>Yes, Telerik Technical Support Engineers are technical specialists with software development expertise, equipped to investigate implementation-level issues rather than simply triage and route them.</p><h3>What Self-Service Support Resources Does Telerik Provide?</h3><p>Our library of self-support technical knowledge resources includes extensive community forums with over 290k answered threads, over 6.5k Knowledge Base articles, over 10k demos, over 24k conceptual documentation articles, over 29k API reference articles and more than 100 new community questions answered each month.</p><hr /><h2>Want to See for Yourself?</h2><p>Our 30-day free trials include access to support. The Telerik DevCraft suite lets you pick your favorite flavor, so check it out:</p><p><a class="Btn" target="_blank" href="https://www.telerik.com/devcraft">Try DevCraft</a></p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:e43d41a5-b849-45cc-a9d9-883473d1273b</id>
    <title type="text">DataGrids Are For... Legal Professionals</title>
    <summary type="text">As the legal profession changes, the applications that support legal professionals must also change. The Progress Telerik and Kendo UI DataGrid gives you the ability to support those evolving needs.</summary>
    <published>2026-09-08T19:54:58Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Peter Vogel </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/datagrids-are-for-legal-professionals"/>
    <content type="text"><![CDATA[<p><span class="featured">As the legal profession changes, the applications that support legal professionals must also change. The DataGrid can help you evolve.</span></p><p>The legal profession is going through enormous changes, some driven by changes in the business (e.g., outsourcing) and some by technology (AI). As a result, applications created for legal professionals like lawyers and paralegals have to reflect and support those changes.</p><p>For example, thanks to outsourcing, AI and more sophisticated third-party software, the amount of time a legal professional spends on research (once a key skill in the field) is shrinking. In the same way, legal professionals are now spending less time drafting legal documents (another formerly critical skill) and more time reviewing/correcting the products of various software systems.</p><p>Many things in the profession have not changed, of course. Today&rsquo;s legal professionals still need to be able to understand their clients&rsquo; needs and analyze the issues each client faces. Legal professionals must provide solutions that are attainable while meeting their clients&rsquo; needs and be able to communicate the resulting courses of action (with their risks) both to their clients and the other parties involved.</p><hr /><blockquote><p>Actually, here&rsquo;s an interesting <a target="_blank" href="https://www.sharefile.com/resource/papers/state-of-legal">survey of legal professionals</a> that the Progress ShareFile team put together. Lawyers love the work they do&mdash;but many still face workflow friction that slows client service, delays intake and creates unnecessary complexity. Of the participating legal professionals surveyed:</p><br /><ul><li>97% say AI and automation will be important to the future of legal</li><li>84% say workflow inconsistencies impact efficiency</li><li>95% want tools that are simple and easy to use</li></ul></blockquote><hr /><p>When it comes to executing the selected actions, much remains the same: filing deadlines remain critical, as do keeping clients compliant with relevant laws and advocating for clients&rsquo; interests in criminal and civil cases.</p><p>While the business has changed, clients have also changed and are increasingly using self-serve and lower cost options (e.g., community legal workers). When working with legal professionals, clients are increasingly assessing their experience by how the client&rsquo;s interaction is personalized and customized to their needs. As a result, legal professionals are moving away from traditional hourly based billing toward value-based billing and are increasingly focused on efficiency.</p><p>The net result is an increased demand for &ldquo;legal services&rdquo; (contract life cycle management, for example) instead of &ldquo;legal advice&rdquo; like routine contract negotiation.</p><p>The Progress Telerik and Kendo UI <a target="_blank" href="https://www.telerik.com/devcraft#demo-tab-10">DataGrid</a> is an essential part of building applications that support those changing needs.</p><h2 id="retrieving-and-finding-documents">Retrieving and Finding Documents</h2><p>For example, a legal case still involves thousands of documents: client records, meeting notes, case files, pleadings, affidavits, court filings, expert reports and more. Most of those documents are now digital assets, stored in various repositories that can be accessed through the DataGrid. Using the DataGrid&rsquo;s virtualization features enables users to retrieve and review large numbers of documents quickly&mdash;essential in being responsive to clients&rsquo; needs.</p><p>The DataGrid offers multiple tools for filtering, sorting and searching for specific documents. Professionals can find documents by specific clauses, case IDs or document types, even across large repositories. The DataGrid AI-enabled Semantic Search even lets users find records just by typing in what they want (e.g., &ldquo;Show me all the active cases&rdquo;).</p><p>Once the relevant document is found, professionals can have multiple options in reviewing the document, depending on their needs. Documents can be viewed in the DataGrid, of course, but can also be reviewed in popup windows to show key information without leaving the current screen. Or users can navigate to a separate screen to view the document in full.</p><h2 id="organizing-documents-and-data">Organizing Documents and Data</h2><p>Given the variety of documents, the DataGrid&rsquo;s ability to organize those documents into groups is critical. The DataGrid can be configured to provide a predefined set of groups, and users can create their own groups as they need them by dragging and dropping columns in the grid.</p><p>Going beyond simple groups, the DataGrid can be configured as a hierarchy of document groups to organize documents by whatever criteria the user needs. Because the DataGrid has the ability to nest grids with different layouts within, for example, a document hierarchy, different document types can be displayed with different formats.</p><p>Some things remain constant, though. Even in the evolving world of legal professionals, time remains of the essence. While <em>nunc pro tunc</em> (&ldquo;now for then&rdquo;) can apply, it remains essential for filings to be made on time and correctly. DataGrid templates enable users, without leaving their current screen, to switch between a document-oriented view and a time-based view to see what&rsquo;s pending (and conditional formatting can be used to highlight filings that still need development).</p><p>The DataGrid&rsquo;s ability to organize any kind of data, in any order, to support any analysis is also essential to supporting the way the profession is evolving. Businesses now expect their legal departments to not only find ways to manage legal risk but also to provide strategic insights to improve revenues and decrease costs. Legal professionals increasingly need tools&mdash;like the DataGrid&mdash;that support exploring data to help them provide those insights.</p><p>For example, in the contract management area, clients now expect their legal representatives to be able analyze past performance of various terms in contracts to identify opportunities both for improving future contracts and renegotiating existing contracts (or identifying contracts that can&rsquo;t be improved and should be terminated).</p><h2 id="sharing-data">Sharing Data</h2><p>Client confidentiality remains a key concern in any interaction with a legal professional. The DataGrid&rsquo;s ability to integrate with code that authenticates and authorizes users to control access to data helps provide that. The DataGrid&rsquo;s UI supports hiding columns, hiding whole rows and formatting individual cells hide information, all driven by the user&rsquo;s authorized roles.</p><p>On the other hand, legal information often needs to be shared with others (courts, clients, other members of the office, opposing counsel). The DataGrid supports exporting selected rows or the whole grid in both Excel and PDF formats (these options can also be turned off to help prevent data from leaving the application&rsquo;s secure environment). Any hidden rows, columns and obfuscated data remain hidden during export and, where necessary, custom code can be inserted into the export process to further control the process.</p><h2 id="updating-information">Updating Information</h2><p>While reporting data is important, the DataGrid also provides excellent support for updating information efficiently. Users can update single rows, enter a &ldquo;bulk update&rdquo; mode that supports updating multiple rows, open popup windows for individual rows to improve the update experience or navigate from the DataGrid to full screen editing for any row.</p><p>The DataGrid also provides built-in validation to help prevent invalid data being entered and supports both synchronous validation (stopping the user from continuing until data is validated) and asynchronous validation (allowing the user to continue when validation is time-consuming but preventing updates when the user tries to save their data). Validation can be extended with custom code that can take advantage of the DataGrid&rsquo;s error-handling support (displaying error messages in tooltips, for example).</p><p>In addition to providing multiple shortcuts that enable experienced users to work efficiently, the DataGrid supports WCAG accessibility guidelines out of the box. For occasional users, the DataGrid&rsquo;s various assistants (AI Toolbar Assistant, AI Column Assistant, etc.), let users perform complex operations with natural language commands.</p><p>As the legal profession changes, the applications that support legal professionals must also change. The Telerik and Kendo UI DataGrid gives you the ability to support those evolving needs.</p><hr /><p>Check out the <a target="_blank" href="https://www.telerik.com/devcraft">Telerik DevCraft</a> suite of products to learn about the DataGrid in your favorite .NET or JavaScript flavor, like the <a target="_blank" href="https://demos.telerik.com/blazor-ui/grid/overview">Blazor Grid</a> or the <a target="_blank" href="https://www.telerik.com/kendo-angular-ui/components/grid">Angular Grid</a>.</p><p>Get your hands on the whole suite free for 30 days:</p><p><a target="_blank" href="https://www.telerik.com/try/devcraft-ultimate" class="Btn">Try Telerik DevCraft</a></p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:905a0827-91ae-4163-b112-3f31eb7c2249</id>
    <title type="text">Using the Camera in .NET MAUI with CameraView</title>
    <summary type="text">Learn how to use the .NET MAUI Community Toolkit CameraView control in your app, from initializing to creating the user interface.</summary>
    <published>2026-08-31T16:46:42Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Héctor Pérez </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/using-camera-net-maui-cameraview"/>
    <content type="text"><![CDATA[<p><span class="featured">Learn how to use the .NET MAUI Community Toolkit CameraView control in your app, from initializing to creating the user interface.</span></p><p>A functionality that is common in mobile applications is the ability to work with the camera. Although the .NET MAUI framework includes classes and methods to use the camera, having a component that allows creating interfaces that offer additional functionality helps speed up application development. That is why in this article, we will examine the <a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/camera-view">CameraView</a> control of the .NET MAUI Community Toolkit.</p><h2 id="what-is-the-cameraview-control">What Is the CameraView Control</h2><p>CameraView is a control within the <code>CommunityToolkit.Maui.Camera</code> package that helps perform tasks beyond taking photos and videos, allowing control of features such as flash, zoom, saving files and even hooks for reacting to different events.</p><p>This allows you to create experiences within your application without needing to navigate to an external application, giving you full control of the buttons, visual state and destination of captured files.</p><h2 id="using-the-cameraview-control-in-your-.net-maui-applications">Using the CameraView Control in Your .NET MAUI Applications</h2><p>Let&rsquo;s demonstrate the CameraView control&rsquo;s potential. To do this, in your project open the NuGet package manager and install the following packages:</p><pre class=" language-text"><code class="prism  language-text">CommunityToolkit.Maui.Camera
CommunityToolkit.Mvvm
</code></pre><p>The first package is the one we need to use the control and the APIs, while the second will allow using the MVVM pattern more easily in the project.</p><p>Once you have installed the camera control package, you will see a <code>ReadMe.txt</code> file with the steps to follow to correctly configure the control. This file tells us that we must go to <code>MauiProgram.cs</code>, adding the <code>UseMauiCommunityToolkitCamera</code> method for the purpose of initializing the control:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">static</span> <span class="token keyword">class</span> <span class="token class-name">MauiProgram</span>
<span class="token punctuation">{</span>
    <span class="token keyword">public</span> <span class="token keyword">static</span> MauiApp <span class="token function">CreateMauiApp</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">var</span> builder <span class="token operator">=</span> MauiApp<span class="token punctuation">.</span><span class="token function">CreateBuilder</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        builder
            <span class="token punctuation">.</span><span class="token generic-method function">UseMauiApp<span class="token punctuation">&lt;</span>App<span class="token punctuation">&gt;</span></span><span class="token punctuation">(</span><span class="token punctuation">)</span>
            <span class="token punctuation">.</span><span class="token function">UseMauiCommunityToolkitCamera</span><span class="token punctuation">(</span><span class="token punctuation">)</span>           
<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>With the control registered, we are ready to try it.</p><h2 id="declaring-permissions-per-platform">Declaring Permissions Per Platform</h2><p>Although the readme doesn&rsquo;t specify it, it is well known that to use hardware features on physical devices you must request permission from the user to use them. In our case, it is necessary to request permissions to use the camera and the microphone, which must be configured differently on each platform.</p><p>For Android, you should open the file <code>Platforms/Android/AndroidManifest.xml</code>, adding:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token prolog">&lt;?xml version="1.0" encoding="utf-8"?&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>manifest</span> <span class="token attr-name"><span class="token namespace">xmlns:</span>android</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>http://schemas.android.com/apk/res/android<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>application</span> <span class="token attr-name"><span class="token namespace">android:</span>allowBackup</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>true<span class="token punctuation">"</span></span> <span class="token attr-name"><span class="token namespace">android:</span>icon</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>@mipmap/appicon<span class="token punctuation">"</span></span> <span class="token attr-name"><span class="token namespace">android:</span>roundIcon</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>@mipmap/appicon_round<span class="token punctuation">"</span></span> <span class="token attr-name"><span class="token namespace">android:</span>supportsRtl</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>true<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
...
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>uses-permission</span> <span class="token attr-name"><span class="token namespace">android:</span>name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>android.permission.CAMERA<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

    <span class="token comment">&lt;!--Optional. Only for video recording--&gt;</span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>uses-permission</span> <span class="token attr-name"><span class="token namespace">android:</span>name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>android.permission.RECORD_AUDIO<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>manifest</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>For iOS, you should open the file <code>Platforms/iOS/Info.plist</code>, adding the following privacy descriptions:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token prolog">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
<span class="token doctype">&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>plist</span> <span class="token attr-name">version</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1.0<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>dict</span><span class="token punctuation">&gt;</span></span>
    ...

    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>key</span><span class="token punctuation">&gt;</span></span>NSCameraUsageDescription<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>key</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>string</span><span class="token punctuation">&gt;</span></span>PROVIDE YOUR REASON HERE<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>string</span><span class="token punctuation">&gt;</span></span>

    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>key</span><span class="token punctuation">&gt;</span></span>NSMicrophoneUsageDescription<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>key</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>string</span><span class="token punctuation">&gt;</span></span>PROVIDE YOUR REASON HERE<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>string</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>dict</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>plist</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>For Windows no additional action is required.</p><h2 id="creating-a-viewmodel-to-manage-the-control">Creating a ViewModel to Manage the Control</h2><p>Once we&rsquo;ve configured the project to request permissions from the user, let&rsquo;s create the view model, which will allow managing the state of the control. For this, I created a class called <code>MainViewModel</code> with the following content.</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">partial</span> <span class="token keyword">class</span> <span class="token class-name">MainViewModel</span> <span class="token punctuation">:</span> ObservableObject
<span class="token punctuation">{</span>
    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">string</span> statusMessage <span class="token operator">=</span> <span class="token string">"Grant permissions to start the camera."</span><span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">string</span> cameraName <span class="token operator">=</span> <span class="token string">"No camera selected"</span><span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token punctuation">[</span><span class="token function">NotifyPropertyChangedFor</span><span class="token punctuation">(</span><span class="token function">nameof</span><span class="token punctuation">(</span>HasPhoto<span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">]</span>
    <span class="token keyword">string</span><span class="token operator">?</span> lastPhotoPath<span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">string</span><span class="token operator">?</span> lastVideoPath<span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token punctuation">[</span><span class="token function">NotifyPropertyChangedFor</span><span class="token punctuation">(</span><span class="token function">nameof</span><span class="token punctuation">(</span>RecordButtonText<span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">]</span>
    <span class="token punctuation">[</span><span class="token function">NotifyPropertyChangedFor</span><span class="token punctuation">(</span><span class="token function">nameof</span><span class="token punctuation">(</span>RecordButtonColor<span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">]</span>
    <span class="token keyword">bool</span> isRecording<span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">bool</span> isTorchOn<span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">float</span> currentZoom <span class="token operator">=</span> <span class="token number">1.0f</span><span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">float</span> minimumZoom <span class="token operator">=</span> <span class="token number">1.0f</span><span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    <span class="token keyword">float</span> maximumZoom <span class="token operator">=</span> <span class="token number">4.0f</span><span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    CameraFlashMode selectedFlashMode <span class="token operator">=</span> CameraFlashMode<span class="token punctuation">.</span>Off<span class="token punctuation">;</span>

    <span class="token punctuation">[</span>ObservableProperty<span class="token punctuation">]</span>
    CameraInfo<span class="token operator">?</span> selectedCamera<span class="token punctuation">;</span>

    <span class="token keyword">public</span> IReadOnlyList<span class="token operator">&lt;</span>CameraFlashMode<span class="token operator">&gt;</span> FlashModes <span class="token punctuation">{</span> <span class="token keyword">get</span><span class="token punctuation">;</span> <span class="token punctuation">}</span> <span class="token operator">=</span> Enum<span class="token punctuation">.</span><span class="token generic-method function">GetValues<span class="token punctuation">&lt;</span>CameraFlashMode<span class="token punctuation">&gt;</span></span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token keyword">public</span> <span class="token keyword">bool</span> HasPhoto <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token operator">!</span><span class="token keyword">string</span><span class="token punctuation">.</span><span class="token function">IsNullOrWhiteSpace</span><span class="token punctuation">(</span>LastPhotoPath<span class="token punctuation">)</span><span class="token punctuation">;</span>

    <span class="token keyword">public</span> <span class="token keyword">string</span> RecordButtonText <span class="token operator">=</span><span class="token operator">&gt;</span> IsRecording <span class="token operator">?</span> <span class="token string">"Stop video"</span> <span class="token punctuation">:</span> <span class="token string">"Record video"</span><span class="token punctuation">;</span>

    <span class="token keyword">public</span> Color RecordButtonColor <span class="token operator">=</span><span class="token operator">&gt;</span> IsRecording <span class="token operator">?</span> Colors<span class="token punctuation">.</span>Firebrick <span class="token punctuation">:</span> Colors<span class="token punctuation">.</span>DarkGreen<span class="token punctuation">;</span>

    <span class="token keyword">public</span> <span class="token keyword">void</span> <span class="token function">UpdateCameraInfo</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">if</span> <span class="token punctuation">(</span>SelectedCamera <span class="token keyword">is</span> <span class="token keyword">null</span><span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            CameraName <span class="token operator">=</span> <span class="token string">"No camera selected"</span><span class="token punctuation">;</span>
            <span class="token keyword">return</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>

        CameraName <span class="token operator">=</span> $<span class="token string">"{SelectedCamera.Name} ({SelectedCamera.Position})"</span><span class="token punctuation">;</span>
        MinimumZoom <span class="token operator">=</span> Math<span class="token punctuation">.</span><span class="token function">Max</span><span class="token punctuation">(</span><span class="token number">1.0f</span><span class="token punctuation">,</span> SelectedCamera<span class="token punctuation">.</span>MinimumZoomFactor<span class="token punctuation">)</span><span class="token punctuation">;</span>
        MaximumZoom <span class="token operator">=</span> Math<span class="token punctuation">.</span><span class="token function">Max</span><span class="token punctuation">(</span>MinimumZoom<span class="token punctuation">,</span> SelectedCamera<span class="token punctuation">.</span>MaximumZoomFactor<span class="token punctuation">)</span><span class="token punctuation">;</span>
        CurrentZoom <span class="token operator">=</span> MinimumZoom<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">partial</span> <span class="token keyword">void</span> <span class="token function">OnSelectedCameraChanged</span><span class="token punctuation">(</span>CameraInfo<span class="token operator">?</span> <span class="token keyword">value</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token function">UpdateCameraInfo</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>In the previous code, I created some properties that can help us manage controls in the UI, for example:</p><ul><li><code>CameraName</code>: To indicate which camera is selected</li><li><code>LastPhotoPath</code> and <code>LastVideoPath</code>: To show the latest paths for photos and videos</li><li><code>IsRecording</code>: To maintain the recording state</li><li><code>CurrentZoom</code>, <code>MinimumZoom</code> and <code>MaximumZoom</code>: To control zoom values</li><li><code>OnSelectedCameraChanged(...)</code> and <code>UpdateCameraInfo()</code>: To update values when there is a camera change</li></ul><p>With the base viewmodel ready, it&rsquo;s time to create the graphical interface.</p><h2 id="creating-the-ui-for-the-application">Creating the UI for the Application</h2><p>It&rsquo;s time to create the graphical interface page for the application. We&rsquo;ll do this by creating a <code>ContentPage</code>, replacing the content with the following:</p><pre class=" language-xml"><code class="prism  language-xml"><span class="token prolog">&lt;?xml version="1.0" encoding="utf-8" ?&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ContentPage</span> <span class="token attr-name">...</span>
             <span class="token attr-name"><span class="token namespace">xmlns:</span>toolkit</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>http://schemas.microsoft.com/dotnet/2022/maui/toolkit<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>

    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span> <span class="token attr-name">RowDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>*,Auto<span class="token punctuation">"</span></span> <span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>16<span class="token punctuation">"</span></span> <span class="token attr-name">RowSpacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Border</span> <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> <span class="token attr-name">StrokeThickness</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span> <span class="token attr-name">BackgroundColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Black<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span><span class="token namespace">toolkit:</span>CameraView</span>
                    <span class="token attr-name"><span class="token namespace">x:</span>Name</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Camera<span class="token punctuation">"</span></span>
                    <span class="token attr-name">CameraFlashMode</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding SelectedFlashMode}<span class="token punctuation">"</span></span>
                    <span class="token attr-name">IsTorchOn</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding IsTorchOn}<span class="token punctuation">"</span></span>
                    <span class="token attr-name">SelectedCamera</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding SelectedCamera}<span class="token punctuation">"</span></span>
                    <span class="token attr-name">ZoomFactor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding CurrentZoom}<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Border</span>
                    <span class="token attr-name">Margin</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span>
                    <span class="token attr-name">Padding</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>10,6<span class="token punctuation">"</span></span>
                    <span class="token attr-name">BackgroundColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#99000000<span class="token punctuation">"</span></span>
                    <span class="token attr-name">StrokeThickness</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>0<span class="token punctuation">"</span></span>
                    <span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Start<span class="token punctuation">"</span></span>
                    <span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Start<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding CameraName}<span class="token punctuation">"</span></span> <span class="token attr-name">TextColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>White<span class="token punctuation">"</span></span> <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Border</span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Border</span><span class="token punctuation">&gt;</span></span>

        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ScrollView</span> <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> <span class="token attr-name">MaximumHeightRequest</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>360<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>VerticalStackLayout</span> <span class="token attr-name">Spacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>14<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>CameraView media demo<span class="token punctuation">"</span></span> <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>22<span class="token punctuation">"</span></span> <span class="token attr-name">FontAttributes</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Bold<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding StatusMessage}<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span> <span class="token attr-name">ColumnDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>*,*<span class="token punctuation">"</span></span> <span class="token attr-name">ColumnSpacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Button</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Take photo<span class="token punctuation">"</span></span> <span class="token attr-name">Clicked</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>OnTakePhotoClicked<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Button</span>
                        <span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span>
                        <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding RecordButtonText}<span class="token punctuation">"</span></span>
                        <span class="token attr-name">Clicked</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>OnRecordVideoClicked<span class="token punctuation">"</span></span>
                        <span class="token attr-name">BackgroundColor</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding RecordButtonColor}<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>

                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Grid</span> <span class="token attr-name">ColumnDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Auto,*<span class="token punctuation">"</span></span> <span class="token attr-name">ColumnSpacing</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span> <span class="token attr-name">RowDefinitions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Auto,Auto,Auto<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Zoom<span class="token punctuation">"</span></span> <span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Slider</span>
                        <span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span>
                        <span class="token attr-name">Minimum</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding MinimumZoom}<span class="token punctuation">"</span></span>
                        <span class="token attr-name">Maximum</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding MaximumZoom}<span class="token punctuation">"</span></span>
                        <span class="token attr-name">Value</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding CurrentZoom}<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Torch<span class="token punctuation">"</span></span> <span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Switch</span> <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> <span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span> <span class="token attr-name">IsToggled</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding IsTorchOn}<span class="token punctuation">"</span></span> <span class="token attr-name">HorizontalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Start<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Flash<span class="token punctuation">"</span></span> <span class="token attr-name">VerticalOptions</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Center<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Picker</span>
                        <span class="token attr-name">Grid.Row</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>2<span class="token punctuation">"</span></span>
                        <span class="token attr-name">Grid.Column</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>1<span class="token punctuation">"</span></span>
                        <span class="token attr-name">ItemsSource</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding FlashModes}<span class="token punctuation">"</span></span>
                        <span class="token attr-name">SelectedItem</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding SelectedFlashMode}<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>

                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Image</span>
                    <span class="token attr-name">Source</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding LastPhotoPath}<span class="token punctuation">"</span></span>                    
                    <span class="token attr-name">Aspect</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>AspectFill<span class="token punctuation">"</span></span>
                    <span class="token attr-name">IsVisible</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding HasPhoto}<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>

                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding LastPhotoPath}<span class="token punctuation">"</span></span> <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span> <span class="token attr-name">LineBreakMode</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>TailTruncation<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
                <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Label</span> <span class="token attr-name">Text</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>{Binding LastVideoPath}<span class="token punctuation">"</span></span> <span class="token attr-name">FontSize</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>12<span class="token punctuation">"</span></span> <span class="token attr-name">LineBreakMode</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>TailTruncation<span class="token punctuation">"</span></span> <span class="token punctuation">/&gt;</span></span>
            <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>VerticalStackLayout</span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ScrollView</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Grid</span><span class="token punctuation">&gt;</span></span>

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ContentPage</span><span class="token punctuation">&gt;</span></span>

</code></pre><p>In the previous code, we can highlight a few things:</p><ul><li>The namespace <code>xmlns:toolkit</code> is used so that the control can be used via <code>toolkit:CameraView</code>.</li><li>Properties such as <code>CameraFlashMode</code>, <code>IsTorchOn</code>, <code>SelectedCamera</code> and <code>ZoomFactor</code> are used, which will be connected to the viewmodel&rsquo;s properties.</li><li>We use events linked to the code behind <code>OnTakePhotoClicked</code> and <code>OnRecordVideoClicked</code>, because we work with capture APIs and streams.</li></ul><h2 id="connecting-the-content-page-with-the-viewmodel">Connecting the Content Page with the ViewModel</h2><p>Once we have created the XAML code for the graphical interface, it&rsquo;s time to connect it with the view model, as well as create the missing event handlers. To do this, replace the code behind of the XAML page with the following content:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">public</span> <span class="token keyword">partial</span> <span class="token keyword">class</span> <span class="token class-name">MainPage</span> <span class="token punctuation">:</span> ContentPage
<span class="token punctuation">{</span>
    <span class="token keyword">readonly</span> MainViewModel viewModel <span class="token operator">=</span> <span class="token keyword">new</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    Stream recordingStream <span class="token operator">=</span> Stream<span class="token punctuation">.</span>Null<span class="token punctuation">;</span>

    <span class="token keyword">public</span> <span class="token function">MainPage</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token function">InitializeComponent</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        BindingContext <span class="token operator">=</span> viewModel<span class="token punctuation">;</span>

        Camera<span class="token punctuation">.</span>MediaCaptureFailed <span class="token operator">+</span><span class="token operator">=</span> OnMediaCaptureFailed<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">protected</span> <span class="token keyword">override</span> <span class="token keyword">async</span> <span class="token keyword">void</span> <span class="token function">OnAppearing</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">base</span><span class="token punctuation">.</span><span class="token function">OnAppearing</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">await</span> <span class="token function">RequestCameraPermissions</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">await</span> <span class="token function">LoadCameras</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">protected</span> <span class="token keyword">override</span> <span class="token keyword">void</span> <span class="token function">OnDisappearing</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">base</span><span class="token punctuation">.</span><span class="token function">OnDisappearing</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        Camera<span class="token punctuation">.</span>MediaCaptureFailed <span class="token operator">-</span><span class="token operator">=</span> OnMediaCaptureFailed<span class="token punctuation">;</span>
        recordingStream<span class="token punctuation">.</span><span class="token function">Dispose</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">private</span> <span class="token keyword">async</span> Task <span class="token function">RequestCameraPermissions</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">var</span> cameraStatus <span class="token operator">=</span> <span class="token keyword">await</span> Permissions<span class="token punctuation">.</span><span class="token generic-method function">RequestAsync<span class="token punctuation">&lt;</span>Permissions<span class="token punctuation">.</span>Camera<span class="token punctuation">&gt;</span></span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">if</span> <span class="token punctuation">(</span>cameraStatus <span class="token keyword">is</span> not PermissionStatus<span class="token punctuation">.</span>Granted<span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> <span class="token string">"You need to grant camera permission."</span><span class="token punctuation">;</span>
            <span class="token keyword">return</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>

        <span class="token keyword">try</span>
        <span class="token punctuation">{</span>
            <span class="token keyword">var</span> microphoneStatus <span class="token operator">=</span> <span class="token keyword">await</span> Permissions<span class="token punctuation">.</span><span class="token generic-method function">RequestAsync<span class="token punctuation">&lt;</span>Permissions<span class="token punctuation">.</span>Microphone<span class="token punctuation">&gt;</span></span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
            <span class="token keyword">if</span> <span class="token punctuation">(</span>microphoneStatus <span class="token keyword">is</span> not PermissionStatus<span class="token punctuation">.</span>Granted<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> <span class="token string">"You need to grant microphone permission to record video."</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
        <span class="token keyword">catch</span> <span class="token punctuation">(</span><span class="token class-name">FileNotFoundException</span><span class="token punctuation">)</span> <span class="token function">when</span> <span class="token punctuation">(</span>OperatingSystem<span class="token punctuation">.</span><span class="token function">IsWindows</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> <span class="token string">"On unpackaged Windows apps, microphone permission may require a packaged app."</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">private</span> <span class="token keyword">async</span> Task <span class="token function">LoadCameras</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">try</span>
        <span class="token punctuation">{</span>
            <span class="token keyword">var</span> cameras <span class="token operator">=</span> <span class="token keyword">await</span> Camera<span class="token punctuation">.</span><span class="token function">GetAvailableCameras</span><span class="token punctuation">(</span>CancellationToken<span class="token punctuation">.</span>None<span class="token punctuation">)</span><span class="token punctuation">;</span>
            viewModel<span class="token punctuation">.</span>SelectedCamera <span class="token operator">=</span> cameras<span class="token punctuation">.</span><span class="token function">FirstOrDefault</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
            viewModel<span class="token punctuation">.</span><span class="token function">UpdateCameraInfo</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
        <span class="token keyword">catch</span> <span class="token punctuation">(</span><span class="token class-name">Exception</span> ex<span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> $<span class="token string">"No cameras were found: {ex.Message}"</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">private</span> <span class="token keyword">void</span> <span class="token function">OnMediaCaptureFailed</span><span class="token punctuation">(</span><span class="token keyword">object</span><span class="token operator">?</span> sender<span class="token punctuation">,</span> MediaCaptureFailedEventArgs e<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> $<span class="token string">"Capture error: {e.FailureReason}"</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>In the previous code you can notice some interesting things:</p><ol><li>As indicated by the <a target="_blank" href="https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/camera-view?tabs=android#request-permissions">CameraView documentation</a>, permissions must be requested manually from the user to use the camera and microphone, in addition to the per-platform configuration. We do this when the page starts through the method <code>RequestCameraPermissions()</code>.</li><li>It is possible to obtain the list of available cameras through <code>Camera.GetAvailableCameras</code>.</li><li>In case an error occurs, we use the event <code>OnMediaCaptureFailed</code> to handle it.</li></ol><p>This is just the beginning. Now, let&rsquo;s look at how to take a photo and a video.</p><h3 id="taking-a-photo-with-the-cameraview-control">Taking a Photo with the CameraView Control</h3><p>In the code-behind, we need a method that allows taking a photograph when pressing a button. To achieve this, we will do it through the following code:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">private</span> <span class="token keyword">async</span> <span class="token keyword">void</span> <span class="token function">OnTakePhotoClicked</span><span class="token punctuation">(</span><span class="token keyword">object</span><span class="token operator">?</span> sender<span class="token punctuation">,</span> EventArgs e<span class="token punctuation">)</span>
<span class="token punctuation">{</span>
    <span class="token keyword">try</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">await</span> <span class="token keyword">using</span> <span class="token keyword">var</span> photoStream <span class="token operator">=</span> <span class="token keyword">await</span> Camera<span class="token punctuation">.</span><span class="token function">CaptureImage</span><span class="token punctuation">(</span>CancellationToken<span class="token punctuation">.</span>None<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">var</span> photoPath <span class="token operator">=</span> Path<span class="token punctuation">.</span><span class="token function">Combine</span><span class="token punctuation">(</span>FileSystem<span class="token punctuation">.</span>AppDataDirectory<span class="token punctuation">,</span> $<span class="token string">"photo-{DateTime.Now:yyyyMMdd-HHmmss}.jpg"</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

        <span class="token keyword">await</span> <span class="token keyword">using</span> <span class="token keyword">var</span> fileStream <span class="token operator">=</span> File<span class="token punctuation">.</span><span class="token function">Create</span><span class="token punctuation">(</span>photoPath<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">await</span> photoStream<span class="token punctuation">.</span><span class="token function">CopyToAsync</span><span class="token punctuation">(</span>fileStream<span class="token punctuation">)</span><span class="token punctuation">;</span>

        viewModel<span class="token punctuation">.</span>LastPhotoPath <span class="token operator">=</span> photoPath<span class="token punctuation">;</span>
        viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> <span class="token string">"Photo saved successfully."</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    <span class="token keyword">catch</span> <span class="token punctuation">(</span><span class="token class-name">Exception</span> ex<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> $<span class="token string">"Unable to take photo: {ex.Message}"</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>In the previous method, we use <code>Camera.CaptureImage</code> to take a photograph, which returns a stream that we store locally. Next, we create a path using a safe location through <code>FileSystemAppDataDirectory</code>, which we use to save the stream with <code>File.Create</code> and <code>CopyToAsync</code>. Finally, we update the preview image and display the created path thanks to <code>LastPhotoPath</code> and <code>StatusMessage</code>.</p><h3 id="recording-a-video-with-cameraview">Recording a Video with CameraView</h3><p>To implement the recording process, we are going to create three methods. One controls the logic to know whether it is recording, starting or stopping the recording. The other two will allow starting and stopping the recording. The code looks as follows:</p><pre class=" language-csharp"><code class="prism  language-csharp"><span class="token keyword">private</span> <span class="token keyword">async</span> <span class="token keyword">void</span> <span class="token function">OnRecordVideoClicked</span><span class="token punctuation">(</span><span class="token keyword">object</span><span class="token operator">?</span> sender<span class="token punctuation">,</span> EventArgs e<span class="token punctuation">)</span>
<span class="token punctuation">{</span>
    <span class="token keyword">if</span> <span class="token punctuation">(</span>viewModel<span class="token punctuation">.</span>IsRecording<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">await</span> <span class="token function">StopRecording</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">return</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>

    <span class="token keyword">await</span> <span class="token function">StartRecording</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>

<span class="token keyword">private</span> <span class="token keyword">async</span> Task <span class="token function">StartRecording</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
<span class="token punctuation">{</span>
    <span class="token keyword">try</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">var</span> videoPath <span class="token operator">=</span> Path<span class="token punctuation">.</span><span class="token function">Combine</span><span class="token punctuation">(</span>FileSystem<span class="token punctuation">.</span>AppDataDirectory<span class="token punctuation">,</span> $<span class="token string">"video-{DateTime.Now:yyyyMMdd-HHmmss}.mp4"</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        recordingStream <span class="token operator">=</span> File<span class="token punctuation">.</span><span class="token function">Create</span><span class="token punctuation">(</span>videoPath<span class="token punctuation">)</span><span class="token punctuation">;</span>

        <span class="token keyword">await</span> Camera<span class="token punctuation">.</span><span class="token function">StartVideoRecording</span><span class="token punctuation">(</span>recordingStream<span class="token punctuation">,</span> CancellationToken<span class="token punctuation">.</span>None<span class="token punctuation">)</span><span class="token punctuation">;</span>

        viewModel<span class="token punctuation">.</span>LastVideoPath <span class="token operator">=</span> videoPath<span class="token punctuation">;</span>
        viewModel<span class="token punctuation">.</span>IsRecording <span class="token operator">=</span> <span class="token keyword">true</span><span class="token punctuation">;</span>
        viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> <span class="token string">"Recording video..."</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    <span class="token keyword">catch</span> <span class="token punctuation">(</span><span class="token class-name">Exception</span> ex<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">await</span> recordingStream<span class="token punctuation">.</span><span class="token function">DisposeAsync</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        recordingStream <span class="token operator">=</span> Stream<span class="token punctuation">.</span>Null<span class="token punctuation">;</span>
        viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> $<span class="token string">"Unable to start video recording: {ex.Message}"</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>

<span class="token keyword">private</span> <span class="token keyword">async</span> Task <span class="token function">StopRecording</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
<span class="token punctuation">{</span>
    <span class="token keyword">try</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">await</span> Camera<span class="token punctuation">.</span><span class="token function">StopVideoRecording</span><span class="token punctuation">(</span>CancellationToken<span class="token punctuation">.</span>None<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">await</span> recordingStream<span class="token punctuation">.</span><span class="token function">DisposeAsync</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

        recordingStream <span class="token operator">=</span> Stream<span class="token punctuation">.</span>Null<span class="token punctuation">;</span>
        viewModel<span class="token punctuation">.</span>IsRecording <span class="token operator">=</span> <span class="token keyword">false</span><span class="token punctuation">;</span>
        viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> <span class="token string">"Video saved successfully."</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    <span class="token keyword">catch</span> <span class="token punctuation">(</span><span class="token class-name">Exception</span> ex<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        viewModel<span class="token punctuation">.</span>StatusMessage <span class="token operator">=</span> $<span class="token string">"Unable to stop video recording: {ex.Message}"</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><p>In the previous code, the methods do the following:</p><ul><li><code>OnRecordVideoClicked(...)</code>: Through the property <code>IsRecording</code>, it determines which method should be invoked when the user presses the button in the UI.</li><li><code>StartVideoRecording()</code>: It obtains a path using the current time to name the file and creates a stream at that location. Then, it uses the method <code>Camera.StartVideoRecording</code> to start the recording. It is important to keep the stream open while the recording is active.</li><li><code>StopRecording</code>: This ends the capture using <code>Camera.StopVideoRecording</code>. After stopping the recording, the stream is closed to release the file.</li></ul><h3 id="testing-the-application">Testing the Application</h3><p>After adding all the previous code to the application, it&rsquo;s time to test the functionality. When running the application, we get the following result:</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/camera-view-live-preview.gif?sfvrsn=a9f799b0_2" alt="CameraView showing a live camera preview on screen" /></p><p>You can see that all features work correctly, and that it&rsquo;s possible to take photos and videos within the same application.</p><h2 id="conclusion">Conclusion</h2><p>In this article you have learned about the CameraView control from the Community Toolkit, and how to integrate it into your own .NET MAUI applications. We went step by step to initialize it, configure permissions, create the view model and the user interface. With what you&rsquo;ve learned, you can now create your own experiences using the control in more complex scenarios.</p><aside><hr data-sf-ec-immutable="" /><div class="row"><div class="col-4 u-normal-full u-small-mb0"><h4 class="u-fs20 u-fw5 u-lh125 u-mb0">Share Functionality in Your .NET MAUI Apps</h4></div><div class="col-8"><p class="u-fs16 u-mb0"><a target="_blank" href="https://www.telerik.com https://www.telerik.com/blogs/share-functionality-net-maui-apps">Learn how to add share functionality to your .NET MAUI app</a> whether in iOS, Android or Windows.</p></div></div></aside>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:119310e1-d053-4714-b531-071f7c2c7c71</id>
    <title type="text">DataGrids Are For... Medical Professionals</title>
    <summary type="text">DataGrids are excellent for providing both expansive data and filtered specifics, all in a usable and familiar setup. Just what the medical industry demands.</summary>
    <published>2026-08-31T16:23:26Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Peter Vogel </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/datagrids-are-for-medical-professionals"/>
    <content type="text"><![CDATA[<p><span class="featured">DataGrids are excellent for providing both expansive data and filtered specifics, all in a usable and familiar setup. Just what the medical industry demands.</span></p><p>If you&rsquo;re part of creating applications in the medical field, many (or most) of your users are going to be medical professionals: trained individuals who are licensed/certified to provide preventative, curative or rehabilitative healthcare to patients. This includes doctors, nurses, paramedics, dentists, their support staff (e.g., pharmacists) and other health professionals (e.g., physiotherapists).</p><p>Really, the group of users includes anyone who is certified to provide care (i.e., diagnosing, treating or managing) for either physical or mental illnesses. As broad as that group is, those professionals have a set of shared needs that your application will need to support.</p><p>For example, all medical professionals work in evidence-based environments where it&rsquo;s difficult to have &ldquo;too much&rdquo; information &hellip; but where it&rsquo;s essential to find the relevant details quickly. All these professionals (and the applications they use) must also adhere to various regulatory standards, including confidentiality and privacy requirements.</p><p>Many medical professionals are working in environments where time is critical and, as result, are environments best described as &ldquo;high stress&rdquo;: Too much to do, not enough time to do all of it, and frequent interruptions by new, high priority tasks. Speed and &ldquo;ease of use&rdquo; are essential here, but &ldquo;ease of use&rdquo; must also include flexibility to meet changing needs.</p><p>Finally, as that list of different people suggests, medical professionals work in highly collaborative environments, where they are constantly calling on other professionals in different specialties or departments to support their patients. The ability to share data is also critical.</p><p>You can support all those needs with the DataGrid component in your favorite Progress Telerik or Kendo UI library.</p><h2 id="reporting-the-data">Reporting the Data</h2><p>A medical professional will often need to handle large volumes of complex patient data, sometimes for multiple patients (doctor&rsquo;s offices, hospital wards) and sometimes for a single patient (reviewing patient history). Because of the time-critical nature of the field, medical professionals need to get to the data quickly either in real time or near real time.</p><p>You can leverage the DataGrid <code>OnRead</code> event and support for Observables to load initial data quickly and to respond to changes in the data as those changes happen.</p><p>Being able to find &ldquo;what matters&rdquo; in large amounts of is also going to be important to your users. Out of the box, the DataGrid allows users to reorder and pin columns, filter data and group data to pull together what matters to them right now.</p><p>See, for example, the <a target="_blank" href="https://www.telerik.com/kendo-react-ui/components/sample-applications/healthcare-management-system">React Healthcare Management sample app</a>, with a Progress <a target="_blank" href="https://www.telerik.com/kendo-react-ui/components/grid">KendoReact DataGrid</a> displaying a filterable <a target="_blank" href="https://telerik.github.io/kendo-react/react-health-app/#/patients">list of patients</a>.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/react-healthcare-app-grid.png?sfvrsn=a5710d1d_2" alt="Patient list filtered by blood type A-" /></p><p>However, users will also want to be able quickly switch between DataGrid configurations they use frequently (grouping, column order, filters) rather than have to recreate those configurations from scratch: switching from viewing patient data grouped and sorted by patient or room to seeing the data grouped and organized by time (either historical dates or future activities). You can implement &ldquo;one-click&rdquo; switching between those settings by using DataGrid templates, or you can give users the ability to save DataGrid configurations that are useful to them.</p><p>Medical professionals are also going to value having key data highlighted as soon as that data is displayed. But you can also use the DataGrid conditional formatting (at the row or cell level) to highlight critical data. In addition, the DataGrid &ldquo;scroll to item&rdquo; option lets you programmatically put critical data on the screen for the user to review.</p><p>Much medical data is hierarchical in nature (for example, patients in a ward, patients attending a clinic in any time period, a single patient&rsquo;s medical history). Your users can take advantage of the DataGrid&rsquo;s ability to define new groups as needed by dragging and dropping columns.</p><p>And you can also leverage the DataGrid&rsquo;s ability to create nested hierarchies to allow your users to view the groups that matter to them as soon as the data is displayed. The DataGrid&rsquo;s hierarchical display then allows your users to expand those high-level groups to, for example, drill down to individual patients in a ward or to single events in a patient&rsquo;s medical history.</p><h2 id="regulatory-issues-sharing-data-and-privacy">Regulatory Issues, Sharing Data and Privacy</h2><p>Out of the box, the DataGrid (in addition to supporting assistive technologies like Jaws and ZoomText) is designed to be compliant with both the Web Content Accessibility Guidelines and the Americans with Disabilities Act accessibility guidelines. But you can also take advantage of the DataGrid&rsquo;s ability to dynamically hide columns and mask sensitive data to let you control what data is seen by users (based, for example, on the user&rsquo;s roles as retrieved from whatever authorization system their organization uses).</p><p>The DataGrid also integrates cleanly with server-side data processing, enabling you to decide what data you want to keep on the server and what you&rsquo;re willing to send to the client.</p><p>Because medical professionals are working collaboratively with other professionals to deliver patient care, exporting data is often essential. Out of the box, users can easily support export DataGrid data in either CSV or PDF format. Users can choose to export a single page from the DataGrid, export a filtered subset of the data or export all the data in the grid. The DataGrid also supports integrating your own custom code into the export process so that you can control what data is shared, helping to protect sensitive data from leaving the security parameters of your application.</p><p>Because of the nature of the data in medical applications, you&rsquo;ll also want to take advantage of DataGrid protection against Cross-Site Scripting attacks by using the <code>HtmlEncode</code> property to reduce the attack surface of your grid. When interacting with SQL data sources, using the DataGrid&rsquo;s <code>Parameter</code> elements can help protect your application&rsquo;s data from SQL injection attacks.</p><h2 id="updating-the-data">Updating the Data</h2><p>In the evidence-based environment that medical professionals work in, reporting data is important. Equally important is capturing and recording data quickly without losing accuracy.</p><p>Users can rapidly update data within the grid without, for example, having to open a separate form (though you can enable popup forms for individual rows or even navigate to another form in order provide a UI that supports more intensive data entry). The DataGrid supports row-by-row editing to enable updating a single entry in the grid (including locking out cells in a row to prevent inadvertent changes). The DataGrid also support bulk editing that allows the user to update multiple rows before saving their changes with a single button click.</p><p>The shortcuts and keyboard navigation built into the DataGrid allow experienced users to move quickly through the grid and update data without having to reach for the mouse. On top of that, the new &ldquo;smart&rdquo; AI features in the DataGrid let users enter natural language queries to find or highlight rows that meet the criteria that users provide. The DataGrid has various AI assistants (Chat, Column and Toolbar) to go further in letting users describe what they want the grid to do and have the grid respond without the user having to get involved in the detailed mouse movements.</p><p>In a medical environment verifying that only valid entries are made in patient data (including, for example, medication dosages) is essential. The DataGrid has built-in support for validating data entry, including integrating your own custom validation to support maintaining data integrity.</p><p>To put it another way: With the DataGrid, you can create applications that integrate with any clinical workflow and provide medical professionals with the tools they need to better meet the needs of their job.</p><hr /><p>You saw the KendoReact Grid above. Check out the <a target="_blank" href="https://www.telerik.com/devcraft">Telerik DevCraft</a> suite of products to learn about the DataGrid in your favorite .NET or JavaScript flavor, like the <a target="_blank" href="https://demos.telerik.com/blazor-ui/grid/overview">Blazor Grid</a> or the <a target="_blank" href="https://www.telerik.com/kendo-angular-ui/components/grid">Angular Grid</a>.</p><p>Get your hands on the whole suite free for 30 days:</p><p><a target="_blank" href="https://www.telerik.com/try/devcraft-ultimate" class="Btn">Try Telerik DevCraft</a></p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:e60e98a0-0744-48f5-8739-b3a848fd124b</id>
    <title type="text">DataGrids Are For... Financial Analysts</title>
    <summary type="text">As a financial analyst, you need the ability to explore your organization’s data—the DataGrid from Progress Telerik and Kendo UI gives you that ability.</summary>
    <published>2026-08-24T15:39:48Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Peter Vogel </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/datagrids-are-for-financial-analysts"/>
    <content type="text"><![CDATA[<p><span class="featured">As a financial analyst, you need the ability to explore your organization&rsquo;s data&mdash;the DataGrid from Progress Telerik and Kendo UI gives you that ability.</span></p><p>If you are a financial analyst, your responsibility is to &ldquo;understand the numbers&rdquo;&mdash;not just in terms of what &ldquo;the numbers&rdquo; tell you about the past but what those numbers can tell you about the future. That understanding drives your ability both to make informed decisions yourself and to support others in making informed decisions.</p><p>As a financial analyst, you work with a variety of data from multiple sources, some of them external (market information, financial forecasts) and many of them internal (budgets, financial statements and other organization data). Essentially, you turn data into information so that information can drive decisions by becoming business intelligence.</p><p>Each of your organization&rsquo;s applications manages part of your organization&rsquo;s data and, as a result, can provide data that you need for that process. A data exploration tool, embedded in an application&rsquo;s user interface or as a standalone tool, can automatically bring together the information for any area of business. That commitment to a set of data can eliminate the time needed to extract, transform and load the data that a more general-purpose financial analysis tool (e.g., <a target="_blank" href="https://www.cubesoftware.com/">Cube</a>) requires. You just open the application and there&rsquo;s your data, ready for you to work with.</p><p>That&rsquo;s only useful to you, however, if the application&rsquo;s user interface goes beyond simple transaction management&mdash;if the application includes a tool that enables you to work with and explore the data embedded in the application. You need a tool that, among other things, can:</p><ul><li>Work with data from a wide variety of sources</li><li>Handle large amounts of data but remain responsive (you don&rsquo;t want to have to wait on your data being displayed so that you can work on it)</li><li>Format the data to highlight key issues</li><li>Give you the ability to change the data display as you&rsquo;re working with the data to support whatever analysis you need</li><li>Integrate support for Large Language Models to let you leverage AI analytics</li><li>Export the data so that you can use it in other tools</li><li>Support looking at the &ldquo;big picture&rdquo; while also letting you drill down into the essential detail</li></ul><p>And, critically, you need a tool that works &ldquo;the way you expect&rdquo; so you don&rsquo;t have to figure out how to use the tool and can concentrate on the data the grid delivers.</p><p>The Progress Telerik and Kendo UI DataGrid does all those things. (<a href="https://demos.telerik.com/blazor-ui/grid/overview" target="_blank">See the Blazor DataGrid Demo</a> for example.) Some of those features are available in any implementation of the grid (&ldquo;works the way you expect,&rdquo; for instance). Some features will require you to specify to the application&rsquo;s developers how you want the grid to work.</p><p>If, for example, you want the DataGrid to work with a data source that includes lot of rows, you&rsquo;ll want developers to enable the DataGrid&rsquo;s &ldquo;load on demand&rdquo; feature. Similarly, if you&rsquo;re going to be working with data that others will be updating, you&rsquo;ll want your grid to be implemented using observables that let you see those changes as early as possible.</p><h2 id="the-initial-display">The Initial Display</h2><p>Typically, for example, you&rsquo;ll want to have the DataGrid configured so that, as you open the application, the grid retrieves the data that you normally expect to work with. But if you&rsquo;ll need to look at several different data sources as part of analyzing the data, then you&rsquo;ll also want to have the DataGrid configured to allow you to dynamically switch to that other data.</p><p>For that initial display, you can also have your grid act as a dashboard that highlights cells (or whole rows) that signal key issues. If there are specific values that you want highlighted in the grid, you can have those values built in. But, if you want, you can also have the ability to change the values/thresholds used to highlight the data you&rsquo;re interested in.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/grid-persona-financial-analyst-01---formatting.png?sfvrsn=33194d2f_2" alt="A Telerik DataGrid with rows and individual cells formatted in a variety of colors. Some columns are highlighted using a bar chart format by levering the cell’s background fill color; Other columns use icons to flag key numbers or changes." /></p><p>You can, of course, sort the grid&rsquo;s rows into the order you need. But you can also, at any time, reorder the grid&rsquo;s columns (or suppress columns) to pull together the data you&rsquo;re interested right now.</p><p>And, also by default, you can filter the grid to show just the rows you need for a particular analysis. You can filter by arbitrary values (e.g., &ldquo;variances greater than 5%&rdquo;) or have a checkbox option for specific columns that makes it easier to select the rows you want. The DataGrid&rsquo;s toolbar also includes a search textbox that you can use to find specific rows.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/grid-persona-financial-analyst-02---filter-sort.png?sfvrsn=debc87a1_2" alt="A Telerik DataGrid showing the sort options for a column (ascending and descending) plus the checkbox option for filtering data by value" /></p><h2 id="supporting-multiple-configurations">Supporting Multiple Configurations</h2><p>That&rsquo;s already multiple options and, as a result, a lot of opportunities for you to dynamically reconfigure the DataGrid as you&rsquo;re working with it. Fortunately, you can also have the DataGrid save and restore your configuration settings so that you can quickly switch between different grid configurations as you need them.</p><h2 id="ai-support">AI Support</h2><p>In the modern world, you&rsquo;ll also want to decide how much of the grid&rsquo;s AI support you&rsquo;ll want to have enabled. The DataGrid gives you multiple ways to access AI processors:</p><ul><li>The AI Toolbar for Data Operations lets you use plain language commands to explore your data through filtering, grouping and sorting</li><li>The AI Toolbar for Highlighting lets you flag rows that meet complicated conditions</li><li>The AI Assistant adds a column to your table with a button that opens an AI prompt window to let you ask any question that makes sense</li></ul><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/grid-persona-financial-analyst-03---artificial-intelligence.gif?sfvrsn=6086b35_2" alt="An animated GIF of the Telerik DataGrid showing a user opening the grid’s AI Assistant from. The user then selects a “Sort by Salary” quick action to resort the grid" /></p><h2 id="grouping-and-aggregating-data">Grouping and Aggregating Data</h2><p>The DataGrid also lets you organize rows into meaningful groups. You can, as you&rsquo;re viewing the data, select the rows that you want to group or drag/drop columns or rows to create the groups you need. (See <a href="https://www.telerik.com/kendo-react-ui/components/grid/grouping" target="_blank">Grouping options for KendoReact Grid</a> as an example.)</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/grid-persona-financial-analyst-04---grouping.png?sfvrsn=416bbcd3_2" alt="An animated GIF of the Telerik DataGrid showing how columns can be dynamically dragged to form groups based on the data in columns" /></p><p>Once you create groups, you can include displays of aggregate values for those groups. But you don&rsquo;t have to create groups to get aggregate values. You can, as you&rsquo;re working with the grid, select the rows and columns you want to be included in your aggregated values.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/grid-persona-financial-analyst-05---grouping-aggregrates.gif?sfvrsn=c22705fb_2" alt="An animated GIF of the Telerik DataGrid showing the user selecting rows and a set of aggregate values at the bottom of the grid" /></p><p>While the DataGrid supports the typical aggregate functions &ldquo;out of the box&rdquo; (e.g., count, sum, average, etc.), you can have more sophisticated aggregates integrated into your grids.</p><h2 id="drilling-down">Drilling Down</h2><p>You can also have the DataGrid configured as a hierarchy of high-level sections that you can drill down into to reveal nested, detailed data. You can have your data nested as many levels deep as you need, and each level can have its own, distinct set of columns and aggregates. Effectively, you can expand your high-level rows into a different grid of detail data that reflects your needs at each level.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/grid-persona-financial-analyst-06---hierarchy-aggregate.png?sfvrsn=ebd98085_2" alt="The Telerik DataGrid organized as a hierarchy. As the top level of the hierarchy is expanded, it opens a new grid with its own aggregate values" /></p><h2 id="exporting-data">Exporting Data</h2><p>The DataGrid also supports exporting data in a variety of formats so you can integrate other tools into your analysis (or you can just copy grid data so you can paste into some other tool).</p><p>You&rsquo;re not limited to copying or exporting all the data in the grid. While you&rsquo;re working with the grid, you can select the rows and columns you want you want to export into another tool (or just share with others&mdash;the grid supports multiple export formats, including PDF). If your application is using the Telerik Chart control you can export your data straight into the chart for visualization.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/grid-persona-financial-analyst-07---export.png?sfvrsn=bb05b579_2" alt="The Telerik DataGrid with two separate sets of rows selected and the export menu opened showing the Copy/Export options: (Copy, Copy with Headers, Export, Export with Headers, and Export to Chart)" /></p><p>And, if you are using the DataGrid to facilitate selecting the data to export into some other tool, the grid supports a &ldquo;high density&rdquo; mode that packs more data on the screen. (See the Kendo UI for <a href="https://www.telerik.com/kendo-angular-ui/components/grid/grouping/modes" target="_blank">Angular Grid Grouping Display Modes</a> page for example.)</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/grid-persona-financial-analyst-08---high-density.gif?sfvrsn=496c1720_2" alt="An animated GIF of the Telerik DataGrid control showing the grid shifting from a more readable view to a view with narrower columns and shorter rows to fit more data into less space" /></p><p>As an analyst, you can&rsquo;t really have too much data&mdash;provided, of course, your tools let you review and explore that data effectively. The Telerik DataGrid gives you a customizable window into the data for any application, turning the application itself into a tool for analyzing its own data. That enables you to create the business intelligence that drives better decisions, which is, after all, the purpose of being a financial analyst.</p><hr /><p>Check out the <a target="_blank" href="https://www.telerik.com/devcraft">Telerik DevCraft</a> suite of products to learn about the DataGrid in your favorite .NET or JavaScript flavor. And you can try out the whole suite free for 30 days.</p><p><a href="https://www.telerik.com/try/devcraft-ultimate" target="_blank" class="Btn">Try Telerik DevCraft</a></p>]]></content>
  </entry>
  <entry>
    <id>urn:uuid:11e0f437-8d92-4dc9-a2b6-a4030526b9ad</id>
    <title type="text">Skeleton in .NET MAUI: What It Is and How to Use It</title>
    <summary type="text">A skeleton allows us to indicate to users that an app or page is loading. This improves the user experience, providing feedback that the app isn’t broken.</summary>
    <published>2026-08-24T15:23:04Z</published>
    <updated>2026-11-16T17:11:37Z</updated>
    <author>
      <name>Leomaris Reyes </name>
    </author>
    <link rel="alternate" href="https://www.telerik.com/blogs/skeleton-net-maui-what-and-how-to-use-it"/>
    <content type="text"><![CDATA[<p><span class="featured">A skeleton allows us to indicate to users that an app or page is loading. This improves the user experience, providing feedback that the app isn&rsquo;t broken.</span></p><p>Let&rsquo;s face it: as users, we tend to be impatient when an application doesn&rsquo;t respond quickly. It&rsquo;s very easy to assume that the app has frozen or isn&rsquo;t working when it doesn&rsquo;t give us any kind of feedback.</p><p>Imagine you have an application with a menu that displays a list connected to a backend. If the backend takes time to respond and we don&rsquo;t indicate to the user that data is loading, they will most likely think: &ldquo;This app doesn&rsquo;t work.&rdquo;</p><p>As developers, it&rsquo;s important to prevent this from happening. There are different ways to visually communicate that data is loading, and one of my favorites is using skeletons. These allow us to gently indicate to the user that the app is performing an action, even if the content isn&rsquo;t ready yet.</p><p>In this article, we&rsquo;ll learn what a Skeleton is, in which scenarios it is most useful, and how to implement the Skeleton component designed by Progress Telerik UI for .NET MAUI.</p><h2 id="what-is-a-skeleton">What Is a Skeleton?</h2><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/00_skeleton_sample.png?sfvrsn=b89cf7f6_2" alt="Skeleton sample" /><br /><span style="font-size:11px;">Image generated using AI for illustrative purposes</span></p><p>A skeleton is a visual element used to indicate that content is loading. Basically, it appears on the screen as blocks (usually gray) placed in the same positions where the actual elements will be displayed once the data is available and the effect disappears.</p><p>Its purpose is to give users context while the information is loading by showing the structure that the content will have. It also typically includes a subtle animation that communicates the app is still working, even if all that&rsquo;s visible are gray blocks or rectangles.</p><p>This way, instead of showing empty spaces, a traditional loader or, even worse, nothing at all, a skeleton keeps the interface clear and lets the user know that the application is working fine.</p><h2 id="✅-when-should-you-use-skeletons">✅ When Should You Use Skeletons?</h2><p>It&rsquo;s important to see skeletons not just as a visual element to &ldquo;entertain&rdquo; users, but as a tool that allows your app to handle loading states in a smoother and more intentional way.</p><p>Let&rsquo;s look at some scenarios where skeletons are especially useful:</p><h3 id="when-waiting-for-api-responses">When Waiting for API Responses</h3><p>No matter how optimized your app is, it still depends on backend response times. Skeletons help bridge that gap by showing structure while data is loading. Ideally, you should display the skeleton only while the request is in progress and replace it immediately once the data is available.</p><h3 id="screens-with-heavy-images">Screens with Heavy Images</h3><p>When loading images that may take time, skeletons are extremely useful to indicate that content is coming, instead of leaving empty or broken-looking spaces.</p><h2 id="❌-when-are-skeletons-not-recommended">❌ When Are Skeletons NOT Recommended?</h2><h3 id="when-data-is-not-actually-loading">When Data Is Not Actually Loading</h3><p>Avoid using skeletons just for visual purposes. If there&rsquo;s no real loading happening, then you don&rsquo;t need them.</p><h3 id="for-instant-loads">For Instant Loads</h3><p>If the content appears immediately, adding a skeleton only adds unnecessary complexity and can even hurt the experience.</p><h3 id="very-simple-screens">Very Simple Screens</h3><p>On screens with minimal content, a skeleton might be overkill. A simple layout or even a simple loading indicator could be enough.</p><h2 id="meet-the-telerik-skeleton-">Meet the Telerik Skeleton </h2><p>Did you know that Progress Telerik provides a <strong><a href="https://www.telerik.com/maui-ui/skeleton">Skeleton component for .NET MAUI</a></strong>? Oh yeahh! </p><p>Now that you&rsquo;ve seen how powerful using one can be, let&rsquo;s quickly go through how to implement it and highlight some of its most important benefits.</p><p>Before we dive in, let&rsquo;s make sure your environment is ready. Just keep these two key points in mind:</p><ul><li><strong>Create a Telerik account</strong>: If you don&rsquo;t have a <a href="https://www.telerik.com/account/">Telerik account</a> yet, you can create one for free. You&rsquo;ll get access to a trial license that allows you to explore not only the Skeleton component, but the full set of UI controls available for .NET MAUI.</li><li><strong>Install Telerik UI for .NET MAUI</strong>: This is a one-time setup, so you won&rsquo;t need to repeat it for each component. If you haven&rsquo;t installed it yet, I&rsquo;ve included an article that walks you through the process step by step for both <a href="https://www.telerik.com/maui-ui/documentation/get-started/first-steps-vs">Visual Studio</a> and <a href="https://www.telerik.com/maui-ui/documentation/get-started/first-steps-vs-code">Visual Studio Code</a>.</li></ul><h3 id="adding-the-namespace">Adding the Namespace</h3><pre><code>xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
</code></pre><h3 id="registering-the-component">Registering the Component</h3><p>Go to your <strong>MauiProgram.cs</strong> file and, inside the CreateMauiApp method, register the Telerik controls using the <strong>UseTelerik()</strong> extension method.</p><pre class=" language-csharp"><code class="prism  language-csharp">using Telerik.Maui.Controls.Compatibility;
public static class MauiProgram
{

    public static MauiApp CreateMauiApp()
    {
    var builder = MauiApp.CreateBuilder();
    builder
    .UseTelerik()
    .UseMauiApp&lt;App&gt;()
    .ConfigureFonts(fonts =&gt;
    {
    fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
    });
    return builder.Build();
    
    }
}
</code></pre><h3 id="how-to-use-it">How to Use It?</h3><p>Using it is very simple. You just have to add a tag like the following:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;telerik:RadSkeleton x:Name="skeleton"/&gt;
</code></pre><h3 id="skeleton-types-in-the-telerik-ui-for-.net-maui-library">Skeleton Types in the Telerik UI for .NET MAUI Library</h3><p>Typically, when creating a skeleton, you need to build the structure from scratch. However, the Telerik UI for .NET MAUI Skeleton component comes with predefined structures (anatomies), which helps you save both time and code. (Honestly, this is gold. A huge win!)</p><p>This control offers several built-in structures that you can use to represent different types of content:</p><p>➖ <strong>Article:</strong> Displays a layout with a small image placeholder on the left and multiple text lines on the right, simulating a title and description.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/01_article_skeleton_type.png?sfvrsn=62c04b72_2" alt="Article skeleton sample" /></p><p>➖ <strong>Text:</strong> A simple text structure composed of multiple lines, typically used to represent titles and paragraphs.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/02_text_skeleton_type.png?sfvrsn=844034a1_2" alt="Text skeleton sample" /></p><p>➖ <strong>PersonalCircle:</strong> Shows a circular avatar placeholder with text lines next to it, commonly used for user profiles or list items with avatars.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/03_personalcircle_skeleton_type.png?sfvrsn=72d71c48_2" alt="Personal circle skeleton sample" /></p><p>➖ <strong>PersonaSquare:</strong> Similar to PersonaCircle, but uses a square (with rounded corners) instead of a circular avatar.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/04_personasquare_skeleton_type.png?sfvrsn=7d7748ae_2" alt="Personal square skeleton sample" /></p><p>➖ <strong>Image:</strong> Represents a large media placeholder with a single text line below, ideal for image-focused layouts.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/05_image_skeleton_type.png?sfvrsn=2bd148cc_2" alt="Personal square skeleton sample" /></p><p>➖ <strong>Video:</strong> Simulates a video layout with a small avatar and text at the top, followed by a large media area and additional text lines below.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/06_video_skeleton_type.png?sfvrsn=dae0aadc_2" alt="Video skeleton sample" /></p><p>➖ <strong>Card:</strong> Displays a card-style layout with a title at the top, a large image placeholder and text lines at the bottom.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/07_card_skeleton_type.png?sfvrsn=5d4d50e4_2" alt="Card skeleton sample" /></p><p>➖ <strong>ContentFeed:</strong> Mimics a feed-style layout with a header (avatar + one line), a large content block and text lines below, similar to social media posts.</p><p><img src="https://www.telerik.com/sfimages/default-source/blogs/2026/2026-08/08_contentfeed_skeleton_type.png?sfvrsn=222eb4d7_2" alt="Content feed sample" /><br /><span style="font-size:11px;">The images of the Skeleton types were generated using AI for better understanding</span></p><p>To use any of these types, you just need to use the SkeletonType property as shown below:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;telerik:RadSkeleton SkeletonType="Article" /&gt;
</code></pre><h2 id="-custom-skeleton-view"> Custom Skeleton View</h2><p>But &hellip; what if you want to create your own skeleton anatomy? </p><p>You can do that too!  Although the predefined types help you save time and effort, they don&rsquo;t always fit your design. That&rsquo;s why Progress Telerik allows you to create a fully custom one.</p><p>The idea is very simple: you define your own layout (just like your real UI, but without data) and assign it to the <strong>RadSkeleton</strong> using the LoadingViewTemplate property.</p><h3 id="️-implementation">️ Implementation</h3><p>First, define your RadSkeleton and assign a custom template to it:</p><pre class=" language-xml"><code class="prism  language-xml">    &lt;telerik:RadSkeleton LoadingViewTemplate="{StaticResource CustomSkeletonView}"  
    Grid.Row="1" 
    x:Name="skeleton"&gt; 
    
    &lt;!-- Your real content goes here --&gt;
    
    &lt;/telerik:RadSkeleton&gt;
</code></pre><p>Then, create the DataTemplate that will represent your skeleton:</p><pre class=" language-xml"><code class="prism  language-xml">&lt;DataTemplate x:Key="CustomSkeletonView"&gt;
&lt;Grid RowDefinitions="40, 100, 200"
RowSpacing="10"
Padding="10"&gt;

    &lt;HorizontalStackLayout Spacing="10"&gt;
    &lt;BoxView WidthRequest="40" HeightRequest="40" CornerRadius="20"/&gt;
    &lt;BoxView WidthRequest="40" HeightRequest="40" CornerRadius="20"/&gt;
    &lt;BoxView WidthRequest="40" HeightRequest="40" CornerRadius="20"/&gt;
    &lt;BoxView WidthRequest="40" HeightRequest="40" CornerRadius="20"/&gt;
    &lt;/HorizontalStackLayout&gt;
    &lt;BoxView WidthRequest="200"
    HeightRequest="100"
    HorizontalOptions="Start"
    Grid.Row="1"
    CornerRadius="12"/&gt;
    
    &lt;Grid Grid.Row="2"
    ColumnDefinitions="40, *"
    ColumnSpacing="10"&gt;
    &lt;BoxView HeightRequest="40"
    WidthRequest="40"
    CornerRadius="20"
    Grid.Column="0"/&gt;
    
    &lt;VerticalStackLayout Spacing="10" Grid.Column="1"&gt;
    &lt;BoxView HeightRequest="20" WidthRequest="120" CornerRadius="6"/&gt;
    &lt;BoxView HeightRequest="20" WidthRequest="180" CornerRadius="6"/&gt;
    &lt;/VerticalStackLayout&gt;
    &lt;/Grid&gt;
&lt;/Grid&gt;
&lt;/DataTemplate&gt;
</code></pre><p>Done!!! We made it!  Did you like it?</p><h2 id="conclusion">Conclusion</h2><p>I hope this article helped you understand what a skeleton is and how it can improve the user experience in your .NET MAUI applications. </p><p>From understanding when to use it, to exploring the different types provided by Progress Telerik and finally implementing it in your UI, you&rsquo;re now ready to apply this knowledge in your own apps. I invite you to explore more about the Telerik Skeleton for .NET MAUI in the following articles:</p><ul><li><a href="https://www.telerik.com/maui-ui/skeleton">https://www.telerik.com/maui-ui/skeleton</a></li><li><a href="https://www.telerik.com/maui-ui/documentation/controls/skeleton/overview">https://www.telerik.com/maui-ui/documentation/controls/skeleton/overview</a></li></ul><p>If you have any questions or would like me to dive deeper into a specific part, feel free to leave a comment, I&rsquo;ll be happy to help!</p><p>See you in the next article! &zwj;♀️</p><h3>Ready to Try Telerik UI for .NET MAUI?</h3><p>Give the Skeleton component plus <a target="_blank" href="https://www.telerik.com/maui-ui">70 other .NET MAUI components</a> a try, free for 30 days.</p><p><a href="https://www.telerik.com/try/ui-for-maui" target="_blank" class="Btn">Try Telerik UI for .NET MAUI</a></p>]]></content>
  </entry>
</feed>
