TimelinerNet 0.1.6
dotnet add package TimelinerNet --version 0.1.6
NuGet\Install-Package TimelinerNet -Version 0.1.6
<PackageReference Include="TimelinerNet" Version="0.1.6" />
paket add TimelinerNet --version 0.1.6
#r "nuget: TimelinerNet, 0.1.6"
// Install TimelinerNet as a Cake Addin #addin nuget:?package=TimelinerNet&version=0.1.6 // Install TimelinerNet as a Cake Tool #tool nuget:?package=TimelinerNet&version=0.1.6
About Timeliner
Interactive control for visualizing the schedule
The GUI element is designed for WPF .NET applications. Allows the developer to show tasks grouped in a timeline. An element can include multiple Items within which multiple Jobs can be included. Jobs must not overlap. The control is under development.
Some features:
- Open source
- When the work is small - a sign is shown
- Scroll up and down elements
- Scroll left and right in time
- Mouse and bind controls
- Does not use third party libraries
Installation
dotnet add package TimelinerNet
Usage
It has the data structure shown below. Arrange your data in these structures:
TimelinerData
List<TimelinerItem> Items
string Name
string Description
List<TimelinerJob> Jobs
string Name
string TextUp
string TextDown
string TextRight
Brush Color
bool IsStripedColor
DateTime Begin
DateTime End
To use it, you need to insert a XAML element.
Data
- TimelinerData | Restriction for setting by the user. Less than this value, the user will not be able to set.Now
- DateTime | At this time, a red marker will be shown.LeftEdge
- DateTime | Left border of screen time.RightEdge
- DateTime | Right border of screen time.TrackNow
- bool | When changed theNow
parameter, the time bar will follow it.
<tl:Timeliner Data="{Binding Data}"/>
Don't forget to add the library to the list:
<Window x:Class="Example.MainWindow"
...
xmlns:tl="clr-namespace:TimelinerNet;assembly=TimelinerNet"
...
In addition. Clicking on a Job shows a Popup with additional information. To change the view of this window, use the DataTemplatePopup property.
<tl:Timeliner Data="{Binding Data}">
<tl:Timeliner.DataTemplatePopup>
<DataTemplate>
<StackPanel>
<TextBlock Text="{Binding Name}"/>
<TextBlock Text="{Binding CustomObject.CustomString}" TextWrapping="Wrap"/>
<TextBlock Text="{Binding Begin, StringFormat={}{0:dd.MM.yyyy HH:mm}}"/>
</StackPanel>
</DataTemplate>
</tl:Timeliner.DataTemplatePopup>
</tl:Timeliner>
License
Distributed under the MIT License. See LICENSE
for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
.NET Framework | net472 is compatible. net48 is compatible. net481 was computed. |
-
.NETFramework 4.7.2
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Add description tooltip on threads