Saxonite 1.2.11.3. Sandtrap.

This commit is contained in:
Andy Howard
2024-04-24 17:18:05 +01:00
parent 496aaeee0b
commit 7748941680
104 changed files with 5615 additions and 177 deletions
+52
View File
@@ -0,0 +1,52 @@
using Sarand.Net.Mobile.Maui.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.Net.Mobile.Maui.Panels
{
//=======================================================================
public class SamTabPanel : SamPanel
{
//-------------------------------------------------------------------
// Definitions.
//-------------------------------------------------------------------
// Data members.
//-------------------------------------------------------------------
// Construction.
public SamTabPanel(String caption, SamContentView panel)
{
Caption = caption;
// This panel includes border layout around the actual tab panel content.
Padding = new Thickness(2.0);
BackgroundColor = Colors.LightSlateGray;
Content = panel;
}
//-------------------------------------------------------------------
// Properties.
public String Caption { get; }
public Thickness BorderWidth
{
get { return Padding; }
set { if (Padding == value) return; Padding = value; }
}
public Color BorderColor
{
get { return BackgroundColor; }
set { if (BackgroundColor == value) return; BackgroundColor = value; }
}
//-------------------------------------------------------------------
// T a b P a n e l s
//-------------------------------------------------------------------
//-------------------------------------------------------------------
}
//=======================================================================
}