TigerSan.UI
0.4.9
This version is not fully functional!
See the version list below for details.
dotnet add package TigerSan.UI --version 0.4.9
NuGet\Install-Package TigerSan.UI -Version 0.4.9
<PackageReference Include="TigerSan.UI" Version="0.4.9" />
<PackageVersion Include="TigerSan.UI" Version="0.4.9" />
<PackageReference Include="TigerSan.UI" />
paket add TigerSan.UI --version 0.4.9
#r "nuget: TigerSan.UI, 0.4.9"
#:package TigerSan.UI@0.4.9
#addin nuget:?package=TigerSan.UI&version=0.4.9
#tool nuget:?package=TigerSan.UI&version=0.4.9
1. Description:
A WPF UI library, containing many controls, windows, panels, and animations.
2. About:
Source Code & Example:
C#: https://pan.quark.cn/s/c1db1a17692c
Personal Homepage:
bilibili: https://space.bilibili.com/34323512
3. How To Use:
Before use, you need to reference "Generic.xaml" in "App.xaml".
<ResourceDictionary Source="pack://application:,,,/TigerSan.UI;component/Generic.xaml" />
4. Classification:
Animations:
DoubleAnimations:
FadeIn
:
FadeOut
:
Rotate
:
ColorAnimations:
Gradient
:
Attributes:
TableAttribute:
TableHeaderAttribute:
Behaviors:
MouseDragBehavior:
Controls:
TableGrid:
This table control supports functions such as data editing,
turning the background red when checking errors,
and turning the background yellow after modification.
Members:
TableModel
:
IsVerifyOK
:
Refresh
:
UpdateOldRowDatas
:
How to use:
- Define "Model":
[Table(Name = "EmployeeInfo")]
public class EmployeeInfo
{
[TableHeader(
Title = "Id",
IsReadOnly = true,
IsAllowResize = false,
TextAlignment = TextAlignment.Center)]
public int Id { get; set; }
...
}
- Create a List and add data:
public TableModel EmployeeTable { get; set; } = new TableModel(typeof(EmployeeInfo));
private void InitTable()
{
// Set header:
var headerName = EmployeeTable.GetHeade(nameof(EmployeeInfo.Name));
if (headerName == null) return;
headerName.Verification = VerificationsIsNotNullOrEmpty;
...
// Add data:
var RowDatas = new ObservableCollection<object>
{
new EmployeeInfo() { Id = 1, Name = "ZhangSan", Age = 18, Gender = false, Salary = 8000, JoinDate = DateTime.Now },
...
};
EmployeeTable.RowDatas = RowDatas;
}
- Data binding:
<controls:TableGrid TableModel="{Binding EmployeeTable}"/>
ImageButton:
PixelDot:
Loading:
Switch:
ToolBarButton:
Converters:
Bool2ResizeModeConverter:
Bool2StringConverter:
Bool2VisibilityConverter:
DateTime2StringConverter:
Double2StringConverter:
Int2StringConverter:
SortMode2VisibilityConverter:
Helpers:
GridHelper:
SetColumnSpan
:
SetRowColumn
:
MsgBox:
GetDialog
:
ShowDialog
:
ShowDialogAsync
:
ShowInformation
:
ShowSuccess
:
ShowWarning
:
ShowError
:
TypeHelper:
GetProp
:
DeepCopyList
:
DeepCopyObject
:
SystemHelper:
WINDOWPOS
:
SWP_NOSIZE
:
GetDpiScale
:
WndProc_NoResize
:
Models:
DragData:
DragEvent
:
DragData
:
TableModels:
HandelState
:
ItemState
:
ItemType
:
SortMode
:
ItemModelBase
:
HeaderModel
:
ItemModel
:
TableModel
:
Verifications:
Panels:
HorizontalAveragePanel:
VerticalAveragePanel:
Styles:
Global:
Colors, Constant.
ButtonStyle:
ButtonStyle
: Global ButtonStyle.
ScreenSaverButtonStyle
:
FileSelectorButtonStyle
:
LableButtonStyle
:
CheckBoxStyle:
CheckBoxStyle
: Global CheckBoxStyle.
ContextMenuStyle:
ContextMenuStyle
: Global ContextMenuStyle.
ItemContainerStyle:
MenuScrollButton
:
ItemContainerStyle
:
MenuItemStyle:
MenuItemStyle
:
RadioButtonStyle:
RadioButtonStyle
: Global RadioButtonStyle.
ScrollViewerStyle:
ScrollViewerStyle
:
ScrollViewerStyle
: Global ScrollViewerStyle.
SquareButtonStyle:
SquareButtonStyle
:
TabItemStyle:
TabControlStyle
: Global TabControlStyle.
TabItemStyle
: Global TabItemStyle.
TextBlockStyle:
TitleTextBlockStyle
:
ContentTextBlockStyle
:
PropNameTextBlockStyle
:
PropValueTextBlockStyle
:
UrlTextBlockStyle
:
TextBoxStyle:
NoBorderTextBoxStyle
:
CustomTextBoxTemplate
:
CustomTextBoxStyle
:
TextBoxStyle
: Global TextBoxStyle.
Windows:
ByeWindow:
CustomWindow:
CustomWindowChrome
:
NoResizeWindowChrome
:
CustomWindowStyle
:
CardStyle
:
DialogWindow:
PopWindow:
PopWindowStyle
:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- Prism.Unity (>= 9.0.537)
- TigerSan.CsvLog (>= 1.2.0)
- TigerSan.IconOperation (>= 1.0.1)
- TigerSan.JsonConverter (>= 1.0.1)
- TigerSan.PathOperation (>= 1.1.5)
- TigerSan.TimerHelper.WPF (>= 1.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.5.1 | 33 | 9/27/2025 |