TimelinerNet 0.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package TimelinerNet --version 0.1.2                
NuGet\Install-Package TimelinerNet -Version 0.1.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TimelinerNet" Version="0.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TimelinerNet --version 0.1.2                
#r "nuget: TimelinerNet, 0.1.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TimelinerNet as a Cake Addin
#addin nuget:?package=TimelinerNet&version=0.1.2

// Install TimelinerNet as a Cake Tool
#tool nuget:?package=TimelinerNet&version=0.1.2                

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 the Now 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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.

Version Downloads Last updated
0.1.6 193 12/14/2023
0.1.5 138 12/4/2023
0.1.4 152 11/7/2023
0.1.3 118 11/7/2023
0.1.2 140 10/23/2023
0.1.1 192 8/15/2023
0.1.0 174 8/14/2023

Add more frameworks