From 3d83cd02e2edab8911d6befaa4138a9a7a3bc320 Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Thu, 27 Mar 2025 00:28:09 +0800
Subject: [PATCH] feat: inherit BaseTabControl.
---
src/Semi.Avalonia/Controls/TabControl.axaml | 187 ++++++--------------
1 file changed, 51 insertions(+), 136 deletions(-)
diff --git a/src/Semi.Avalonia/Controls/TabControl.axaml b/src/Semi.Avalonia/Controls/TabControl.axaml
index 360823a..e642faf 100644
--- a/src/Semi.Avalonia/Controls/TabControl.axaml
+++ b/src/Semi.Avalonia/Controls/TabControl.axaml
@@ -35,9 +35,7 @@
-
+
-
-
+
+
+
+
+
+
+
@@ -87,25 +96,12 @@
BasedOn="{StaticResource BaseTabControl}"
TargetType="TabControl">
-
-
-
-
-
+
@@ -118,9 +114,7 @@
CornerRadius="{TemplateBinding CornerRadius}">
-
+
@@ -136,31 +130,6 @@
-
-
-
-
-
-
-
+
@@ -198,9 +168,7 @@
Name="PART_ItemsPresenter"
ItemsPanel="{TemplateBinding ItemsPanel}" />
-
+
+
+
+
+
+
+
+
-
@@ -268,32 +246,13 @@
BasedOn="{StaticResource BaseScrollTabControl}"
TargetType="TabControl">
-
-
-
-
-
-
+
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-