Bifrost.XAML 1.0.2

Extension methods:
DependencyObject.GetAncestors<T>() - finds all children of a specific type
DependencyObject.GetParent<T>() - finds the first parent of a specific type

Converters:
CountToVisibilityConverter - converts the count of an enumerable property to Visibility

DateTimeToDateTimeOffsetConverter - converts a DateTime object to a DateTimeOffset object which can be bound to a DatePicker

DateTimeToStringConverter - converts a DateTime object to string with the optional format string

DateTimeToTimeSpanConverter - converts a DateTime object to a TimeSpan object that can be bound to TimePicker

StringToVisibilityConverter - converts a string to a Visibility value based on the result of string.IsNullOrEmpty()

Install-Package Bifrost.XAML -Version 1.0.2
dotnet add package Bifrost.XAML --version 1.0.2
<PackageReference Include="Bifrost.XAML" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bifrost.XAML --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.0.2 586 6/23/2015
1.0.1 291 6/14/2015
1.0.0 290 6/14/2015