Skip to content

Commit

Permalink
Add XML documentation to NullToTransparentConverter class
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Dec 21, 2024
1 parent f9fa964 commit 94576a9
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@

namespace CommunityToolkit.WinUI.Controls;

/// <summary>
/// Value converter that converts null values to Transparent.
/// </summary>
public partial class NullToTransparentConverter : IValueConverter
{
/// <inheritdoc/>
public object Convert(object value, Type targetType, object parameter, string language) => value;


/// <inheritdoc/>
public object ConvertBack(object? value, Type targetType, object parameter, string language) => value ??
#if WINUI2
Windows.UI.Colors.Transparent;
Expand Down

0 comments on commit 94576a9

Please sign in to comment.