Saxonite 1.2.11.3. Sandtrap.
This commit is contained in:
@@ -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
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
Reference in New Issue
Block a user