p1eXu5.Wpf.DigitPanel 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package p1eXu5.Wpf.DigitPanel --version 1.0.1                
NuGet\Install-Package p1eXu5.Wpf.DigitPanel -Version 1.0.1                
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="p1eXu5.Wpf.DigitPanel" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add p1eXu5.Wpf.DigitPanel --version 1.0.1                
#r "nuget: p1eXu5.Wpf.DigitPanel, 1.0.1"                
#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 p1eXu5.Wpf.DigitPanel as a Cake Addin
#addin nuget:?package=p1eXu5.Wpf.DigitPanel&version=1.0.1

// Install p1eXu5.Wpf.DigitPanel as a Cake Tool
#tool nuget:?package=p1eXu5.Wpf.DigitPanel&version=1.0.1                

p1eXu5.Wpf.DigitPanel

Usage:

<Application x:Class="YourApp"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:digitPanel="clr-namespace:p1eXu5.Wpf.DigitPanel;assembly=p1eXu5.Wpf.DigitPanel"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <digitPanel:DigitPanelTheme />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
<Window ...
             xmlns:digitPanel="clr-namespace:p1eXu5.Wpf.DigitPanel;assembly=p1eXu5.Wpf.DigitPanel"
             ...
             Background="{DynamicResource {x:Static digitPanel:DigitPanelColors.DigitPanelBackgroundKey}}"
             >
             
  <digitPanel:Digit DockPanel.Dock="Left" Foreground="#FF0000" Background="#BBBBBB" IsDotOn="True" DotVisibility="Collapsed" Width="160" Mask="0"/>

  <digitPanel:DigitTable Grid.Column="0" 
                         DigitWidth="140"
                         Value="0"
                         Height="500" 
                         Width="800"
                         Format="##0.00"
                         />

  <digitPanel:TimerTable Grid.Column="0" 
                         DigitWidth="45"
                         Value="12:12:12"
                         Height="100" 
                         Width="300"/>

<br/>

Digit Properties

Property Type Description
Mask string Determines which digit segments are lit. "0" - all digits are off, "1" - all digits are on. "0100101" - top-left, top-middle, top-right, middle, bottom-left, bottom-middle, bottom-right.
ActiveRadius double Booster-light. Active digit segment shaddow radius.
InactiveRadius double Booster-light. Inactive digit segment shaddow radius.
IsDotOn bool If true then dot is lit.
DotVisibility Visibility Dot visibility property.
IsColonOn bool If true then colon is lit.
ColonVisibility Visibility Colon visibility property.

<br/>

DigitTableBase Properties

Property Type Description
Foreground Brush Active digit segments color.
DigitBackground Brush Inactive digit segments color.
Background Brush Digit table background.
DigitWidth double Size of digit.

<br/>

DigitTable Properties (inherit DigitTableBase properties)

Property Type Description
Value double? Value showing on digit table.
Format string Value format. For example: "##0.00"

<br/>

TimerTable Properties (inherit DigitTableBase properties)

Property Type Description
Value TimeSpan Value showing on digit table.
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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
1.0.2 199 8/18/2024
1.0.1 341 2/26/2023