## Hello World
Lorem Ipsum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Removes the borders from the entry control | |
EntryHandler.RemoveBorders(); | |
// Sets the cursor color of the entry control. Default color is #CCCCCC | |
EntryHandler.SetFieldCursorColor(Color.FromArgb("#000000")) | |
// Adds a DONE button to the keyboard and sets toolbar background. Default color is #FFFFFF | |
EntryHandler.AddDone(Color.FromArgb("#000000")); | |
EditorHandler.AddDone(null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string GetArticlesForLLMS() | |
{ | |
StringBuilder sb = new StringBuilder(); | |
List<TreeNode> result; | |
result = pageRetriever.RetrieveMultiple(query => query | |
.WithPageUrlPaths() | |
.Published() | |
.Types("Article") | |
.WithCoupledColumns() | |
.OrderByDescending("DocumentCreatedWhen")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Demo.Views.Controls; | |
public class TabBarEventArgs : EventArgs | |
{ | |
public PageType CurrentPage { get; private set; } | |
public TabBarEventArgs(PageType currentPage) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Demo.Views.Controls; | |
public partial class TabBarLayer : Grid | |
{ | |
public static readonly BindableProperty ColorProperty = | |
BindableProperty.Create(nameof(Color), typeof(Color), typeof(TabBarLayer), Colors.Black, BindingMode.OneWay); | |
public Color Color |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Grid | |
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:simpleCore="clr-namespace:SimpleToolkit.Core;assembly=SimpleToolkit.Core" | |
x:Class="Demo.Views.Controls.TabBarLayer" | |
ColumnDefinitions="*, *, *"> | |
<Grid.Resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Maui.Controls.Shapes; | |
namespace Demo.Views.Controls; | |
public partial class TabBarView : ContentView | |
{ | |
private const string AnimationKey = "Animation"; | |
private const uint AnimationLength = 300; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentView | |
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:controls="clr-namespace:Demo.Views.Controls" | |
x:Class="Demo.Views.Controls.TabBarView"> | |
<ContentView.Resources> | |
<x:Double x:Key="ViewHeight">80</x:Double> |